Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00821/0.008209, allocations: 101.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 186.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7715/0.7715, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.98 kB / 0.5809 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1521, allocations: 80.21 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1674/0.3196, allocations: 157.2 MB / 0.8127 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4149/0.7345, allocations: 21.96 MB / 0.8342 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.7372, allocations: 55.59 kB / 0.8342 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.7406, allocations: 2.159 MB / 0.8364 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.7439, allocations: 1.434 MB / 0.8378 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.7461, allocations: 0.5872 MB / 0.8383 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003046/0.7492, allocations: 1.825 MB / 0.8401 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.7513, allocations: 1.085 MB / 0.8412 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.7532, allocations: 0.8852 MB / 0.842 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.7553, allocations: 1.535 MB / 0.8435 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.7555, allocations: 92.5 kB / 0.8436 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.7559, allocations: 136.8 kB / 0.8438 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.7563, allocations: 0.5294 MB / 0.8443 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000643/0.7569, allocations: 0.7728 MB / 0.845 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.7584, allocations: 1.85 MB / 0.8468 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7584, allocations: 0.75 kB / 0.8468 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7584, allocations: 0 / 0.8468 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.582e-05/0.7584, allocations: 0.6875 kB / 0.8468 GB, free: 2.285 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002759/0.7612, allocations: 2.28 MB / 0.8491 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.7612, allocations: 10.47 kB / 0.8491 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.7614, allocations: 106.7 kB / 0.8492 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.7616, allocations: 230.1 kB / 0.8494 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.7626, allocations: 1.017 MB / 0.8504 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.7627, allocations: 85.12 kB / 0.8505 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/0.7628, allocations: 71.58 kB / 0.8505 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.7639, allocations: 0.7295 MB / 0.8512 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.764, allocations: 1.062 kB / 0.8512 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.764, allocations: 23.62 kB / 0.8513 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.764, allocations: 13.56 kB / 0.8513 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.765, allocations: 0.6006 MB / 0.8519 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.7693, allocations: 3.503 MB / 0.8553 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.7707, allocations: 0.7132 MB / 0.856 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00067/0.7714, allocations: 408.1 kB / 0.8564 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.7715, allocations: 13.36 kB / 0.8564 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006878/0.7722, allocations: 431.7 kB / 0.8568 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/0.7722, allocations: 1.062 kB / 0.8568 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.003898/0.7761, allocations: 1.796 MB / 0.8586 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.7761, allocations: 59.84 kB / 0.8586 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.779, allocations: 3.311 MB / 0.8618 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.7791, allocations: 47.78 kB / 0.8619 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005942/0.7797, allocations: 0.8836 MB / 0.8628 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.7799, allocations: 228.8 kB / 0.863 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.7802, allocations: 127.5 kB / 0.8631 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7803, allocations: 342.9 kB / 0.8634 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.7809, allocations: 305.8 kB / 0.8637 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.7816, allocations: 434.3 kB / 0.8641 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7827, allocations: 0.7187 MB / 0.8648 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7827, allocations: 2.719 kB / 0.8648 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001975/0.7847, allocations: 1.208 MB / 0.866 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7847, allocations: 7.562 kB / 0.866 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7847, allocations: 2.281 kB / 0.866 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/0.7854, allocations: 265.4 kB / 0.8663 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.7858, allocations: 130.1 kB / 0.8664 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.7904, allocations: 4.756 MB / 0.871 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.791, allocations: 92.8 kB / 0.8711 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.7911, allocations: 30.62 kB / 0.8712 GB, free: 9.902 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007953/0.7919, allocations: 0.6022 MB / 0.8717 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.7921, allocations: 208.6 kB / 0.8719 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.7925, allocations: 249.3 kB / 0.8722 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.7925, allocations: 9.438 kB / 0.8722 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.7925, allocations: 6.781 kB / 0.8722 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.7925, allocations: 7.359 kB / 0.8722 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.7957, allocations: 2.333 MB / 0.8745 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7957, allocations: 4.281 kB / 0.8745 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.796, allocations: 64.23 kB / 0.8745 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.7966, allocations: 251.9 kB / 0.8748 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.7966, allocations: 18.84 kB / 0.8748 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00433/0.801, allocations: 4.762 MB / 0.8795 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.801, allocations: 0 / 0.8795 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.8036, allocations: 1.573 MB / 0.881 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.804, allocations: 313.4 kB / 0.8813 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.8041, allocations: 23.2 kB / 0.8813 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.8045, allocations: 37.22 kB / 0.8813 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.8047, allocations: 71.31 kB / 0.8814 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/0.8048, allocations: 24.16 kB / 0.8814 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002537/0.8073, allocations: 2.426 MB / 0.8838 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8073, allocations: 0.9375 kB / 0.8838 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009025/0.8082, allocations: 290.3 kB / 0.8841 GB, free: 4.258 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003738/0.812, allocations: 2.508 MB / 0.8865 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.814, allocations: 1.06 MB / 0.8876 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.814, allocations: 0.5625 kB / 0.8876 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.815, allocations: 0.6852 MB / 0.8882 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.8163, allocations: 283.9 kB / 0.8885 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/0.8347, allocations: 13.72 MB / 0.9019 GB, free: 6.148 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.8361, allocations: 1.529 MB / 0.9034 GB, free: 4.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006598/0.8367, allocations: 150.4 kB / 0.9035 GB, free: 4.438 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/0.8377, allocations: 0.7023 MB / 0.9042 GB, free: 3.734 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/0.8377, allocations: 4 kB / 0.9042 GB, free: 3.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06916/0.9069, allocations: 32.95 MB / 0.9364 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.02, allocations: 14.73 kB / 0.9364 GB, free: 3.211 MB / 0.7012 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)