Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001139/0.001139, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001438/0.001438, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 68.2 kB / 0.505 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1999, allocations: 80.92 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.6043/0.8043, allocations: 154.5 MB / 0.7349 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03297/0.8373, allocations: 21.48 MB / 0.7559 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.8409, allocations: 45.97 kB / 0.7559 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.8431, allocations: 1.132 MB / 0.757 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.8453, allocations: 0.8255 MB / 0.7579 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.847, allocations: 383.6 kB / 0.7582 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002015/0.849, allocations: 1.263 MB / 0.7594 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.8502, allocations: 0.6879 MB / 0.7601 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.8513, allocations: 0.5529 MB / 0.7607 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.8528, allocations: 0.9566 MB / 0.7616 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.853, allocations: 68 kB / 0.7617 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.8535, allocations: 108 kB / 0.7618 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.8538, allocations: 328.8 kB / 0.7621 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006618/0.8545, allocations: 0.489 MB / 0.7626 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.8561, allocations: 1.176 MB / 0.7637 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.8561, allocations: 0 / 0.7637 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.015e-06/0.8561, allocations: 0 / 0.7637 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.753e-05/0.8562, allocations: 3.938 kB / 0.7637 GB, free: 5.148 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.002912/0.8591, allocations: 1.478 MB / 0.7651 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.8592, allocations: 8.031 kB / 0.7652 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.8593, allocations: 86.7 kB / 0.7652 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.8596, allocations: 135.2 kB / 0.7654 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.8606, allocations: 0.6547 MB / 0.766 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.8607, allocations: 74.69 kB / 0.7661 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.8609, allocations: 51.91 kB / 0.7661 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.862, allocations: 0.5184 MB / 0.7666 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.8621, allocations: 3.938 kB / 0.7666 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.8621, allocations: 19.94 kB / 0.7667 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.8621, allocations: 8 kB / 0.7667 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009564/0.8631, allocations: 423.7 kB / 0.7671 GB, free: 1.574 MB / 0.5762 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.004298/0.8674, allocations: 2.728 MB / 0.7697 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009666/0.8684, allocations: 452.3 kB / 0.7702 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/0.8691, allocations: 305.3 kB / 0.7705 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.8691, allocations: 4.656 kB / 0.7705 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/0.8697, allocations: 283.4 kB / 0.7707 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 3.356e-06/0.8697, allocations: 0 / 0.7707 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.002684/0.8724, allocations: 1.15 MB / 0.7719 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.8725, allocations: 59.41 kB / 0.7719 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.8746, allocations: 1.76 MB / 0.7736 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/0.8747, allocations: 37.7 kB / 0.7737 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.8752, allocations: 0.5288 MB / 0.7742 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.8754, allocations: 134.1 kB / 0.7743 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.8756, allocations: 106.2 kB / 0.7744 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8757, allocations: 329.9 kB / 0.7747 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.8762, allocations: 220.9 kB / 0.7749 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.8767, allocations: 335.2 kB / 0.7753 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009183/0.8777, allocations: 0.5088 MB / 0.7758 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.8777, allocations: 4 kB / 0.7758 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001677/0.8794, allocations: 0.8089 MB / 0.7765 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.8794, allocations: 6.188 kB / 0.7766 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.8794, allocations: 4.219 kB / 0.7766 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/0.8799, allocations: 137.7 kB / 0.7767 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.8803, allocations: 111.8 kB / 0.7768 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.8833, allocations: 2.598 MB / 0.7793 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.8839, allocations: 83.39 kB / 0.7794 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.8839, allocations: 24.05 kB / 0.7794 GB, free: 4.32 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.0005939/0.8845, allocations: 391.3 kB / 0.7798 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.8847, allocations: 126.4 kB / 0.7799 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.885, allocations: 135.7 kB / 0.7801 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.8851, allocations: 4 kB / 0.7801 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.8851, allocations: 7.938 kB / 0.7801 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.8851, allocations: 3.984 kB / 0.7801 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.8877, allocations: 1.495 MB / 0.7815 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8877, allocations: 0 / 0.7815 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.8879, allocations: 47.91 kB / 0.7816 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/0.8883, allocations: 161.6 kB / 0.7817 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.8884, allocations: 15.92 kB / 0.7817 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/0.8923, allocations: 4.029 MB / 0.7857 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8923, allocations: 3.938 kB / 0.7857 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.8942, allocations: 0.9833 MB / 0.7866 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.8945, allocations: 219.5 kB / 0.7869 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.8946, allocations: 12 kB / 0.7869 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.895, allocations: 43.86 kB / 0.7869 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.8952, allocations: 55.86 kB / 0.787 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.8952, allocations: 12 kB / 0.787 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001481/0.8967, allocations: 1.289 MB / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8967, allocations: 0 / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008631/0.8976, allocations: 199.7 kB / 0.7884 GB, free: 10.71 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.003473/0.901, allocations: 1.9 MB / 0.7903 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.9027, allocations: 0.7009 MB / 0.791 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9027, allocations: 0 / 0.791 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008887/0.9036, allocations: 0.5287 MB / 0.7915 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.9047, allocations: 198.5 kB / 0.7917 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.9199, allocations: 9.324 MB / 0.8008 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.9215, allocations: 1.149 MB / 0.8019 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005389/0.922, allocations: 100.7 kB / 0.802 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.9228, allocations: 403.3 kB / 0.8024 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of SimCode: time 1.553e-06/0.9228, allocations: 0 / 0.8024 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.9691, allocations: 20.16 MB / 0.8221 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.9694, allocations: 273.8 kB / 0.8223 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/3.265, allocations: 0 / 0.8223 GB, free: 7.91 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)