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.001076/0.001076, allocations: 86.64 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.0009573/0.0009575, 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9971/0.9971, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 8 kB / 0.507 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 82.31 MB / 0.5874 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5806/0.7925, allocations: 146.6 MB / 0.7305 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04437/0.8369, allocations: 25.18 MB / 0.7551 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/0.8433, allocations: 72.62 kB / 0.7552 GB, free: 492 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003955/0.8473, allocations: 0.8987 MB / 0.756 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008039/0.8553, allocations: 1.492 MB / 0.7575 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005656/0.861, allocations: 1.28 MB / 0.7587 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009119/0.8702, allocations: 4.859 MB / 0.7635 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007318/0.8775, allocations: 3.124 MB / 0.7665 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00475/0.8823, allocations: 1.424 MB / 0.7679 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006716/0.8891, allocations: 1.936 MB / 0.7698 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.8907, allocations: 120 kB / 0.7699 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/0.8951, allocations: 0.6165 MB / 0.7705 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002134/0.8972, allocations: 0.7703 MB / 0.7713 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.8996, allocations: 0.6793 MB / 0.7719 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.9098, allocations: 4.676 MB / 0.7765 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.9098, allocations: 0 / 0.7765 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9098, allocations: 3.938 kB / 0.7765 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002742/0.9101, allocations: 8 kB / 0.7765 GB, free: 10.8 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.0115/0.9216, allocations: 4.059 MB / 0.7805 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9217, allocations: 8.031 kB / 0.7805 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.9353, allocations: 2.916 MB / 0.7833 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006851/0.9422, allocations: 2.281 MB / 0.7856 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/0.9425, allocations: 258.9 kB / 0.7858 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.9441, allocations: 344 kB / 0.7861 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.9614, allocations: 5.401 MB / 0.7914 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-05/0.9615, allocations: 4 kB / 0.7914 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004063/0.9619, allocations: 144 kB / 0.7916 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.556e-05/0.962, allocations: 80 kB / 0.7916 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.9775, allocations: 6.592 MB / 0.7981 GB, free: 4.496 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.03093/1.008, allocations: 15.75 MB / 0.8135 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009293/1.018, allocations: 4.068 MB / 0.8174 GB, free: 68 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00605/1.024, allocations: 2.749 MB / 0.8201 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.025, allocations: 0.6736 MB / 0.8208 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005946/1.031, allocations: 2.573 MB / 0.8233 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 5.18e-06/1.031, allocations: 0 / 0.8233 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.02181/1.053, allocations: 8.339 MB / 0.8314 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/1.053, allocations: 214.2 kB / 0.8316 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00616/1.059, allocations: 2.497 MB / 0.8341 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004242/1.06, allocations: 81.69 kB / 0.8342 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002079/1.062, allocations: 1.424 MB / 0.8355 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.063, allocations: 0.9624 MB / 0.8365 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/1.063, allocations: 52 kB / 0.8365 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002835/1.064, allocations: 407.2 kB / 0.8369 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00498/1.069, allocations: 2.054 MB / 0.8389 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00518/1.074, allocations: 2.365 MB / 0.8412 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005163/1.079, allocations: 2.224 MB / 0.8434 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.079, allocations: 0 / 0.8434 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.0123/1.091, allocations: 5.311 MB / 0.8486 GB, free: 15.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/1.092, allocations: 8 kB / 0.8486 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/1.092, allocations: 4 kB / 0.8486 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/1.093, allocations: 0.5544 MB / 0.8491 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/1.097, allocations: 0.7956 MB / 0.8499 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/1.105, allocations: 5.307 MB / 0.8551 GB, free: 8.797 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/1.109, allocations: 0.5763 MB / 0.8557 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006669/1.11, allocations: 107.9 kB / 0.8558 GB, free: 8.113 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 (282): * Single equations (assignments): 281 * 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.0032/1.113, allocations: 0.9736 MB / 0.8567 GB, free: 7.129 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.114, allocations: 284.4 kB / 0.857 GB, free: 6.848 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.13, allocations: 5.907 MB / 0.8628 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.13, allocations: 28 kB / 0.8628 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.622e-05/1.13, allocations: 8 kB / 0.8628 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-05/1.13, allocations: 19.89 kB / 0.8628 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4461/1.576, allocations: 9.872 MB / 0.8725 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.576, allocations: 0 / 0.8725 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003593/1.58, allocations: 0.7501 MB / 0.8732 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/1.581, allocations: 0.5233 MB / 0.8737 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003856/1.582, allocations: 81.5 kB / 0.8738 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006917/1.588, allocations: 6.937 MB / 0.8806 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.588, allocations: 2.781 kB / 0.8806 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/1.606, allocations: 8.391 MB / 0.8887 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/1.608, allocations: 0.8855 MB / 0.8896 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/1.608, allocations: 56.59 kB / 0.8897 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/1.611, allocations: 431.7 kB / 0.8901 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/1.612, allocations: 195.8 kB / 0.8903 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.612, allocations: 101.4 kB / 0.8904 GB, free: 203 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0023/1.614, allocations: 1.808 MB / 0.8921 GB, free: 202.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.21e-07/1.614, allocations: 0 / 0.8921 GB, free: 202.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003333/1.617, allocations: 1.109 MB / 0.8932 GB, free: 202.1 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.002551/1.62, allocations: 1.023 MB / 0.8942 GB, free: 201.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.632, allocations: 5.1 MB / 0.8992 GB, free: 200.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.632, allocations: 1.188 kB / 0.8992 GB, free: 200.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007265/1.639, allocations: 2.947 MB / 0.9021 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/1.644, allocations: 0.6587 MB / 0.9027 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/1.664, allocations: 9.718 MB / 0.9122 GB, free: 194.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003171/1.668, allocations: 2.562 MB / 0.9147 GB, free: 193.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005925/1.673, allocations: 1.123 MB / 0.9158 GB, free: 193 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.675, allocations: 264 kB / 0.9161 GB, free: 193 MB / 0.67 GB Notification: Performance of SimCode: time 3.136e-06/1.675, allocations: 4 kB / 0.9161 GB, free: 193 MB / 0.67 GB Notification: Performance of Templates: time 0.08046/1.755, allocations: 46.01 MB / 0.961 GB, free: 162.1 MB / 0.67 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)