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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7575/0.7575, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 404.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 103.6 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1656, allocations: 80.41 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5643/0.73, allocations: 159.4 MB / 0.7978 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.03387/0.7639, allocations: 26.88 MB / 0.824 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005365/0.7693, allocations: 75.62 kB / 0.8241 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.772, allocations: 0.945 MB / 0.825 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005624/0.7777, allocations: 1.584 MB / 0.8265 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.7818, allocations: 1.589 MB / 0.8281 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006525/0.7883, allocations: 5.498 MB / 0.8335 GB, free: 13.08 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005078/0.7934, allocations: 4.05 MB / 0.8374 GB, free: 8.969 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.7961, allocations: 1.771 MB / 0.8391 GB, free: 7.191 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/0.7993, allocations: 2.428 MB / 0.8415 GB, free: 4.754 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005528/0.7999, allocations: 267.9 kB / 0.8418 GB, free: 4.492 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.8019, allocations: 0.8585 MB / 0.8426 GB, free: 3.633 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008335/0.8027, allocations: 1.008 MB / 0.8436 GB, free: 2.621 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002138/0.8049, allocations: 1.927 MB / 0.8455 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005658/0.8105, allocations: 5.904 MB / 0.8512 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8106, allocations: 0 / 0.8512 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8106, allocations: 0 / 0.8512 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001301/0.8107, allocations: 0 / 0.8512 GB, free: 10.76 MB / 0.5886 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.009465/0.8202, allocations: 4.75 MB / 0.8559 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8202, allocations: 12.03 kB / 0.8559 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/0.8334, allocations: 2.788 MB / 0.8586 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005477/0.8389, allocations: 2.379 MB / 0.8609 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.8391, allocations: 262.9 kB / 0.8612 GB, free: 432 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008744/0.84, allocations: 332 kB / 0.8615 GB, free: 100 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.8525, allocations: 5.389 MB / 0.8668 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-05/0.8526, allocations: 0 / 0.8668 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003697/0.853, allocations: 147.9 kB / 0.8669 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/0.8531, allocations: 84 kB / 0.867 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.8688, allocations: 6.516 MB / 0.8734 GB, free: 3.879 MB / 0.6042 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.02837/0.8972, allocations: 15.71 MB / 0.8887 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008287/0.9055, allocations: 4.08 MB / 0.8927 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005112/0.9107, allocations: 2.663 MB / 0.8953 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000891/0.9116, allocations: 0.6658 MB / 0.8959 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005226/0.9168, allocations: 2.569 MB / 0.8984 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=288): time 4.518e-06/0.9169, allocations: 0 / 0.8984 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=288): time 0.02027/0.9371, allocations: 8.392 MB / 0.9066 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.9373, allocations: 214.2 kB / 0.9068 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/0.9406, allocations: 2.505 MB / 0.9093 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/0.9409, allocations: 77.69 kB / 0.9094 GB, free: 14 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.942, allocations: 1.431 MB / 0.9108 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008519/0.9429, allocations: 0.9588 MB / 0.9117 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009091/0.9438, allocations: 0.5127 MB / 0.9122 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.9439, allocations: 309.1 kB / 0.9125 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004507/0.9484, allocations: 2.054 MB / 0.9145 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004757/0.9532, allocations: 2.368 MB / 0.9168 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009194/0.9624, allocations: 4.438 MB / 0.9211 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.9624, allocations: 0 / 0.9211 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01154/0.974, allocations: 5.323 MB / 0.9263 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.974, allocations: 5.562 kB / 0.9263 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.974, allocations: 4 kB / 0.9264 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.9753, allocations: 0.5492 MB / 0.9269 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/0.979, allocations: 0.7878 MB / 0.9277 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/0.9859, allocations: 5.284 MB / 0.9328 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/0.9897, allocations: 0.5673 MB / 0.9334 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.99, allocations: 115.9 kB / 0.9335 GB, free: 4.906 MB / 0.6667 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001858/0.9919, allocations: 0.9736 MB / 0.9344 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000601/0.9925, allocations: 284.4 kB / 0.9347 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.006, allocations: 5.896 MB / 0.9405 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/1.006, allocations: 28 kB / 0.9405 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.006, allocations: 8 kB / 0.9405 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/1.006, allocations: 15.94 kB / 0.9405 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/1.026, allocations: 9.909 MB / 0.9502 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.026, allocations: 4 kB / 0.9502 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003644/1.029, allocations: 0.7449 MB / 0.9509 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/1.031, allocations: 0.5216 MB / 0.9514 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/1.031, allocations: 79.94 kB / 0.9515 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3158/1.347, allocations: 6.945 MB / 0.9583 GB, free: 250.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.347, allocations: 3.812 kB / 0.9583 GB, free: 250.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3309/1.678, allocations: 129.4 MB / 1.085 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/1.68, allocations: 0.8442 MB / 1.085 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005722/1.681, allocations: 69.14 kB / 1.086 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002954/1.684, allocations: 423.9 kB / 1.086 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/1.684, allocations: 190.1 kB / 1.086 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/1.684, allocations: 99.92 kB / 1.086 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001997/1.686, allocations: 1.823 MB / 1.088 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/1.686, allocations: 0 / 1.088 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00522/1.691, allocations: 1.7 MB / 1.09 GB, free: 137 MB / 0.6823 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 (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 {(4,36,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.002501/1.694, allocations: 1.088 MB / 1.091 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009989/1.704, allocations: 5.097 MB / 1.096 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.704, allocations: 4.125 kB / 1.096 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005415/1.709, allocations: 2.947 MB / 1.099 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/1.713, allocations: 0.6707 MB / 1.099 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.729, allocations: 12.39 MB / 1.111 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/1.731, allocations: 2.639 MB / 1.114 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006569/1.738, allocations: 1.441 MB / 1.115 GB, free: 111 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002694/1.741, allocations: 335.1 kB / 1.116 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/1.741, allocations: 3.938 kB / 1.116 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.1207/1.861, allocations: 99.72 MB / 1.213 GB, free: 11.15 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (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)