Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009281/0.0009281, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004581, allocations: 11.94 kB / 0.507 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1968, allocations: 82.31 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5885/0.7853, allocations: 147.8 MB / 0.7317 GB, free: 2.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04112/0.8265, allocations: 25.57 MB / 0.7567 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005343/0.8319, allocations: 80.56 kB / 0.7567 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003739/0.8356, allocations: 0.9447 MB / 0.7577 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007495/0.8432, allocations: 1.61 MB / 0.7592 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005966/0.8492, allocations: 1.41 MB / 0.7606 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009699/0.8589, allocations: 5.489 MB / 0.766 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007313/0.8662, allocations: 3.363 MB / 0.7692 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003543/0.8698, allocations: 1.564 MB / 0.7708 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003827/0.8737, allocations: 2.128 MB / 0.7729 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006753/0.8744, allocations: 140 kB / 0.773 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.8768, allocations: 0.6283 MB / 0.7736 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009019/0.8777, allocations: 0.8559 MB / 0.7744 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.8789, allocations: 0.7454 MB / 0.7752 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006139/0.8851, allocations: 5.105 MB / 0.7801 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.8851, allocations: 0 / 0.7801 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8851, allocations: 0 / 0.7801 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002168/0.8853, allocations: 0 / 0.7801 GB, free: 6.871 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01257/0.8979, allocations: 4.372 MB / 0.7844 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.898, allocations: 8.031 kB / 0.7844 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.9111, allocations: 2.943 MB / 0.7873 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.917, allocations: 2.428 MB / 0.7897 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.9173, allocations: 283.5 kB / 0.7899 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007949/0.9181, allocations: 364 kB / 0.7903 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.9314, allocations: 5.747 MB / 0.7959 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-05/0.9315, allocations: 0 / 0.7959 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.9319, allocations: 156 kB / 0.796 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/0.9319, allocations: 92 kB / 0.7961 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.9481, allocations: 6.924 MB / 0.8029 GB, free: 15.35 MB / 0.6231 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.03205/0.9802, allocations: 17.41 MB / 0.8199 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008956/0.9892, allocations: 4.481 MB / 0.8243 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00559/0.9948, allocations: 3.083 MB / 0.8273 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009421/0.9958, allocations: 0.6777 MB / 0.8279 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005572/1.001, allocations: 2.717 MB / 0.8306 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 5.601e-06/1.001, allocations: 0 / 0.8306 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.0235/1.025, allocations: 9.597 MB / 0.84 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.025, allocations: 214.4 kB / 0.8402 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003841/1.029, allocations: 2.635 MB / 0.8427 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005533/1.03, allocations: 81.7 kB / 0.8428 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.031, allocations: 1.542 MB / 0.8443 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.032, allocations: 1.047 MB / 0.8454 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/1.032, allocations: 59.94 kB / 0.8454 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.033, allocations: 423.6 kB / 0.8458 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004578/1.037, allocations: 2.176 MB / 0.8479 GB, free: 56 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004932/1.042, allocations: 2.529 MB / 0.8504 GB, free: 13.45 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005069/1.047, allocations: 2.347 MB / 0.8527 GB, free: 11.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.047, allocations: 4 kB / 0.8527 GB, free: 11.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01302/1.06, allocations: 5.796 MB / 0.8584 GB, free: 5.238 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/1.06, allocations: 9.719 kB / 0.8584 GB, free: 5.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/1.06, allocations: 4 kB / 0.8584 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/1.062, allocations: 0.824 MB / 0.8592 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004011/1.066, allocations: 0.8073 MB / 0.86 GB, free: 3.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4417/1.508, allocations: 6.976 MB / 0.8668 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/1.513, allocations: 0.6011 MB / 0.8674 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007148/1.514, allocations: 120.4 kB / 0.8675 GB, free: 208.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002604/1.516, allocations: 1.035 MB / 0.8685 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000803/1.517, allocations: 302.6 kB / 0.8688 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/1.53, allocations: 6.398 MB / 0.875 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.53, allocations: 32.17 kB / 0.8751 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/1.53, allocations: 8 kB / 0.8751 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.19e-05/1.53, allocations: 16.69 kB / 0.8751 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/1.55, allocations: 10.71 MB / 0.8856 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.55, allocations: 10.05 kB / 0.8856 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003431/1.553, allocations: 0.7629 MB / 0.8863 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/1.555, allocations: 0.7347 MB / 0.887 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003223/1.555, allocations: 88.14 kB / 0.8871 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00941/1.565, allocations: 9.781 MB / 0.8967 GB, free: 196.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.565, allocations: 0 / 0.8967 GB, free: 196.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/1.586, allocations: 9.061 MB / 0.9055 GB, free: 193.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003276/1.59, allocations: 0.9387 MB / 0.9064 GB, free: 192.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/1.591, allocations: 65.53 kB / 0.9065 GB, free: 192.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004399/1.596, allocations: 453.8 kB / 0.9069 GB, free: 192.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009801/1.597, allocations: 208 kB / 0.9071 GB, free: 192.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007043/1.597, allocations: 110.9 kB / 0.9072 GB, free: 192.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005478/1.603, allocations: 1.905 MB / 0.9091 GB, free: 191.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.41e-07/1.603, allocations: 0 / 0.9091 GB, free: 191.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006463/1.609, allocations: 1.229 MB / 0.9103 GB, free: 191.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003379/1.613, allocations: 1.027 MB / 0.9113 GB, free: 191.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01579/1.629, allocations: 5.493 MB / 0.9167 GB, free: 189.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.629, allocations: 5.156 kB / 0.9167 GB, free: 189.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.009418/1.638, allocations: 3.318 MB / 0.9199 GB, free: 188.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/1.645, allocations: 0.7133 MB / 0.9206 GB, free: 188 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/1.671, allocations: 10.48 MB / 0.9308 GB, free: 182.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004434/1.675, allocations: 2.693 MB / 0.9335 GB, free: 181.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006005/1.681, allocations: 1.167 MB / 0.9346 GB, free: 181.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/1.683, allocations: 274.1 kB / 0.9349 GB, free: 181.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.593e-06/1.683, allocations: 0 / 0.9349 GB, free: 181.5 MB / 0.67 GB Notification: Performance of Templates: time 0.08055/1.764, allocations: 50.4 MB / 0.9841 GB, free: 136.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)