Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling") translateModel(BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001046/0.001046, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.0009934/0.0009934, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.267/1.267, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 288.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9126/0.9126, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.411, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.01228/0.4233, allocations: 11.07 MB / 0.7778 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1481/0.5715, allocations: 153.3 MB / 0.9275 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.5734, allocations: 55.75 kB / 0.9276 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.5749, allocations: 479 kB / 0.928 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.5784, allocations: 1.093 MB / 0.9291 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/0.5826, allocations: 2.188 MB / 0.9312 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008932/0.5916, allocations: 10.34 MB / 0.9413 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009102/0.6007, allocations: 8.985 MB / 0.9501 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005103/0.6058, allocations: 5.061 MB / 0.955 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.345/0.9508, allocations: 5.481 MB / 0.9604 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004052/0.9549, allocations: 1.822 MB / 0.9622 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/0.9583, allocations: 2.205 MB / 0.9643 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002733/0.9611, allocations: 3.263 MB / 0.9675 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007216/0.9683, allocations: 5.678 MB / 0.9731 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.9809, allocations: 19.24 MB / 0.9918 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.981, allocations: 0.5312 kB / 0.9918 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.981, allocations: 0 / 0.9918 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000338/0.9813, allocations: 0.625 kB / 0.9918 GB, free: 13.85 MB / 0.7169 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.02328/1.005, allocations: 10.38 MB / 1.002 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/1.005, allocations: 8.438 kB / 1.002 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05339/1.058, allocations: 10.84 MB / 1.013 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009392/1.067, allocations: 5.519 MB / 1.018 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004751/1.068, allocations: 0.6524 MB / 1.019 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/1.071, allocations: 0.8288 MB / 1.019 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04336/1.114, allocations: 17.99 MB / 1.037 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/1.114, allocations: 0 / 1.037 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00218/1.116, allocations: 360 kB / 1.037 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/1.117, allocations: 212 kB / 1.038 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05861/1.175, allocations: 23.01 MB / 1.06 GB, free: 1.98 MB / 0.7481 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.07445/1.25, allocations: 40.16 MB / 1.099 GB, free: 10.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03523/1.285, allocations: 13.85 MB / 1.113 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0187/1.304, allocations: 7.684 MB / 1.12 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.305, allocations: 0.6376 MB / 1.121 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02042/1.325, allocations: 8.585 MB / 1.129 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=654): time 8.766e-06/1.325, allocations: 3.375 kB / 1.129 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=654): time 0.06056/1.386, allocations: 22.33 MB / 1.151 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.386, allocations: 252.8 kB / 1.151 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006712/1.393, allocations: 4.054 MB / 1.155 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0009835/1.394, allocations: 149.7 kB / 1.155 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002781/1.396, allocations: 2.932 MB / 1.158 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.002338/1.399, allocations: 2.12 MB / 1.16 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003313/1.402, allocations: 1.257 MB / 1.162 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/1.402, allocations: 301.1 kB / 1.162 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0177/1.42, allocations: 6.772 MB / 1.168 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01779/1.438, allocations: 7.326 MB / 1.176 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03541/1.473, allocations: 13.57 MB / 1.189 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/1.473, allocations: 4 kB / 1.189 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.04151/1.515, allocations: 15.16 MB / 1.204 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/1.515, allocations: 8.25 kB / 1.204 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.515, allocations: 8 kB / 1.204 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/1.516, allocations: 337.4 kB / 1.204 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01326/1.529, allocations: 2.316 MB / 1.206 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006724/1.536, allocations: 5.002 MB / 1.211 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01117/1.547, allocations: 1.589 MB / 1.213 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.548, allocations: 303.7 kB / 1.213 GB, free: 5.133 MB / 0.9044 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 (733): * Single equations (assignments): 731 * 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,24), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005932/1.554, allocations: 2.817 MB / 1.216 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001946/1.556, allocations: 497.7 kB / 1.216 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04639/1.603, allocations: 16.96 MB / 1.233 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-05/1.603, allocations: 31.88 kB / 1.233 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.603, allocations: 0 / 1.233 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004881/1.608, allocations: 2.324 MB / 1.235 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002243/1.61, allocations: 199.4 kB / 1.235 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01085/1.621, allocations: 1.217 MB / 1.236 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001519/1.622, allocations: 0.5046 MB / 1.237 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05257/1.675, allocations: 16.05 MB / 1.253 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06697/1.742, allocations: 24.89 MB / 1.277 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01983/1.762, allocations: 7.466 MB / 1.284 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006767/1.769, allocations: 3.122 MB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of Backend: time 6.51e-07/1.769, allocations: 0 / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.03057/1.799, allocations: 9.38 MB / 1.296 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of SimCode: time 0.02621/1.826, allocations: 14.03 MB / 1.31 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of Templates: time 0.4616/2.287, allocations: 141.7 MB / 1.449 GB, free: 330.8 MB / 0.9981 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling.pipe 2>&1)