Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009418/0.0009418, allocations: 99.86 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.0009531/0.0009531, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4386/0.4386, allocations: 54.98 MB / 325.4 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009268/0.0009269, allocations: 12 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3889, allocations: 60.72 MB / 457.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1571/0.546, allocations: 129.3 MB / 0.5728 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02662/0.5727, allocations: 18.88 MB / 0.5913 GB, free: 3.105 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.5755, allocations: 43.81 kB / 0.5913 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.5776, allocations: 0.8324 MB / 0.5921 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.5826, allocations: 1.611 MB / 0.5937 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.5866, allocations: 1.298 MB / 0.595 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005697/0.5923, allocations: 3.067 MB / 0.598 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004231/0.5966, allocations: 2.972 MB / 0.6009 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.599, allocations: 1.342 MB / 0.6022 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.6017, allocations: 1.7 MB / 0.6038 GB, free: 6.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004546/0.6022, allocations: 121 kB / 0.604 GB, free: 6.133 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.6044, allocations: 0.5696 MB / 0.6045 GB, free: 5.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008388/0.6052, allocations: 0.7316 MB / 0.6052 GB, free: 4.828 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008424/0.6061, allocations: 0.6676 MB / 0.6059 GB, free: 4.152 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.6109, allocations: 4.495 MB / 0.6103 GB, free: 15.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6109, allocations: 0 / 0.6103 GB, free: 15.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6109, allocations: 0 / 0.6103 GB, free: 15.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001616/0.6111, allocations: 0 / 0.6103 GB, free: 15.65 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 853 * Number of variables: 853 Notification: Performance of Generate backend data structure: time 0.008644/0.6197, allocations: 3.959 MB / 0.6141 GB, free: 11.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6198, allocations: 12.03 kB / 0.6142 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.6336, allocations: 2.827 MB / 0.6169 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005075/0.6387, allocations: 2.148 MB / 0.619 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.639, allocations: 250.7 kB / 0.6193 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006739/0.6396, allocations: 328 kB / 0.6196 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.6503, allocations: 5.203 MB / 0.6246 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.6504, allocations: 0 / 0.6246 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003492/0.6508, allocations: 136 kB / 0.6248 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.518e-05/0.6509, allocations: 84 kB / 0.6249 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.6651, allocations: 6.371 MB / 0.6311 GB, free: 10.12 MB / 0.4981 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.3026/0.9677, allocations: 15.34 MB / 0.6461 GB, free: 147.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008122/0.9759, allocations: 4.138 MB / 0.6501 GB, free: 147.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007151/0.9766, allocations: 0.6747 MB / 0.6508 GB, free: 146.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004537/0.9812, allocations: 2.49 MB / 0.6532 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=286): time 6.151e-06/0.9812, allocations: 0.5469 kB / 0.6532 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=286): time 0.01796/0.9991, allocations: 8.096 MB / 0.6611 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.168e-05/0.9993, allocations: 133.5 kB / 0.6612 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/1.003, allocations: 2.422 MB / 0.6636 GB, free: 143 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003273/1.003, allocations: 83.12 kB / 0.6637 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009482/1.004, allocations: 1.382 MB / 0.665 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/1.005, allocations: 0.944 MB / 0.6659 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/1.005, allocations: 49.41 kB / 0.666 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.005, allocations: 412.5 kB / 0.6664 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004439/1.009, allocations: 1.963 MB / 0.6683 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004802/1.014, allocations: 2.263 MB / 0.6705 GB, free: 139.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004771/1.019, allocations: 2.125 MB / 0.6726 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/1.019, allocations: 4.938 kB / 0.6726 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01147/1.03, allocations: 5.111 MB / 0.6776 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/1.03, allocations: 7.75 kB / 0.6776 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.031, allocations: 3.312 kB / 0.6776 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/1.032, allocations: 0.5411 MB / 0.6781 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003932/1.036, allocations: 0.7567 MB / 0.6789 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007724/1.043, allocations: 5.453 MB / 0.6842 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/1.047, allocations: 0.5197 MB / 0.6847 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/1.048, allocations: 109.1 kB / 0.6848 GB, free: 133.3 MB / 0.4981 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,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 (272): * Single equations (assignments): 271 * 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.002139/1.05, allocations: 0.952 MB / 0.6857 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005423/1.05, allocations: 273.4 kB / 0.686 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.063, allocations: 5.748 MB / 0.6916 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/1.063, allocations: 29.06 kB / 0.6916 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/1.063, allocations: 9.25 kB / 0.6916 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/1.063, allocations: 15.05 kB / 0.6917 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/1.079, allocations: 9.648 MB / 0.7011 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/1.079, allocations: 0 / 0.7011 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/1.083, allocations: 0.7271 MB / 0.7018 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/1.084, allocations: 0.5227 MB / 0.7023 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002488/1.084, allocations: 79.28 kB / 0.7024 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/1.091, allocations: 7.152 MB / 0.7094 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.091, allocations: 0 / 0.7094 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/1.106, allocations: 8.134 MB / 0.7173 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/1.108, allocations: 0.88 MB / 0.7182 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000483/1.108, allocations: 48 kB / 0.7182 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/1.111, allocations: 399.3 kB / 0.7186 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/1.111, allocations: 182.1 kB / 0.7188 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.111, allocations: 103.9 kB / 0.7189 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001868/1.113, allocations: 1.769 MB / 0.7206 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.113, allocations: 3.938 kB / 0.7206 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002613/1.116, allocations: 1.084 MB / 0.7216 GB, free: 106.3 MB / 0.4981 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.conTim1.tStart,weaDat.conTim.tStart,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTim1.tStart,weaDat.conTim.tStart) * 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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002111/1.118, allocations: 1.027 MB / 0.7226 GB, free: 105.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009475/1.128, allocations: 4.93 MB / 0.7275 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.128, allocations: 4 kB / 0.7275 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00504/1.133, allocations: 2.899 MB / 0.7303 GB, free: 97.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.135, allocations: 0.5588 MB / 0.7308 GB, free: 97.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.149, allocations: 9.481 MB / 0.7401 GB, free: 87.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/1.151, allocations: 2.575 MB / 0.7426 GB, free: 85.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004626/1.156, allocations: 1.118 MB / 0.7437 GB, free: 84.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.157, allocations: 259.3 kB / 0.744 GB, free: 83.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.157, allocations: 0 / 0.744 GB, free: 83.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.06192/1.219, allocations: 44.55 MB / 0.7875 GB, free: 39.55 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) Environment - environmentSimulation: