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.001572/0.001572, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001773/0.001773, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 289.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.9357/0.9357, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 104.2 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3758, allocations: 86.98 MB / 0.767 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.01248/0.3883, allocations: 11.05 MB / 0.7778 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1506/0.5389, allocations: 153.3 MB / 0.9275 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/0.5411, allocations: 59.69 kB / 0.9276 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.5427, allocations: 483 kB / 0.928 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.5463, allocations: 1.118 MB / 0.9291 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004438/0.5508, allocations: 2.183 MB / 0.9313 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01001/0.5608, allocations: 10.34 MB / 0.9414 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.5713, allocations: 8.975 MB / 0.9501 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005609/0.5769, allocations: 5.064 MB / 0.9551 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3551/0.932, allocations: 5.483 MB / 0.9604 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004238/0.9363, allocations: 1.821 MB / 0.9622 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.9401, allocations: 2.206 MB / 0.9644 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002677/0.9427, allocations: 3.256 MB / 0.9675 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.008766/0.9515, allocations: 5.68 MB / 0.9731 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.9663, allocations: 19.24 MB / 0.9919 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.9663, allocations: 3.875 kB / 0.9919 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9663, allocations: 0 / 0.9919 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003993/0.9667, allocations: 0.6875 kB / 0.9919 GB, free: 13.74 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.0297/0.9964, allocations: 10.38 MB / 1.002 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9965, allocations: 11.06 kB / 1.002 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0549/1.051, allocations: 10.84 MB / 1.013 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/1.063, allocations: 5.522 MB / 1.018 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005466/1.064, allocations: 0.6485 MB / 1.019 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003942/1.068, allocations: 0.828 MB / 1.019 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04769/1.116, allocations: 17.98 MB / 1.037 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/1.116, allocations: 3.281 kB / 1.037 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/1.118, allocations: 364 kB / 1.037 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/1.118, allocations: 212 kB / 1.038 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06367/1.182, allocations: 23.01 MB / 1.06 GB, free: 2.129 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.09313/1.275, allocations: 40.16 MB / 1.099 GB, free: 10.41 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04215/1.317, allocations: 13.85 MB / 1.113 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02143/1.339, allocations: 7.683 MB / 1.12 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.34, allocations: 0.635 MB / 1.121 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02498/1.365, allocations: 8.581 MB / 1.129 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=654): time 1.122e-05/1.365, allocations: 0 / 1.129 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=654): time 0.07232/1.437, allocations: 22.33 MB / 1.151 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/1.438, allocations: 248.5 kB / 1.151 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007705/1.445, allocations: 4.054 MB / 1.155 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.002362/1.448, allocations: 153.7 kB / 1.155 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.003205/1.451, allocations: 2.922 MB / 1.158 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.004084/1.455, allocations: 2.121 MB / 1.16 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007058/1.462, allocations: 1.257 MB / 1.162 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/1.462, allocations: 301.1 kB / 1.162 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02005/1.482, allocations: 6.772 MB / 1.168 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02177/1.504, allocations: 7.328 MB / 1.176 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04071/1.545, allocations: 13.57 MB / 1.189 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.433e-05/1.545, allocations: 4 kB / 1.189 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.05113/1.596, allocations: 15.16 MB / 1.204 GB, free: 15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.596, allocations: 12 kB / 1.204 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.596, allocations: 8 kB / 1.204 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/1.598, allocations: 341.3 kB / 1.204 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01499/1.613, allocations: 2.316 MB / 1.206 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007147/1.62, allocations: 5.01 MB / 1.211 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01268/1.632, allocations: 1.59 MB / 1.213 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002544/1.635, allocations: 303.7 kB / 1.213 GB, free: 5.246 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.008925/1.644, allocations: 2.813 MB / 1.216 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002999/1.647, allocations: 497.7 kB / 1.216 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05382/1.701, allocations: 16.96 MB / 1.233 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001846/1.701, allocations: 31.88 kB / 1.233 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.701, allocations: 4 kB / 1.233 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006985/1.708, allocations: 2.328 MB / 1.235 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003173/1.711, allocations: 191.4 kB / 1.235 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01157/1.723, allocations: 1.225 MB / 1.237 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002016/1.725, allocations: 0.4929 MB / 1.237 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0537/1.779, allocations: 16.05 MB / 1.253 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06483/1.843, allocations: 24.9 MB / 1.277 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01997/1.863, allocations: 7.465 MB / 1.284 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006527/1.87, allocations: 3.114 MB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of Backend: time 8.72e-07/1.87, allocations: 0 / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.03207/1.902, allocations: 9.38 MB / 1.296 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of SimCode: time 0.02736/1.929, allocations: 14.03 MB / 1.31 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of Templates: time 0.4827/2.412, allocations: 141.7 MB / 1.449 GB, free: 331.1 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)