Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon5R1C.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling") translateModel(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon5R1C.TAir",fileNamePrefix="Buildings_latest_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.001123/0.001123, allocations: 116.1 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.001117/0.001117, allocations: 183.9 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.506/2.506, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7193, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.01658/0.7359, allocations: 14.92 MB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1577/0.8937, allocations: 153.7 MB / 1.373 GB, free: 4.293 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.8966, allocations: 51.81 kB / 1.373 GB, free: 4.242 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.8988, allocations: 0.5993 MB / 1.374 GB, free: 3.637 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005238/0.9041, allocations: 1.411 MB / 1.375 GB, free: 2.223 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.9095, allocations: 2.217 MB / 1.377 GB, free: 12 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01443/0.924, allocations: 11.99 MB / 1.389 GB, free: 3.992 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01321/0.9373, allocations: 8.783 MB / 1.398 GB, free: 11.1 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00679/0.9441, allocations: 5.311 MB / 1.403 GB, free: 5.777 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008039/0.9522, allocations: 5.75 MB / 1.408 GB, free: 8 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.004561/0.9568, allocations: 1.82 MB / 1.41 GB, free: 14.18 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/0.9625, allocations: 2.195 MB / 1.412 GB, free: 11.99 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.9673, allocations: 3.27 MB / 1.415 GB, free: 8.715 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01046/0.9778, allocations: 6.016 MB / 1.421 GB, free: 2.676 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02184/0.9996, allocations: 19.77 MB / 1.441 GB, free: 14.85 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.9997, allocations: 0 / 1.441 GB, free: 14.85 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9997, allocations: 0 / 1.441 GB, free: 14.85 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0005477/1, allocations: 4 kB / 1.441 GB, free: 14.84 MB / 1.17 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.03378/1.034, allocations: 10.63 MB / 1.451 GB, free: 4.078 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.034, allocations: 8.031 kB / 1.451 GB, free: 4.07 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05656/1.091, allocations: 10.85 MB / 1.462 GB, free: 9.191 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/1.102, allocations: 5.522 MB / 1.467 GB, free: 3.594 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006098/1.103, allocations: 0.6422 MB / 1.468 GB, free: 2.949 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003587/1.106, allocations: 0.8359 MB / 1.469 GB, free: 2.113 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05196/1.158, allocations: 17.99 MB / 1.486 GB, free: 8 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/1.159, allocations: 4 kB / 1.486 GB, free: 4 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003291/1.162, allocations: 356 kB / 1.486 GB, free: 15.66 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/1.162, allocations: 212 kB / 1.487 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06475/1.227, allocations: 23.02 MB / 1.509 GB, free: 8.398 MB / 1.232 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.09332/1.32, allocations: 43.23 MB / 1.551 GB, free: 12.16 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 1.182/2.503, allocations: 13.84 MB / 1.565 GB, free: 322.4 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02169/2.524, allocations: 7.695 MB / 1.572 GB, free: 320.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/2.526, allocations: 0.6325 MB / 1.573 GB, free: 319.6 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02283/2.549, allocations: 8.592 MB / 1.581 GB, free: 316.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=654): time 1.402e-05/2.549, allocations: 3.281 kB / 1.581 GB, free: 316.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=654): time 0.06554/2.614, allocations: 22.36 MB / 1.603 GB, free: 309.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/2.614, allocations: 250.2 kB / 1.603 GB, free: 309.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005612/2.62, allocations: 4.049 MB / 1.607 GB, free: 306.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002107/2.622, allocations: 155 kB / 1.608 GB, free: 306.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002307/2.624, allocations: 2.924 MB / 1.61 GB, free: 304 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003569/2.628, allocations: 2.12 MB / 1.612 GB, free: 301.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004887/2.633, allocations: 1.257 MB / 1.614 GB, free: 300.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/2.633, allocations: 301.1 kB / 1.614 GB, free: 300.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01687/2.65, allocations: 6.772 MB / 1.621 GB, free: 293.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01796/2.668, allocations: 7.326 MB / 1.628 GB, free: 286.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03368/2.702, allocations: 13.57 MB / 1.641 GB, free: 272.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/2.702, allocations: 4 kB / 1.641 GB, free: 272.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.0404/2.742, allocations: 15.18 MB / 1.656 GB, free: 257.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/2.742, allocations: 8 kB / 1.656 GB, free: 257.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/2.742, allocations: 12.25 kB / 1.656 GB, free: 257.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/2.743, allocations: 349.4 kB / 1.656 GB, free: 256.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01353/2.757, allocations: 2.313 MB / 1.658 GB, free: 254.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/2.763, allocations: 5.102 MB / 1.663 GB, free: 249.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/2.775, allocations: 1.603 MB / 1.665 GB, free: 247.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/2.777, allocations: 299.7 kB / 1.665 GB, free: 247.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.006751/2.783, allocations: 2.815 MB / 1.668 GB, free: 244.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001921/2.785, allocations: 497.8 kB / 1.668 GB, free: 243.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04569/2.831, allocations: 16.98 MB / 1.685 GB, free: 226.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001759/2.831, allocations: 31.88 kB / 1.685 GB, free: 226.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/2.831, allocations: 0 / 1.685 GB, free: 226.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006023/2.837, allocations: 2.324 MB / 1.687 GB, free: 224.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002819/2.84, allocations: 187.5 kB / 1.688 GB, free: 224.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01094/2.851, allocations: 1.224 MB / 1.689 GB, free: 223.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001574/2.853, allocations: 0.4968 MB / 1.689 GB, free: 222.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04748/2.9, allocations: 16.06 MB / 1.705 GB, free: 206.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05665/2.957, allocations: 24.89 MB / 1.729 GB, free: 181.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01684/2.974, allocations: 7.456 MB / 1.736 GB, free: 174 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004655/2.978, allocations: 3.126 MB / 1.74 GB, free: 170.9 MB / 1.279 GB Notification: Performance of Backend: time 1.022e-06/2.978, allocations: 0 / 1.74 GB, free: 170.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02871/3.007, allocations: 9.398 MB / 1.749 GB, free: 161.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.02326/3.03, allocations: 14.23 MB / 1.763 GB, free: 147.5 MB / 1.279 GB Notification: Performance of Templates: time 0.1749/3.205, allocations: 148 MB / 1.907 GB, free: 15.93 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.sim & ./Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.pipe 2>&1)