Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007111/0.0007112, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.003799/0.003799, allocations: 174.2 kB / 16.27 MB, free: 6.613 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8638/0.8638, allocations: 135.7 MB / 427.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002562, allocations: 8.656 kB / 0.5081 GB, free: 4.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 82.41 MB / 0.5886 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.3421/0.4755, allocations: 156.2 MB / 0.7411 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02908/0.5046, allocations: 26.31 MB / 0.7668 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.5061, allocations: 63.62 kB / 0.7669 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.5077, allocations: 0.9023 MB / 0.7677 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.5107, allocations: 1.507 MB / 0.7692 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.5136, allocations: 1.508 MB / 0.7707 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004693/0.5183, allocations: 5.055 MB / 0.7756 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003844/0.5222, allocations: 3.494 MB / 0.779 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.5236, allocations: 1.365 MB / 0.7804 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.5258, allocations: 1.902 MB / 0.7822 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.5261, allocations: 108 kB / 0.7823 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.5274, allocations: 0.7022 MB / 0.783 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006754/0.5281, allocations: 0.7351 MB / 0.7837 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.5295, allocations: 1.562 MB / 0.7853 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.5341, allocations: 5.314 MB / 0.7904 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5341, allocations: 0 / 0.7904 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5341, allocations: 3.938 kB / 0.7905 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.031e-05/0.5341, allocations: 0 / 0.7905 GB, free: 12.11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.006747/0.5409, allocations: 3.806 MB / 0.7942 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5409, allocations: 12.03 kB / 0.7942 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.5535, allocations: 2.893 MB / 0.797 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/0.5568, allocations: 2.255 MB / 0.7992 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.557, allocations: 246.5 kB / 0.7994 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.5575, allocations: 316 kB / 0.7997 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009812/0.5674, allocations: 5.187 MB / 0.8048 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.5674, allocations: 3.906 kB / 0.8048 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003454/0.5678, allocations: 132 kB / 0.8049 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-05/0.5678, allocations: 87.94 kB / 0.805 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.5814, allocations: 6.377 MB / 0.8113 GB, free: 6.566 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.02166/0.603, allocations: 14.55 MB / 0.8255 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009613/0.6127, allocations: 4.522 MB / 0.8299 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004846/0.6175, allocations: 2.458 MB / 0.8323 GB, free: 500 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008695/0.6184, allocations: 0.67 MB / 0.8329 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004994/0.6234, allocations: 2.473 MB / 0.8354 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 8.526e-06/0.6234, allocations: 3.984 kB / 0.8354 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.0174/0.6408, allocations: 7.574 MB / 0.8428 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.641, allocations: 214 kB / 0.843 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/0.6438, allocations: 2.389 MB / 0.8453 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/0.6441, allocations: 73.7 kB / 0.8454 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.6452, allocations: 1.353 MB / 0.8467 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008137/0.646, allocations: 0.8972 MB / 0.8476 GB, free: 452 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.6463, allocations: 198.5 kB / 0.8477 GB, free: 248 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6465, allocations: 305.1 kB / 0.848 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004432/0.6509, allocations: 1.976 MB / 0.85 GB, free: 13.96 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004703/0.6556, allocations: 2.277 MB / 0.8522 GB, free: 11.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009073/0.6647, allocations: 4.236 MB / 0.8563 GB, free: 7.285 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6647, allocations: 3.984 kB / 0.8563 GB, free: 7.281 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01054/0.6753, allocations: 4.967 MB / 0.8612 GB, free: 2.262 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6753, allocations: 8 kB / 0.8612 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6753, allocations: 4 kB / 0.8612 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007971/0.6761, allocations: 352.7 kB / 0.8615 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/0.6796, allocations: 0.7839 MB / 0.8623 GB, free: 1.117 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2181/0.8978, allocations: 3.914 MB / 0.8661 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/0.9012, allocations: 0.5594 MB / 0.8667 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004132/0.9017, allocations: 109.5 kB / 0.8668 GB, free: 210.7 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 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001765/0.9034, allocations: 0.9258 MB / 0.8677 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/0.904, allocations: 272.9 kB / 0.8679 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.9145, allocations: 5.548 MB / 0.8733 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.9145, allocations: 28.5 kB / 0.8734 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.9145, allocations: 6.625 kB / 0.8734 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.9145, allocations: 16.45 kB / 0.8734 GB, free: 210.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.9276, allocations: 9.301 MB / 0.8825 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.9276, allocations: 0.875 kB / 0.8825 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/0.9306, allocations: 0.734 MB / 0.8832 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008026/0.9314, allocations: 381.4 kB / 0.8836 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.9316, allocations: 77.44 kB / 0.8836 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004165/0.9358, allocations: 5.801 MB / 0.8893 GB, free: 202.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9358, allocations: 0 / 0.8893 GB, free: 202.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.949, allocations: 7.937 MB / 0.8971 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.9502, allocations: 0.8521 MB / 0.8979 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/0.9505, allocations: 51.81 kB / 0.8979 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/0.9531, allocations: 417.8 kB / 0.8983 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.9534, allocations: 171.8 kB / 0.8985 GB, free: 199 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/0.9537, allocations: 103.5 kB / 0.8986 GB, free: 199 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002017/0.9557, allocations: 1.74 MB / 0.9003 GB, free: 198.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9557, allocations: 1.219 kB / 0.9003 GB, free: 198.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002171/0.9579, allocations: 1.03 MB / 0.9013 GB, free: 198.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003018/0.9609, allocations: 1.021 MB / 0.9023 GB, free: 197.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009298/0.9702, allocations: 4.815 MB / 0.907 GB, free: 196.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.9702, allocations: 0 / 0.907 GB, free: 196.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004792/0.975, allocations: 2.764 MB / 0.9097 GB, free: 195.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.9776, allocations: 0.6339 MB / 0.9103 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.989, allocations: 9.462 MB / 0.9196 GB, free: 190.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/0.9909, allocations: 2.448 MB / 0.9219 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00353/0.9944, allocations: 1.101 MB / 0.923 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009777/0.9954, allocations: 261.8 kB / 0.9233 GB, free: 189.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.213e-06/0.9954, allocations: 0 / 0.9233 GB, free: 189.1 MB / 0.67 GB Notification: Performance of Templates: time 0.04916/1.045, allocations: 43.63 MB / 0.9659 GB, free: 156.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)