Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling") translateModel(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon5R1C.TAir",fileNamePrefix="Buildings_10_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.001283/0.001284, allocations: 110.8 kB / 16.42 MB, free: 6.527 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.001336/0.001336, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.265/1.265, 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/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.343/2.343, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 68.06 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7312/0.7331, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.0154/0.7486, allocations: 15.01 MB / 1.182 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.9059, allocations: 153.7 MB / 1.332 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.9094, allocations: 55.75 kB / 1.332 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.9114, allocations: 0.5994 MB / 1.333 GB, free: 9.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.9167, allocations: 1.437 MB / 1.334 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005151/0.9219, allocations: 2.229 MB / 1.336 GB, free: 6.109 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.9338, allocations: 11.99 MB / 1.348 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009817/0.9437, allocations: 8.783 MB / 1.357 GB, free: 1.191 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006392/0.9501, allocations: 5.322 MB / 1.362 GB, free: 11.85 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008099/0.9582, allocations: 5.734 MB / 1.367 GB, free: 6.098 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003967/0.9622, allocations: 1.82 MB / 1.369 GB, free: 4.277 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005099/0.9673, allocations: 2.207 MB / 1.371 GB, free: 2.074 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004432/0.9718, allocations: 3.258 MB / 1.374 GB, free: 14.81 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008869/0.9807, allocations: 6.013 MB / 1.38 GB, free: 8.773 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0201/1.001, allocations: 19.82 MB / 1.4 GB, free: 4.898 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/1.001, allocations: 4 kB / 1.4 GB, free: 4.895 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.644e-06/1.001, allocations: 0 / 1.4 GB, free: 4.895 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004441/1.001, allocations: 0 / 1.4 GB, free: 4.895 MB / 1.123 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.02875/1.03, allocations: 10.86 MB / 1.41 GB, free: 9.887 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.03, allocations: 8.922 kB / 1.41 GB, free: 9.879 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05346/1.084, allocations: 10.89 MB / 1.421 GB, free: 14.96 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/1.095, allocations: 5.544 MB / 1.426 GB, free: 9.348 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005209/1.095, allocations: 0.6461 MB / 1.427 GB, free: 8.699 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003373/1.099, allocations: 0.8359 MB / 1.428 GB, free: 7.863 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04812/1.147, allocations: 18 MB / 1.445 GB, free: 5.746 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002359/1.147, allocations: 0 / 1.445 GB, free: 5.746 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002938/1.15, allocations: 356 kB / 1.446 GB, free: 5.398 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/1.15, allocations: 219.9 kB / 1.446 GB, free: 5.184 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06155/1.212, allocations: 23.01 MB / 1.468 GB, free: 14.14 MB / 1.201 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.08083/1.292, allocations: 43.31 MB / 1.511 GB, free: 1.832 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03569/1.328, allocations: 13.85 MB / 1.524 GB, free: 3.969 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01879/1.347, allocations: 7.693 MB / 1.532 GB, free: 12.26 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/1.348, allocations: 0.6348 MB / 1.532 GB, free: 11.53 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02395/1.372, allocations: 8.592 MB / 1.541 GB, free: 2.871 MB / 1.264 GB Notification: Performance of pre-optimization done (n=654): time 2.193e-05/1.372, allocations: 0 / 1.541 GB, free: 2.871 MB / 1.264 GB Notification: Performance of matching and sorting (n=654): time 1.176/2.549, allocations: 22.39 MB / 1.563 GB, free: 360.6 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/2.549, allocations: 253.1 kB / 1.563 GB, free: 360.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005187/2.554, allocations: 4.048 MB / 1.567 GB, free: 359.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001727/2.556, allocations: 152.4 kB / 1.567 GB, free: 358.9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/2.558, allocations: 2.997 MB / 1.57 GB, free: 357.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0024/2.56, allocations: 2.221 MB / 1.572 GB, free: 356.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002417/2.563, allocations: 1.263 MB / 1.573 GB, free: 355.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.231e-05/2.563, allocations: 304.4 kB / 1.574 GB, free: 355.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01554/2.578, allocations: 6.77 MB / 1.58 GB, free: 353.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01667/2.595, allocations: 7.335 MB / 1.587 GB, free: 350.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03308/2.628, allocations: 13.57 MB / 1.601 GB, free: 343.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/2.628, allocations: 0 / 1.601 GB, free: 343.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03845/2.666, allocations: 15.2 MB / 1.615 GB, free: 328.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/2.666, allocations: 12.25 kB / 1.615 GB, free: 328.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/2.667, allocations: 4 kB / 1.615 GB, free: 328.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/2.668, allocations: 355.6 kB / 1.616 GB, free: 327.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/2.681, allocations: 2.313 MB / 1.618 GB, free: 325.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/2.687, allocations: 5.117 MB / 1.623 GB, free: 320 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.698, allocations: 1.615 MB / 1.625 GB, free: 318.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/2.7, allocations: 299.7 kB / 1.625 GB, free: 318.2 MB / 1.279 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.005647/2.705, allocations: 2.812 MB / 1.628 GB, free: 315.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/2.707, allocations: 0.5123 MB / 1.628 GB, free: 314.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0433/2.75, allocations: 16.98 MB / 1.645 GB, free: 297.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/2.75, allocations: 34.94 kB / 1.645 GB, free: 297.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/2.75, allocations: 0 / 1.645 GB, free: 297.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004612/2.755, allocations: 2.352 MB / 1.647 GB, free: 295.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001594/2.757, allocations: 195.5 kB / 1.647 GB, free: 295.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009462/2.766, allocations: 1.225 MB / 1.648 GB, free: 294.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/2.767, allocations: 0.5046 MB / 1.649 GB, free: 293.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04196/2.809, allocations: 16.06 MB / 1.665 GB, free: 277.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05163/2.861, allocations: 24.92 MB / 1.689 GB, free: 252.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01704/2.878, allocations: 7.459 MB / 1.696 GB, free: 245.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004411/2.882, allocations: 3.122 MB / 1.699 GB, free: 242 MB / 1.279 GB Notification: Performance of Backend: time 3.81e-07/2.882, allocations: 0 / 1.699 GB, free: 242 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02513/2.908, allocations: 9.412 MB / 1.709 GB, free: 232.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.02302/2.931, allocations: 14.46 MB / 1.723 GB, free: 218.3 MB / 1.279 GB Notification: Performance of Templates: time 0.1673/3.098, allocations: 148 MB / 1.867 GB, free: 70.63 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.makefile (rm -f Buildings_10_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.sim & ./Buildings_10_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe 2>&1)