Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.001156/0.001156, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001418/0.001418, allocations: 177.3 kB / 15.95 MB, free: 216 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.236/1.236, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8733/0.8733, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.000297, allocations: 8.5 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1507, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4055/0.5562, allocations: 137.8 MB / 0.7217 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03446/0.5907, allocations: 23.43 MB / 0.7446 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004606/0.5954, allocations: 70.34 kB / 0.7447 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.5987, allocations: 1.046 MB / 0.7457 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008861/0.6076, allocations: 2.339 MB / 0.748 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006486/0.6141, allocations: 1.868 MB / 0.7498 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007573/0.6217, allocations: 3.621 MB / 0.7533 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004662/0.6264, allocations: 3.365 MB / 0.7566 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002626/0.629, allocations: 1.521 MB / 0.7581 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.6319, allocations: 1.914 MB / 0.76 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003934/0.6323, allocations: 140 kB / 0.7601 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.6343, allocations: 0.6087 MB / 0.7607 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007538/0.6351, allocations: 0.8328 MB / 0.7615 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000852/0.6359, allocations: 0.7494 MB / 0.7622 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005084/0.641, allocations: 5.101 MB / 0.7672 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.641, allocations: 0 / 0.7672 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.641, allocations: 0 / 0.7672 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001563/0.6412, allocations: 0 / 0.7672 GB, free: 3.711 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.0106/0.6518, allocations: 4.367 MB / 0.7715 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6519, allocations: 8.031 kB / 0.7715 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.665, allocations: 2.947 MB / 0.7744 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005673/0.6708, allocations: 2.393 MB / 0.7767 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.6711, allocations: 283.5 kB / 0.777 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.6722, allocations: 368 kB / 0.7773 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.686, allocations: 5.708 MB / 0.7829 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.6862, allocations: 0 / 0.7829 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007621/0.6869, allocations: 160 kB / 0.7831 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.687, allocations: 88 kB / 0.7831 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.7034, allocations: 6.919 MB / 0.7899 GB, free: 12.27 MB / 0.6075 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.0337/0.7372, allocations: 17.43 MB / 0.8069 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009735/0.747, allocations: 4.485 MB / 0.8113 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.7481, allocations: 0.6699 MB / 0.812 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006207/0.7543, allocations: 2.713 MB / 0.8146 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 6.101e-06/0.7543, allocations: 0 / 0.8146 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.02513/0.7795, allocations: 9.639 MB / 0.824 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.7796, allocations: 218.4 kB / 0.8242 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003976/0.7836, allocations: 2.658 MB / 0.8268 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005681/0.7842, allocations: 85.69 kB / 0.8269 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.7856, allocations: 1.546 MB / 0.8284 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.7869, allocations: 1.047 MB / 0.8294 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.7873, allocations: 56 kB / 0.8295 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.7876, allocations: 415.5 kB / 0.8299 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004828/0.7924, allocations: 2.16 MB / 0.832 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005241/0.7977, allocations: 2.501 MB / 0.8344 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/0.8029, allocations: 2.339 MB / 0.8367 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.8029, allocations: 4 kB / 0.8367 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01244/0.8153, allocations: 5.74 MB / 0.8423 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.8154, allocations: 4 kB / 0.8423 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.8154, allocations: 7.953 kB / 0.8423 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.8171, allocations: 0.8357 MB / 0.8432 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/0.8209, allocations: 0.8035 MB / 0.8439 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.831, allocations: 7.212 MB / 0.851 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/0.8351, allocations: 0.6011 MB / 0.8516 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006756/0.8358, allocations: 115.9 kB / 0.8517 GB, free: 11.55 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: 11 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 282 * 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.002663/0.8385, allocations: 1.029 MB / 0.8527 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008574/0.8393, allocations: 304.2 kB / 0.853 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.8535, allocations: 6.392 MB / 0.8592 GB, free: 3.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.8536, allocations: 32 kB / 0.8593 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-05/0.8536, allocations: 12 kB / 0.8593 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/0.8537, allocations: 19.89 kB / 0.8593 GB, free: 3.688 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3181/1.172, allocations: 10.74 MB / 0.8698 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.172, allocations: 0 / 0.8698 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/1.175, allocations: 0.765 MB / 0.8705 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/1.177, allocations: 0.7342 MB / 0.8712 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/1.177, allocations: 87.84 kB / 0.8713 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008905/1.186, allocations: 10.01 MB / 0.8811 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.186, allocations: 0 / 0.8811 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/1.202, allocations: 9.058 MB / 0.8899 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/1.205, allocations: 0.9451 MB / 0.8909 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005107/1.205, allocations: 66.84 kB / 0.8909 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/1.208, allocations: 441 kB / 0.8913 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004449/1.209, allocations: 217.3 kB / 0.8916 GB, free: 199.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.209, allocations: 108.3 kB / 0.8917 GB, free: 199.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002415/1.211, allocations: 1.928 MB / 0.8935 GB, free: 198.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.242e-06/1.211, allocations: 0.6875 kB / 0.8935 GB, free: 198.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003786/1.215, allocations: 1.231 MB / 0.8947 GB, free: 198.5 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.002239/1.217, allocations: 1.033 MB / 0.8958 GB, free: 198.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.229, allocations: 5.475 MB / 0.9011 GB, free: 196.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.229, allocations: 4 kB / 0.9011 GB, free: 196.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006344/1.235, allocations: 3.327 MB / 0.9044 GB, free: 195.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/1.238, allocations: 0.6581 MB / 0.905 GB, free: 195 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/1.255, allocations: 10.45 MB / 0.9152 GB, free: 189.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/1.258, allocations: 2.775 MB / 0.9179 GB, free: 188.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004735/1.263, allocations: 1.168 MB / 0.919 GB, free: 188.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.264, allocations: 277 kB / 0.9193 GB, free: 188.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/1.264, allocations: 0 / 0.9193 GB, free: 188.5 MB / 0.67 GB Notification: Performance of Templates: time 0.07459/1.339, allocations: 50.74 MB / 0.9689 GB, free: 152.1 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) Environment - environmentSimulation: