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.001139/0.001139, allocations: 113.3 kB / 16.42 MB, free: 6.496 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.00104/0.00104, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 296.7 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.9391/0.9391, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001786, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3647, allocations: 86.99 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.1758/0.5406, allocations: 182.5 MB / 0.9452 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3565/0.8971, allocations: 12.99 MB / 0.9579 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.8998, allocations: 80.59 kB / 0.958 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.9015, allocations: 0.7588 MB / 0.9587 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.9066, allocations: 2.259 MB / 0.9609 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.9115, allocations: 2.726 MB / 0.9636 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009892/0.9214, allocations: 11.91 MB / 0.9752 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.9345, allocations: 14.38 MB / 0.9893 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007277/0.9418, allocations: 5.634 MB / 0.9948 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007789/0.9496, allocations: 5.943 MB / 1.001 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.003237/0.9529, allocations: 1.881 MB / 1.002 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005786/0.9587, allocations: 3.184 MB / 1.006 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003008/0.9617, allocations: 3.487 MB / 1.009 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00749/0.9692, allocations: 6.009 MB / 1.015 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01789/0.9871, allocations: 20.51 MB / 1.035 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9872, allocations: 0 / 1.035 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9872, allocations: 0 / 1.035 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0004461/0.9876, allocations: 0 / 1.035 GB, free: 14.27 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.03096/1.019, allocations: 11.02 MB / 1.046 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.019, allocations: 8.031 kB / 1.046 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05958/1.078, allocations: 11.01 MB / 1.056 GB, free: 9.926 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.091, allocations: 5.938 MB / 1.062 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006265/1.092, allocations: 0.6781 MB / 1.063 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003454/1.095, allocations: 0.8672 MB / 1.064 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04856/1.144, allocations: 18.46 MB / 1.082 GB, free: 108 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002833/1.144, allocations: 1.688 kB / 1.082 GB, free: 108 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00331/1.147, allocations: 376 kB / 1.082 GB, free: 15.74 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002601/1.147, allocations: 314 kB / 1.082 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06248/1.21, allocations: 23.41 MB / 1.105 GB, free: 8 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.08011/1.29, allocations: 41.64 MB / 1.146 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03798/1.328, allocations: 13.99 MB / 1.16 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02058/1.349, allocations: 7.881 MB / 1.167 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.35, allocations: 0.8249 MB / 1.168 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02229/1.373, allocations: 8.753 MB / 1.177 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=684): time 9.648e-06/1.373, allocations: 0 / 1.177 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=686): time 0.1096/1.482, allocations: 37.99 MB / 1.214 GB, free: 9.004 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/1.482, allocations: 257.3 kB / 1.214 GB, free: 8.707 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007301/1.49, allocations: 4.366 MB / 1.218 GB, free: 4.316 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001709/1.491, allocations: 157.7 kB / 1.218 GB, free: 4.156 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.494, allocations: 3.113 MB / 1.221 GB, free: 1.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.003095/1.497, allocations: 2.224 MB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004385/1.502, allocations: 1.309 MB / 1.225 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/1.502, allocations: 305.1 kB / 1.225 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01825/1.52, allocations: 6.893 MB / 1.232 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01885/1.539, allocations: 7.491 MB / 1.239 GB, free: 14.72 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.695/3.235, allocations: 272.8 MB / 1.506 GB, free: 285.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/3.235, allocations: 4 kB / 1.506 GB, free: 285.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.0349/3.27, allocations: 15.37 MB / 1.521 GB, free: 270.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/3.27, allocations: 4 kB / 1.521 GB, free: 270.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/3.27, allocations: 12.25 kB / 1.521 GB, free: 270.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007583/3.27, allocations: 177.6 kB / 1.521 GB, free: 270.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/3.283, allocations: 2.402 MB / 1.523 GB, free: 267.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/3.286, allocations: 3.621 MB / 1.527 GB, free: 264 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/3.297, allocations: 1.238 MB / 1.528 GB, free: 262.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/3.298, allocations: 311.7 kB / 1.528 GB, free: 262.5 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.005491/3.303, allocations: 2.923 MB / 1.531 GB, free: 259.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/3.305, allocations: 0.5329 MB / 1.532 GB, free: 259.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04053/3.346, allocations: 17.15 MB / 1.548 GB, free: 242.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03316/3.379, allocations: 14.39 MB / 1.562 GB, free: 227.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/3.379, allocations: 0 / 1.562 GB, free: 227.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003748/3.383, allocations: 2.297 MB / 1.565 GB, free: 225.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001774/3.384, allocations: 199.5 kB / 1.565 GB, free: 225.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009913/3.394, allocations: 1.225 MB / 1.566 GB, free: 224.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/3.395, allocations: 0.5088 MB / 1.566 GB, free: 223.7 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04147/3.437, allocations: 16.24 MB / 1.582 GB, free: 207.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0522/3.489, allocations: 25.43 MB / 1.607 GB, free: 182.1 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01538/3.505, allocations: 7.64 MB / 1.615 GB, free: 174.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004844/3.509, allocations: 3.341 MB / 1.618 GB, free: 171.1 MB / 1.014 GB Notification: Performance of Backend: time 4.51e-07/3.509, allocations: 0 / 1.618 GB, free: 171.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02385/3.533, allocations: 9.689 MB / 1.627 GB, free: 161.8 MB / 1.014 GB Notification: Performance of SimCode: time 0.02138/3.555, allocations: 14.92 MB / 1.642 GB, free: 146.8 MB / 1.014 GB Notification: Performance of Templates: time 0.4623/4.017, allocations: 151.6 MB / 1.79 GB, free: 452.5 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)