Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.TestCase3,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.00125/0.00125, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 195 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9105/0.9105, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.36 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 80.94 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.3872/0.5276, allocations: 156.7 MB / 0.7375 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02331/0.5509, allocations: 21.73 MB / 0.7587 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.5527, allocations: 49.06 kB / 0.7588 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.5542, allocations: 1.174 MB / 0.7599 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.5556, allocations: 0.8485 MB / 0.7608 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.5566, allocations: 447.5 kB / 0.7612 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.5577, allocations: 1.248 MB / 0.7624 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000741/0.5585, allocations: 0.6927 MB / 0.7631 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005712/0.5591, allocations: 0.553 MB / 0.7636 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009396/0.56, allocations: 0.9178 MB / 0.7645 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.5601, allocations: 64 kB / 0.7646 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.5604, allocations: 111.9 kB / 0.7647 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.5606, allocations: 316.7 kB / 0.765 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.561, allocations: 492.8 kB / 0.7655 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.5621, allocations: 1.176 MB / 0.7666 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5621, allocations: 3.938 kB / 0.7666 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5621, allocations: 0 / 0.7666 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.5621, allocations: 0 / 0.7666 GB, free: 2.277 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002132/0.5643, allocations: 1.486 MB / 0.7681 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5643, allocations: 8.031 kB / 0.7681 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.337e-05/0.5644, allocations: 82.72 kB / 0.7681 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.5646, allocations: 139.2 kB / 0.7683 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.5653, allocations: 0.6548 MB / 0.7689 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5655, allocations: 74.69 kB / 0.769 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.919e-05/0.5655, allocations: 51.98 kB / 0.769 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.5665, allocations: 0.5106 MB / 0.7695 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5665, allocations: 7.906 kB / 0.7695 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.5666, allocations: 16 kB / 0.7696 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5666, allocations: 8 kB / 0.7696 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/0.5674, allocations: 423.6 kB / 0.77 GB, free: 14.7 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.5706, allocations: 2.731 MB / 0.7726 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/0.5716, allocations: 447.9 kB / 0.7731 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/0.5723, allocations: 305.3 kB / 0.7734 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.5723, allocations: 8.656 kB / 0.7734 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005142/0.5728, allocations: 279 kB / 0.7736 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.144e-06/0.5729, allocations: 0 / 0.7736 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.002616/0.5755, allocations: 1.147 MB / 0.7747 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.5755, allocations: 63.41 kB / 0.7748 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.5773, allocations: 1.76 MB / 0.7765 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.5774, allocations: 33.7 kB / 0.7766 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.5778, allocations: 0.5327 MB / 0.7771 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.5779, allocations: 142 kB / 0.7772 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.578, allocations: 102.2 kB / 0.7773 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5781, allocations: 337.9 kB / 0.7776 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.5786, allocations: 209 kB / 0.7778 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.5792, allocations: 335.1 kB / 0.7782 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008983/0.5801, allocations: 0.5165 MB / 0.7787 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5801, allocations: 4 kB / 0.7787 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001512/0.5816, allocations: 0.797 MB / 0.7794 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.5816, allocations: 16.2 kB / 0.7795 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5817, allocations: 4 kB / 0.7795 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.5821, allocations: 136.7 kB / 0.7796 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.5825, allocations: 103.9 kB / 0.7797 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.5853, allocations: 2.596 MB / 0.7822 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.5857, allocations: 87.33 kB / 0.7823 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.5858, allocations: 20 kB / 0.7823 GB, free: 1.453 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004595/0.5862, allocations: 390.6 kB / 0.7827 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5864, allocations: 118.4 kB / 0.7828 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.5866, allocations: 139.7 kB / 0.7829 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5866, allocations: 4 kB / 0.7829 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/0.5866, allocations: 7.984 kB / 0.783 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.5866, allocations: 7.984 kB / 0.783 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.5889, allocations: 1.491 MB / 0.7844 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5889, allocations: 0 / 0.7844 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.5891, allocations: 51.95 kB / 0.7845 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003759/0.5895, allocations: 157.6 kB / 0.7846 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.5896, allocations: 11.98 kB / 0.7846 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/0.593, allocations: 4.04 MB / 0.7886 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.593, allocations: 3.938 kB / 0.7886 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.5947, allocations: 0.9834 MB / 0.7895 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.595, allocations: 211.6 kB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.5951, allocations: 11.98 kB / 0.7898 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.5954, allocations: 31.97 kB / 0.7898 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.5956, allocations: 63.8 kB / 0.7898 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/0.5956, allocations: 16 kB / 0.7899 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001267/0.5969, allocations: 1.285 MB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5969, allocations: 3.938 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006597/0.5976, allocations: 195.7 kB / 0.7913 GB, free: 7.863 MB / 0.6075 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.002841/0.6004, allocations: 1.894 MB / 0.7932 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.6019, allocations: 0.7012 MB / 0.7938 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6019, allocations: 3.938 kB / 0.7938 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007632/0.6026, allocations: 0.5244 MB / 0.7944 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.6036, allocations: 191.5 kB / 0.7945 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.6149, allocations: 9.075 MB / 0.8034 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.6157, allocations: 1.149 MB / 0.8045 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003433/0.616, allocations: 96.77 kB / 0.8046 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.6165, allocations: 403.3 kB / 0.805 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.6165, allocations: 4 kB / 0.805 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05011/0.6666, allocations: 20.48 MB / 0.825 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.381/10.05, allocations: 3.781 kB / 0.825 GB, free: 5.32 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)