Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.001063/0.001063, allocations: 111.2 kB / 16.42 MB, free: 6.457 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.001084/0.001084, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.81 kB / 0.582 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1301, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.4648/0.5949, allocations: 161.7 MB / 0.8183 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03111/0.6261, allocations: 27.06 MB / 0.8447 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.6289, allocations: 79.06 kB / 0.8448 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.6312, allocations: 1.066 MB / 0.8458 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.6358, allocations: 1.781 MB / 0.8475 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.6399, allocations: 1.818 MB / 0.8493 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00559/0.6455, allocations: 5.222 MB / 0.8544 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00525/0.6508, allocations: 4.512 MB / 0.8588 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.6543, allocations: 2.162 MB / 0.8609 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003442/0.6577, allocations: 2.592 MB / 0.8635 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009829/0.6587, allocations: 484 kB / 0.8639 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.6609, allocations: 1.085 MB / 0.865 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.6619, allocations: 1.242 MB / 0.8662 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00208/0.664, allocations: 2.181 MB / 0.8683 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005879/0.6699, allocations: 6.215 MB / 0.8744 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6699, allocations: 4 kB / 0.8744 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6699, allocations: 0 / 0.8744 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.256e-05/0.67, allocations: 0 / 0.8744 GB, free: 10.46 MB / 0.6387 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.008598/0.6786, allocations: 4.742 MB / 0.879 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.6786, allocations: 12.03 kB / 0.879 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.6923, allocations: 2.791 MB / 0.8818 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.6965, allocations: 2.399 MB / 0.8841 GB, free: 356 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.6967, allocations: 258.9 kB / 0.8844 GB, free: 96 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005438/0.6973, allocations: 336 kB / 0.8847 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.708, allocations: 5.385 MB / 0.8899 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/0.708, allocations: 7.922 kB / 0.8899 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003839/0.7084, allocations: 144 kB / 0.8901 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.7085, allocations: 84 kB / 0.8902 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.7227, allocations: 6.524 MB / 0.8965 GB, free: 3.543 MB / 0.6544 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.02571/0.7484, allocations: 15.61 MB / 0.9118 GB, free: 3.309 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008594/0.757, allocations: 4.072 MB / 0.9158 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005259/0.7623, allocations: 2.659 MB / 0.9184 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008947/0.7632, allocations: 0.6735 MB / 0.919 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005471/0.7687, allocations: 2.569 MB / 0.9215 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 5.33e-06/0.7687, allocations: 0 / 0.9215 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02067/0.7894, allocations: 8.398 MB / 0.9297 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.7895, allocations: 210.2 kB / 0.9299 GB, free: 388 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003601/0.7931, allocations: 2.521 MB / 0.9324 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002654/0.7934, allocations: 77.64 kB / 0.9325 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.7947, allocations: 1.431 MB / 0.9339 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009655/0.7957, allocations: 0.9588 MB / 0.9348 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009949/0.7967, allocations: 0.505 MB / 0.9353 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.7968, allocations: 301.1 kB / 0.9356 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004728/0.8015, allocations: 2.062 MB / 0.9376 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005192/0.8067, allocations: 2.376 MB / 0.9399 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009867/0.8166, allocations: 4.423 MB / 0.9442 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.8166, allocations: 0 / 0.9442 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01201/0.8286, allocations: 5.33 MB / 0.9494 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.8287, allocations: 8 kB / 0.9494 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.8287, allocations: 4.156 kB / 0.9494 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.8299, allocations: 0.5452 MB / 0.95 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003889/0.8338, allocations: 0.7917 MB / 0.9507 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007697/0.8416, allocations: 5.717 MB / 0.9563 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.8451, allocations: 0.5517 MB / 0.9569 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/0.8454, allocations: 111.9 kB / 0.957 GB, free: 4.238 MB / 0.7169 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.001878/0.8473, allocations: 0.9737 MB / 0.9579 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007995/0.8481, allocations: 288.4 kB / 0.9582 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.862, allocations: 5.88 MB / 0.9639 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.058e-05/0.862, allocations: 15.94 kB / 0.964 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.862, allocations: 0 / 0.964 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/0.8638, allocations: 0.8481 MB / 0.9648 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005661/0.8644, allocations: 63.84 kB / 0.9648 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/0.8675, allocations: 405.3 kB / 0.9652 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.8679, allocations: 206 kB / 0.9654 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01492/0.8829, allocations: 5.709 MB / 0.971 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0165/0.8994, allocations: 8.086 MB / 0.9789 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004691/0.9041, allocations: 2.384 MB / 0.9812 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002603/0.9067, allocations: 1.83 MB / 0.983 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of Backend: time 3.41e-07/0.9067, allocations: 0 / 0.983 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01038/0.9171, allocations: 4.306 MB / 0.9872 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of SimCode: time 0.01125/0.9284, allocations: 7.381 MB / 0.9944 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of Templates: time 0.08536/1.014, allocations: 60.33 MB / 1.053 GB, free: 1.977 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)