Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon5R1C.TAir",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling") translateModel(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon5R1C.TAir",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 114.2 kB / 16.81 MB, free: 5.777 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.001568/0.001568, allocations: 196.7 kB / 17.77 MB, free: 5.129 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.459/1.459, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.698/2.698, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 62.41 kB / 1.097 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3344, allocations: 168.7 MB / 1.262 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.01795/0.3524, allocations: 14.97 MB / 1.277 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1763/0.5287, allocations: 154.2 MB / 1.427 GB, free: 3.246 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.5313, allocations: 55.75 kB / 1.427 GB, free: 3.191 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.5332, allocations: 0.5954 MB / 1.428 GB, free: 2.59 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.538, allocations: 1.452 MB / 1.429 GB, free: 1.133 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.5428, allocations: 2.247 MB / 1.431 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01315/0.556, allocations: 11.97 MB / 1.443 GB, free: 2.887 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008088/0.5641, allocations: 5.78 MB / 1.449 GB, free: 12.99 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007279/0.5713, allocations: 5.318 MB / 1.454 GB, free: 7.656 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008489/0.5798, allocations: 5.757 MB / 1.46 GB, free: 1.875 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.004132/0.584, allocations: 1.824 MB / 1.461 GB, free: 52 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005326/0.5893, allocations: 2.203 MB / 1.464 GB, free: 13.85 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004669/0.594, allocations: 3.266 MB / 1.467 GB, free: 10.57 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.009434/0.6034, allocations: 6.001 MB / 1.473 GB, free: 4.551 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02213/0.6255, allocations: 19.82 MB / 1.492 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.6255, allocations: 4 kB / 1.492 GB, free: 0.668 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6255, allocations: 0 / 1.492 GB, free: 0.668 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0004309/0.626, allocations: 0 / 1.492 GB, free: 0.668 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2255 * Number of variables: 2255 Notification: Performance of Generate backend data structure: time 0.0326/0.6586, allocations: 10.85 MB / 1.503 GB, free: 5.668 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6586, allocations: 12.03 kB / 1.503 GB, free: 5.656 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05721/0.7158, allocations: 10.89 MB / 1.513 GB, free: 10.74 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.7274, allocations: 5.548 MB / 1.519 GB, free: 5.121 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/0.7281, allocations: 0.6461 MB / 1.519 GB, free: 4.473 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003529/0.7316, allocations: 0.8281 MB / 1.52 GB, free: 3.645 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0499/0.7815, allocations: 17.99 MB / 1.538 GB, free: 1.539 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001725/0.7817, allocations: 3.938 kB / 1.538 GB, free: 1.535 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002077/0.7837, allocations: 356 kB / 1.538 GB, free: 1.188 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/0.7839, allocations: 212 kB / 1.538 GB, free: 0.9805 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.342/2.126, allocations: 23.01 MB / 1.561 GB, free: 264.9 MB / 1.264 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.09596/2.222, allocations: 43.33 MB / 1.603 GB, free: 239.7 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04263/2.264, allocations: 13.29 MB / 1.616 GB, free: 232.6 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02689/2.291, allocations: 7.271 MB / 1.623 GB, free: 228.6 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/2.293, allocations: 0.6367 MB / 1.624 GB, free: 228.1 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02854/2.321, allocations: 8.574 MB / 1.632 GB, free: 219.6 MB / 1.264 GB Notification: Performance of pre-optimization done (n=654): time 1.51e-05/2.321, allocations: 4 kB / 1.632 GB, free: 219.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=654): time 0.08739/2.409, allocations: 22.38 MB / 1.654 GB, free: 197.1 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/2.409, allocations: 253 kB / 1.654 GB, free: 196.8 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00753/2.416, allocations: 4.049 MB / 1.658 GB, free: 192.8 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.002784/2.419, allocations: 149.7 kB / 1.658 GB, free: 192.7 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002876/2.422, allocations: 2.99 MB / 1.661 GB, free: 190.1 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.004424/2.427, allocations: 2.229 MB / 1.663 GB, free: 188 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004514/2.431, allocations: 1.262 MB / 1.665 GB, free: 186.8 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.907e-05/2.431, allocations: 301.1 kB / 1.665 GB, free: 186.5 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02399/2.455, allocations: 6.77 MB / 1.671 GB, free: 179.7 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.026/2.481, allocations: 7.334 MB / 1.679 GB, free: 172.3 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0484/2.529, allocations: 13.56 MB / 1.692 GB, free: 158.6 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-05/2.53, allocations: 4 kB / 1.692 GB, free: 158.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.05604/2.586, allocations: 15.19 MB / 1.707 GB, free: 143.3 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/2.586, allocations: 4 kB / 1.707 GB, free: 143.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/2.586, allocations: 8 kB / 1.707 GB, free: 143.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/2.587, allocations: 349.6 kB / 1.707 GB, free: 143 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01868/2.606, allocations: 2.321 MB / 1.709 GB, free: 140.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007618/2.614, allocations: 5.118 MB / 1.714 GB, free: 135.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0152/2.629, allocations: 1.605 MB / 1.716 GB, free: 133.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002567/2.631, allocations: 307.7 kB / 1.716 GB, free: 133.3 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 73 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,zon5R1C.opa.HDifTilRof.incAng.decAng.tNext,$PRE.zon5R1C.opa.HDifTilRof.incAng.decAng.tNext,zon5R1C.opa.HDirTilRoo.incAng.decAng.tNext,$PRE.zon5R1C.opa.HDirTilRoo.incAng.decAng.tNext,zon5R1C.opa.HDifTil[4].incAng.decAng.tNext,$PRE.zon5R1C.opa.HDifTil[4].incAng.decAng.tNext,zon5R1C.opa.HDifTil[3].incAng.decAng.tNext,$PRE.zon5R1C.opa.HDifTil[3].incAng.decAng.tNext,zon5R1C.opa.HDifTil[2].incAng.decAng.tNext,$PRE.zon5R1C.opa.HDifTil[2].incAng.decAng.tNext,zon5R1C.opa.HDifTil[1].incAng.decAng.tNext,$PRE.zon5R1C.opa.HDifTil[1].incAng.decAng.tNext,zon5R1C.opa.HDirTil[4].incAng.decAng.tNext,$PRE.zon5R1C.opa.HDirTil[4].incAng.decAng.tNext,zon5R1C.opa.HDirTil[3].incAng.decAng.tNext,$PRE.zon5R1C.opa.HDirTil[3].incAng.decAng.tNext,zon5R1C.opa.HDirTil[2].incAng.decAng.tNext,$PRE.zon5R1C.opa.HDirTil[2].incAng.decAng.tNext,zon5R1C.opa.HDirTil[1].incAng.decAng.tNext,$PRE.zon5R1C.opa.HDirTil[1].incAng.decAng.tNext,zon5R1C.win.HDifTil[4].incAng.decAng.tNext,$PRE.zon5R1C.win.HDifTil[4].incAng.decAng.tNext,zon5R1C.win.HDifTil[3].incAng.decAng.tNext,$PRE.zon5R1C.win.HDifTil[3].incAng.decAng.tNext,zon5R1C.win.HDifTil[2].incAng.decAng.tNext,$PRE.zon5R1C.win.HDifTil[2].incAng.decAng.tNext,zon5R1C.win.HDifTil[1].incAng.decAng.tNext,$PRE.zon5R1C.win.HDifTil[1].incAng.decAng.tNext,zon5R1C.win.HDirTil[4].incAng.decAng.tNext,$PRE.zon5R1C.win.HDirTil[4].incAng.decAng.tNext,zon5R1C.win.HDirTil[3].incAng.decAng.tNext,$PRE.zon5R1C.win.HDirTil[3].incAng.decAng.tNext,zon5R1C.win.HDirTil[2].incAng.decAng.tNext,$PRE.zon5R1C.win.HDirTil[2].incAng.decAng.tNext,zon5R1C.win.HDirTil[1].incAng.decAng.tNext,$PRE.zon5R1C.win.HDirTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,conCooPID.I.trigger_internal,conHeaPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (732): * Single equations (assignments): 730 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,25), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.009275/2.641, allocations: 2.816 MB / 1.719 GB, free: 130.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003375/2.644, allocations: 0.5123 MB / 1.719 GB, free: 130 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06129/2.705, allocations: 16.96 MB / 1.736 GB, free: 112.9 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002213/2.706, allocations: 35.88 kB / 1.736 GB, free: 112.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/2.706, allocations: 0 / 1.736 GB, free: 112.9 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005919/2.712, allocations: 2.35 MB / 1.738 GB, free: 110.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003047/2.715, allocations: 195.5 kB / 1.739 GB, free: 110.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01097/2.726, allocations: 1.225 MB / 1.74 GB, free: 109.1 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002005/2.728, allocations: 0.5045 MB / 1.74 GB, free: 108.6 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0488/2.776, allocations: 16.05 MB / 1.756 GB, free: 92.5 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.07227/2.849, allocations: 24.92 MB / 1.78 GB, free: 67.46 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0171/2.866, allocations: 7.055 MB / 1.787 GB, free: 60.39 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004398/2.87, allocations: 3.126 MB / 1.79 GB, free: 57.25 MB / 1.264 GB Notification: Performance of Backend: time 7.81e-07/2.87, allocations: 0 / 1.79 GB, free: 57.25 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02923/2.899, allocations: 8.975 MB / 1.799 GB, free: 48.5 MB / 1.264 GB Notification: Performance of SimCode: time 0.02444/2.924, allocations: 14.56 MB / 1.813 GB, free: 33.88 MB / 1.264 GB Notification: Performance of Templates: time 0.2298/3.154, allocations: 151.7 MB / 1.961 GB, free: 10.43 MB / 1.389 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.makefile (rm -f Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.sim & ./Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe 2>&1)