Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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: translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.001622/0.001623, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7706/0.7706, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 57.97 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1502, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9): time 0.5615/0.7118, allocations: 158 MB / 0.8146 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02874/0.7405, allocations: 22.32 MB / 0.8364 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.7437, allocations: 64.59 kB / 0.8365 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.7474, allocations: 3.206 MB / 0.8396 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.7507, allocations: 2.016 MB / 0.8416 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.753, allocations: 0.7669 MB / 0.8423 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003654/0.7567, allocations: 2.495 MB / 0.8448 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.7593, allocations: 1.447 MB / 0.8462 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.7617, allocations: 1.253 MB / 0.8474 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.7653, allocations: 2.26 MB / 0.8496 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005672/0.7659, allocations: 130.8 kB / 0.8497 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008781/0.7668, allocations: 164 kB / 0.8499 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009538/0.7678, allocations: 0.7894 MB / 0.8507 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.7694, allocations: 1.105 MB / 0.8517 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.7727, allocations: 2.619 MB / 0.8543 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.7727, allocations: 0 / 0.8543 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7728, allocations: 4 kB / 0.8543 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001045/0.7729, allocations: 0 / 0.8543 GB, free: 15.19 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006061/0.7789, allocations: 3.246 MB / 0.8575 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.779, allocations: 8.031 kB / 0.8575 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006387/0.7796, allocations: 348.7 kB / 0.8578 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.7816, allocations: 1.408 MB / 0.8592 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.7818, allocations: 103.7 kB / 0.8593 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.7819, allocations: 88 kB / 0.8594 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.7838, allocations: 1.012 MB / 0.8603 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.7838, allocations: 3.938 kB / 0.8604 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.7839, allocations: 36 kB / 0.8604 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.7839, allocations: 20 kB / 0.8604 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.7855, allocations: 0.8587 MB / 0.8612 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006521/0.7921, allocations: 4.528 MB / 0.8657 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.7941, allocations: 0.9869 MB / 0.8666 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.7951, allocations: 0.5606 MB / 0.8672 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.7952, allocations: 16.98 kB / 0.8672 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.7963, allocations: 0.5906 MB / 0.8678 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=101): time 4.789e-06/0.7963, allocations: 3.938 kB / 0.8678 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=101): time 0.005237/0.8015, allocations: 2.331 MB / 0.8701 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.8016, allocations: 60.41 kB / 0.8701 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005971/0.8076, allocations: 5.097 MB / 0.8751 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.8078, allocations: 53.7 kB / 0.8751 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.809, allocations: 1.369 MB / 0.8765 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.8093, allocations: 323.5 kB / 0.8768 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.8096, allocations: 175 kB / 0.8769 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8098, allocations: 341.9 kB / 0.8773 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009123/0.8107, allocations: 426.4 kB / 0.8777 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.8117, allocations: 0.5987 MB / 0.8783 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.8135, allocations: 1.002 MB / 0.8792 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.8135, allocations: 4 kB / 0.8792 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003211/0.8167, allocations: 1.622 MB / 0.8808 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.8168, allocations: 11.94 kB / 0.8808 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.8168, allocations: 4 kB / 0.8808 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008354/0.8176, allocations: 257.6 kB / 0.8811 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/0.8184, allocations: 191.7 kB / 0.8813 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/0.8239, allocations: 4.736 MB / 0.8859 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.8251, allocations: 135 kB / 0.886 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.8252, allocations: 36 kB / 0.8861 GB, free: 13.73 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition9,$PRE.intGai.nextTimeEvent,$whenCondition8,$PRE.reference.nextTimeEvent,$whenCondition7,$PRE.outdoorTemp.nextTimeEvent,$whenCondition6,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition4,$PRE.HSky.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,HSky.nextTimeEventScaled,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEvent,greaterThreshold2.y,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 (108): * Single equations (assignments): 106 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001359/0.8266, allocations: 0.8656 MB / 0.8869 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005195/0.8271, allocations: 311.9 kB / 0.8872 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/0.8278, allocations: 392 kB / 0.8876 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.8278, allocations: 12 kB / 0.8876 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/0.8279, allocations: 8 kB / 0.8876 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.8279, allocations: 3.984 kB / 0.8876 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/0.8337, allocations: 3.22 MB / 0.8907 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8338, allocations: 0 / 0.8907 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.8343, allocations: 111.8 kB / 0.8909 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006351/0.8349, allocations: 259.7 kB / 0.8911 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/0.835, allocations: 35.91 kB / 0.8911 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/0.8401, allocations: 4.738 MB / 0.8958 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8401, allocations: 0 / 0.8958 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.8443, allocations: 2.19 MB / 0.8979 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/0.8451, allocations: 429 kB / 0.8983 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.8454, allocations: 24.22 kB / 0.8983 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.8462, allocations: 51.94 kB / 0.8984 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.8465, allocations: 104.8 kB / 0.8985 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/0.8466, allocations: 39.95 kB / 0.8985 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004766/0.8513, allocations: 3.73 MB / 0.9022 GB, free: 12.86 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8514, allocations: 0 / 0.9022 GB, free: 12.86 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001411/0.8528, allocations: 375.3 kB / 0.9025 GB, free: 12.49 MB / 0.67 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: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001254/0.854, allocations: 0.4954 MB / 0.903 GB, free: 12.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002776/0.8568, allocations: 1.362 MB / 0.9043 GB, free: 10.82 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/0.8569, allocations: 8.625 kB / 0.9043 GB, free: 10.82 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.8584, allocations: 0.8562 MB / 0.9052 GB, free: 9.934 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.8604, allocations: 383.5 kB / 0.9055 GB, free: 9.574 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00923/0.8696, allocations: 6.035 MB / 0.9114 GB, free: 3.508 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/0.8717, allocations: 1.931 MB / 0.9133 GB, free: 1.547 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.8721, allocations: 99.41 kB / 0.9134 GB, free: 1.449 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/0.8721, allocations: 0 / 0.9134 GB, free: 1.449 MB / 0.67 GB Notification: Performance of Templates: time 0.06399/0.9361, allocations: 45.62 MB / 0.958 GB, free: 3.84 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1)