Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.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.HeatingCoolingHVAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC") translateModel(BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.0009946/0.0009946, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 286.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9203/0.9203, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003233/0.003233, allocations: 92.28 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4473, allocations: 86.98 MB / 0.767 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.1821/0.6294, allocations: 182.5 MB / 0.9452 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4089/1.038, allocations: 13.01 MB / 0.9579 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/1.041, allocations: 78.72 kB / 0.958 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/1.044, allocations: 0.7708 MB / 0.9588 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006487/1.05, allocations: 2.327 MB / 0.961 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005753/1.056, allocations: 2.734 MB / 0.9637 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01006/1.066, allocations: 11.91 MB / 0.9753 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01212/1.078, allocations: 14.38 MB / 0.9894 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006292/1.084, allocations: 5.637 MB / 0.9949 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/1.091, allocations: 5.947 MB / 1.001 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002673/1.094, allocations: 1.882 MB / 1.003 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005232/1.099, allocations: 3.2 MB / 1.006 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002656/1.102, allocations: 3.482 MB / 1.009 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006783/1.109, allocations: 6.005 MB / 1.015 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01912/1.128, allocations: 20.5 MB / 1.035 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.128, allocations: 4 kB / 1.035 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.543e-06/1.128, allocations: 0 / 1.035 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0004174/1.128, allocations: 0 / 1.035 GB, free: 14.37 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02779/1.156, allocations: 11.02 MB / 1.046 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.156, allocations: 8.031 kB / 1.046 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05806/1.214, allocations: 11.01 MB / 1.056 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/1.227, allocations: 5.938 MB / 1.062 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004966/1.228, allocations: 0.6781 MB / 1.063 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/1.23, allocations: 0.8727 MB / 1.064 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/1.276, allocations: 18.45 MB / 1.082 GB, free: 216 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/1.276, allocations: 8.859 kB / 1.082 GB, free: 212 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/1.278, allocations: 373.2 kB / 1.082 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/1.278, allocations: 314 kB / 1.082 GB, free: 15.53 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06205/1.34, allocations: 23.42 MB / 1.105 GB, free: 8.098 MB / 0.8106 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.08434/1.424, allocations: 41.63 MB / 1.146 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03778/1.462, allocations: 13.99 MB / 1.16 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02072/1.483, allocations: 7.886 MB / 1.167 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/1.485, allocations: 0.8189 MB / 1.168 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0237/1.508, allocations: 8.753 MB / 1.177 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=684): time 1.116e-05/1.508, allocations: 0 / 1.177 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=686): time 0.1126/1.621, allocations: 37.99 MB / 1.214 GB, free: 9.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.621, allocations: 257.3 kB / 1.214 GB, free: 8.816 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006896/1.628, allocations: 4.367 MB / 1.218 GB, free: 4.422 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001568/1.63, allocations: 161 kB / 1.218 GB, free: 4.262 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00281/1.632, allocations: 3.105 MB / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003172/1.636, allocations: 2.23 MB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003909/1.64, allocations: 1.305 MB / 1.225 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.64, allocations: 301.1 kB / 1.225 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01844/1.658, allocations: 6.897 MB / 1.232 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01961/1.678, allocations: 7.494 MB / 1.239 GB, free: 14.82 MB / 0.9512 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zonHVAC.vol.dynBal.medium.p = zonHVAC.vol.dynBal.p_start (sin.p = zonHVAC.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 1.709/3.387, allocations: 272.8 MB / 1.506 GB, free: 285.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/3.387, allocations: 3.375 kB / 1.506 GB, free: 285.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.03718/3.424, allocations: 15.37 MB / 1.521 GB, free: 270.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/3.424, allocations: 10.73 kB / 1.521 GB, free: 270.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/3.424, allocations: 4 kB / 1.521 GB, free: 270.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/3.425, allocations: 192.3 kB / 1.521 GB, free: 270.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01373/3.439, allocations: 2.398 MB / 1.523 GB, free: 268.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/3.442, allocations: 3.62 MB / 1.527 GB, free: 264.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/3.453, allocations: 1.237 MB / 1.528 GB, free: 263 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/3.454, allocations: 311.7 kB / 1.528 GB, free: 262.7 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: zonHVAC.vol.dynBal.medium.p = zonHVAC.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 73 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,zonHVAC.opa.HDifTilRof.incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTilRof.incAng.decAng.tNext,zonHVAC.opa.HDirTilRoo.incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTilRoo.incAng.decAng.tNext,zonHVAC.opa.HDifTil[4].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTil[4].incAng.decAng.tNext,zonHVAC.opa.HDifTil[3].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTil[3].incAng.decAng.tNext,zonHVAC.opa.HDifTil[2].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTil[2].incAng.decAng.tNext,zonHVAC.opa.HDifTil[1].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDifTil[1].incAng.decAng.tNext,zonHVAC.opa.HDirTil[4].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTil[4].incAng.decAng.tNext,zonHVAC.opa.HDirTil[3].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTil[3].incAng.decAng.tNext,zonHVAC.opa.HDirTil[2].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTil[2].incAng.decAng.tNext,zonHVAC.opa.HDirTil[1].incAng.decAng.tNext,$PRE.zonHVAC.opa.HDirTil[1].incAng.decAng.tNext,zonHVAC.win.HDifTil[4].incAng.decAng.tNext,$PRE.zonHVAC.win.HDifTil[4].incAng.decAng.tNext,zonHVAC.win.HDifTil[3].incAng.decAng.tNext,$PRE.zonHVAC.win.HDifTil[3].incAng.decAng.tNext,zonHVAC.win.HDifTil[2].incAng.decAng.tNext,$PRE.zonHVAC.win.HDifTil[2].incAng.decAng.tNext,zonHVAC.win.HDifTil[1].incAng.decAng.tNext,$PRE.zonHVAC.win.HDifTil[1].incAng.decAng.tNext,zonHVAC.win.HDirTil[4].incAng.decAng.tNext,$PRE.zonHVAC.win.HDirTil[4].incAng.decAng.tNext,zonHVAC.win.HDirTil[3].incAng.decAng.tNext,$PRE.zonHVAC.win.HDirTil[3].incAng.decAng.tNext,zonHVAC.win.HDirTil[2].incAng.decAng.tNext,$PRE.zonHVAC.win.HDirTil[2].incAng.decAng.tNext,zonHVAC.win.HDirTil[1].incAng.decAng.tNext,$PRE.zonHVAC.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 (786): * Single equations (assignments): 784 * 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): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005109/3.459, allocations: 2.932 MB / 1.531 GB, free: 259.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/3.461, allocations: 0.5291 MB / 1.532 GB, free: 259.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04001/3.501, allocations: 17.15 MB / 1.548 GB, free: 242.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03305/3.534, allocations: 14.38 MB / 1.562 GB, free: 228 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/3.534, allocations: 0 / 1.562 GB, free: 228 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004807/3.539, allocations: 2.295 MB / 1.565 GB, free: 225.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/3.541, allocations: 199.5 kB / 1.565 GB, free: 225.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009749/3.55, allocations: 1.231 MB / 1.566 GB, free: 224.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/3.551, allocations: 0.5049 MB / 1.567 GB, free: 224 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0426/3.594, allocations: 16.24 MB / 1.582 GB, free: 207.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05172/3.646, allocations: 25.43 MB / 1.607 GB, free: 182.4 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01561/3.661, allocations: 7.638 MB / 1.615 GB, free: 174.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004171/3.666, allocations: 3.338 MB / 1.618 GB, free: 171.4 MB / 1.014 GB Notification: Performance of Backend: time 4.61e-07/3.666, allocations: 0 / 1.618 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02348/3.689, allocations: 9.682 MB / 1.627 GB, free: 162.1 MB / 1.014 GB Notification: Performance of SimCode: time 0.02051/3.71, allocations: 14.94 MB / 1.642 GB, free: 147.1 MB / 1.014 GB Notification: Performance of Templates: time 0.4649/4.175, allocations: 151.6 MB / 1.79 GB, free: 452.7 MB / 1.014 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.pipe 2>&1)