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.001025/0.001025, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001191/0.001191, allocations: 168.7 kB / 15.95 MB, free: 204 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.491/1.491, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.086/1.086, allocations: 135.3 MB / 426.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 8 kB / 0.507 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 82.32 MB / 0.5874 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6128/0.8191, allocations: 145.7 MB / 0.7297 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03972/0.8589, allocations: 24.91 MB / 0.754 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006246/0.8652, allocations: 67.12 kB / 0.7541 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.8682, allocations: 0.8579 MB / 0.7549 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006531/0.8748, allocations: 1.419 MB / 0.7563 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005874/0.8807, allocations: 1.226 MB / 0.7575 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008855/0.8895, allocations: 4.477 MB / 0.7619 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005496/0.8951, allocations: 2.95 MB / 0.7647 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004794/0.8999, allocations: 1.342 MB / 0.766 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/0.9041, allocations: 1.805 MB / 0.7678 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.9052, allocations: 108 kB / 0.7679 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.9083, allocations: 0.6009 MB / 0.7685 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.91, allocations: 0.7275 MB / 0.7692 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.9116, allocations: 0.6325 MB / 0.7698 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007015/0.9186, allocations: 4.353 MB / 0.7741 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9186, allocations: 0 / 0.7741 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9187, allocations: 0 / 0.7741 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002805/0.9189, allocations: 0 / 0.7741 GB, free: 13.04 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01164/0.9306, allocations: 3.841 MB / 0.7778 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.9307, allocations: 8.031 kB / 0.7778 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.9444, allocations: 2.885 MB / 0.7807 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00678/0.9512, allocations: 2.186 MB / 0.7828 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.9516, allocations: 242.5 kB / 0.783 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.9531, allocations: 319.9 kB / 0.7833 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/0.9693, allocations: 5.155 MB / 0.7884 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.9695, allocations: 4 kB / 0.7884 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/0.9705, allocations: 140 kB / 0.7885 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.938e-05/0.9706, allocations: 80 kB / 0.7886 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/0.9877, allocations: 6.35 MB / 0.7948 GB, free: 7.602 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.03953/1.027, allocations: 14.54 MB / 0.809 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/1.039, allocations: 4.519 MB / 0.8134 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00631/1.046, allocations: 2.47 MB / 0.8158 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/1.047, allocations: 0.6736 MB / 0.8165 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006681/1.054, allocations: 2.458 MB / 0.8189 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 6.943e-06/1.054, allocations: 0 / 0.8189 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.02044/1.074, allocations: 7.516 MB / 0.8262 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.074, allocations: 214 kB / 0.8264 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/1.079, allocations: 2.37 MB / 0.8287 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004822/1.079, allocations: 81.64 kB / 0.8288 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/1.081, allocations: 1.357 MB / 0.8301 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.082, allocations: 0.901 MB / 0.831 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/1.083, allocations: 44 kB / 0.831 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002332/1.083, allocations: 402.8 kB / 0.8314 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004596/1.087, allocations: 1.964 MB / 0.8333 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004938/1.092, allocations: 2.277 MB / 0.8356 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/1.097, allocations: 2.113 MB / 0.8376 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/1.098, allocations: 0 / 0.8376 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01246/1.11, allocations: 4.952 MB / 0.8425 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/1.11, allocations: 8 kB / 0.8425 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/1.11, allocations: 4 kB / 0.8425 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009465/1.111, allocations: 342.4 kB / 0.8428 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/1.115, allocations: 0.7878 MB / 0.8436 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/1.121, allocations: 3.908 MB / 0.8474 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/1.125, allocations: 0.5548 MB / 0.8479 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008006/1.126, allocations: 111.9 kB / 0.848 GB, free: 15.83 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 (278): * Single equations (assignments): 277 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003059/1.129, allocations: 0.9266 MB / 0.8489 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.13, allocations: 268.6 kB / 0.8492 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/1.145, allocations: 5.565 MB / 0.8546 GB, free: 8.992 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/1.146, allocations: 24 kB / 0.8547 GB, free: 8.969 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/1.146, allocations: 8 kB / 0.8547 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.312e-05/1.146, allocations: 11.95 kB / 0.8547 GB, free: 8.949 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.422/1.568, allocations: 9.29 MB / 0.8637 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.568, allocations: 0 / 0.8637 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003943/1.572, allocations: 0.7313 MB / 0.8645 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/1.573, allocations: 384.3 kB / 0.8648 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005839/1.573, allocations: 81.22 kB / 0.8649 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/1.579, allocations: 5.777 MB / 0.8705 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.579, allocations: 3.281 kB / 0.8705 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.595, allocations: 7.908 MB / 0.8783 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/1.597, allocations: 0.85 MB / 0.8791 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000597/1.598, allocations: 51.97 kB / 0.8791 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.6, allocations: 423.9 kB / 0.8796 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/1.601, allocations: 172.8 kB / 0.8797 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/1.601, allocations: 100.9 kB / 0.8798 GB, free: 205.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002189/1.603, allocations: 1.732 MB / 0.8815 GB, free: 205 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.603, allocations: 0 / 0.8815 GB, free: 205 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003339/1.607, allocations: 1.021 MB / 0.8825 GB, free: 204.7 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 (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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002875/1.61, allocations: 1.016 MB / 0.8835 GB, free: 204.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.621, allocations: 4.798 MB / 0.8882 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.621, allocations: 0 / 0.8882 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006288/1.627, allocations: 2.753 MB / 0.8909 GB, free: 202.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/1.631, allocations: 0.6163 MB / 0.8915 GB, free: 201.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/1.648, allocations: 9.178 MB / 0.9004 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/1.651, allocations: 2.452 MB / 0.9028 GB, free: 196.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004843/1.656, allocations: 1.106 MB / 0.9039 GB, free: 196.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/1.657, allocations: 262 kB / 0.9042 GB, free: 196.2 MB / 0.67 GB Notification: Performance of SimCode: time 9.22e-07/1.657, allocations: 0 / 0.9042 GB, free: 196.2 MB / 0.67 GB Notification: Performance of Templates: time 0.07744/1.734, allocations: 42.59 MB / 0.9457 GB, free: 177.3 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)