Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.0008681, allocations: 100.1 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.000911/0.000911, 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.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8732/0.8732, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 8 kB / 0.5068 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1656, allocations: 82.32 MB / 0.5872 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.4348/0.6004, allocations: 136.7 MB / 0.7207 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.631, allocations: 23.02 MB / 0.7432 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.6341, allocations: 67.69 kB / 0.7432 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.6365, allocations: 0.9904 MB / 0.7442 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.6436, allocations: 2.223 MB / 0.7464 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005111/0.6487, allocations: 1.727 MB / 0.748 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005516/0.6542, allocations: 3.178 MB / 0.7511 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003664/0.6579, allocations: 3.118 MB / 0.7542 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.6597, allocations: 1.401 MB / 0.7556 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.6617, allocations: 1.743 MB / 0.7573 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.662, allocations: 120 kB / 0.7574 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.6635, allocations: 0.5853 MB / 0.7579 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006256/0.6641, allocations: 0.7549 MB / 0.7587 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.6647, allocations: 0.6831 MB / 0.7594 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004236/0.669, allocations: 4.668 MB / 0.7639 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.669, allocations: 0 / 0.7639 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.669, allocations: 4 kB / 0.7639 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000131/0.6691, allocations: 0 / 0.7639 GB, free: 6.969 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.00755/0.6767, allocations: 4.062 MB / 0.7679 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.6767, allocations: 8.031 kB / 0.7679 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.6892, allocations: 2.913 MB / 0.7707 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007044/0.6963, allocations: 2.254 MB / 0.7729 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.6966, allocations: 258.9 kB / 0.7732 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.6977, allocations: 340 kB / 0.7735 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.7159, allocations: 5.373 MB / 0.7788 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.823e-05/0.716, allocations: 8 kB / 0.7788 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006034/0.7166, allocations: 140 kB / 0.7789 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.7168, allocations: 88 kB / 0.779 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01831/0.7351, allocations: 6.594 MB / 0.7854 GB, free: 0.7148 MB / 0.5919 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.03/0.7651, allocations: 15.77 MB / 0.8008 GB, free: 340 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008821/0.774, allocations: 4.065 MB / 0.8048 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009351/0.7749, allocations: 0.6736 MB / 0.8054 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005691/0.7807, allocations: 2.558 MB / 0.8079 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=288): time 5.009e-06/0.7807, allocations: 0 / 0.8079 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288): time 0.02237/0.8031, allocations: 8.338 MB / 0.8161 GB, free: 412 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.8033, allocations: 226.1 kB / 0.8163 GB, free: 140 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/0.8077, allocations: 2.509 MB / 0.8188 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007786/0.8085, allocations: 81.69 kB / 0.8188 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.81, allocations: 1.435 MB / 0.8202 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001521/0.8115, allocations: 0.951 MB / 0.8212 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005094/0.8121, allocations: 52 kB / 0.8212 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002694/0.8123, allocations: 407 kB / 0.8216 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005068/0.8174, allocations: 2.042 MB / 0.8236 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005329/0.8228, allocations: 2.34 MB / 0.8259 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005342/0.8281, allocations: 2.207 MB / 0.828 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.8282, allocations: 4.109 kB / 0.828 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0132/0.8414, allocations: 5.27 MB / 0.8332 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.8415, allocations: 8 kB / 0.8332 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.8415, allocations: 4 kB / 0.8332 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.8428, allocations: 0.5389 MB / 0.8337 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/0.8468, allocations: 0.7878 MB / 0.8345 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/0.8544, allocations: 5.456 MB / 0.8398 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/0.8583, allocations: 0.5712 MB / 0.8404 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/0.859, allocations: 107.9 kB / 0.8405 GB, free: 7.008 MB / 0.6544 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 (274): * Single equations (assignments): 273 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002569/0.8615, allocations: 0.97 MB / 0.8414 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008851/0.8624, allocations: 284.4 kB / 0.8417 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/0.8764, allocations: 5.914 MB / 0.8475 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/0.8765, allocations: 28 kB / 0.8475 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/0.8765, allocations: 8 kB / 0.8475 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.785e-05/0.8766, allocations: 15.91 kB / 0.8475 GB, free: 15.72 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.8968, allocations: 9.914 MB / 0.8572 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8968, allocations: 0 / 0.8572 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003531/0.9004, allocations: 0.7567 MB / 0.8579 GB, free: 4.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.9018, allocations: 0.5183 MB / 0.8584 GB, free: 4.395 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/0.9021, allocations: 79.92 kB / 0.8585 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2761/1.178, allocations: 7.103 MB / 0.8655 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.178, allocations: 3.125 kB / 0.8655 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.193, allocations: 8.376 MB / 0.8736 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/1.195, allocations: 0.8982 MB / 0.8745 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003871/1.195, allocations: 56.12 kB / 0.8746 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/1.198, allocations: 435.2 kB / 0.875 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/1.198, allocations: 192 kB / 0.8752 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/1.198, allocations: 103.5 kB / 0.8753 GB, free: 207.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0019/1.2, allocations: 1.834 MB / 0.8771 GB, free: 207.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.31e-07/1.2, allocations: 0 / 0.8771 GB, free: 207.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002317/1.202, allocations: 1.11 MB / 0.8781 GB, free: 206.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001929/1.204, allocations: 1.032 MB / 0.8792 GB, free: 206.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008749/1.213, allocations: 5.06 MB / 0.8841 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.213, allocations: 0 / 0.8841 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004692/1.218, allocations: 2.94 MB / 0.887 GB, free: 204 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.22, allocations: 0.6159 MB / 0.8876 GB, free: 203.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.233, allocations: 9.713 MB / 0.8971 GB, free: 199.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/1.235, allocations: 2.621 MB / 0.8996 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003741/1.239, allocations: 1.122 MB / 0.9007 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009706/1.24, allocations: 272.7 kB / 0.901 GB, free: 197.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.563e-06/1.24, allocations: 1.188 kB / 0.901 GB, free: 197.9 MB / 0.67 GB Notification: Performance of Templates: time 0.06546/1.305, allocations: 46.36 MB / 0.9462 GB, free: 175.3 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) Environment - environmentSimulation: