Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl") translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.741/1.741, allocations: 287.4 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 180.8 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008744/0.0008745, allocations: 89.59 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 9.156 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2062, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVCO2.VAVSystemCTControl): time 3.135/3.341, allocations: 1.142 GB / 2.121 GB, free: 52.41 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.1833/3.525, allocations: 118 MB / 2.236 GB, free: 6.203 MB / 1.182 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03849/3.563, allocations: 0.6362 MB / 2.237 GB, free: 5.562 MB / 1.182 GB Notification: Performance of NFTyping.typeComponents: time 0.02845/3.592, allocations: 6.671 MB / 2.244 GB, free: 14.85 MB / 1.198 GB Notification: Performance of NFTyping.typeBindings: time 0.06919/3.661, allocations: 18.53 MB / 2.262 GB, free: 12.26 MB / 1.214 GB Notification: Performance of NFTyping.typeClassSections: time 0.04131/3.702, allocations: 12.25 MB / 2.274 GB, free: 148 kB / 1.214 GB Notification: Performance of NFFlatten.flatten: time 0.07665/3.779, allocations: 51.65 MB / 2.324 GB, free: 12.35 MB / 1.276 GB Notification: Performance of NFFlatten.resolveConnections: time 1.102/4.881, allocations: 17.69 MB / 2.341 GB, free: 19.16 MB / 1.276 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06712/4.948, allocations: 18.3 MB / 2.359 GB, free: 19.12 MB / 1.276 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04045/4.988, allocations: 14.4 MB / 2.373 GB, free: 19.07 MB / 1.276 GB Notification: Performance of NFPackage.collectConstants: time 0.01185/5, allocations: 0.9296 MB / 2.374 GB, free: 19.07 MB / 1.276 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03885/5.039, allocations: 8.278 MB / 2.382 GB, free: 19.07 MB / 1.276 GB Notification: Performance of NFScalarize.scalarize: time 0.02069/5.06, allocations: 6.698 MB / 2.389 GB, free: 19.07 MB / 1.276 GB Notification: Performance of NFVerifyModel.verify: time 0.0175/5.077, allocations: 4.302 MB / 2.393 GB, free: 19.03 MB / 1.276 GB Notification: Performance of NFConvertDAE.convert: time 0.06086/5.138, allocations: 32.56 MB / 2.425 GB, free: 17.71 MB / 1.276 GB Notification: Performance of FrontEnd - DAE generated: time 9.507e-06/5.138, allocations: 1.125 kB / 2.425 GB, free: 17.71 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.715e-06/5.138, allocations: 0 / 2.425 GB, free: 17.71 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.001654/5.14, allocations: 0 / 2.425 GB, free: 17.71 MB / 1.276 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.0662/5.206, allocations: 18.24 MB / 2.443 GB, free: 9.859 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/5.206, allocations: 6.781 kB / 2.443 GB, free: 9.859 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02883/5.235, allocations: 4.032 MB / 2.447 GB, free: 8.742 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04804/5.283, allocations: 16.5 MB / 2.463 GB, free: 5.727 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001723/5.285, allocations: 0.9759 MB / 2.464 GB, free: 5.691 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007719/5.293, allocations: 1.301 MB / 2.465 GB, free: 5.676 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06238/5.355, allocations: 17.3 MB / 2.482 GB, free: 1.375 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009161/5.356, allocations: 16.55 kB / 2.482 GB, free: 1.371 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006768/5.363, allocations: 0.4924 MB / 2.482 GB, free: 1.367 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005696/5.364, allocations: 466.6 kB / 2.483 GB, free: 1.328 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04685/5.41, allocations: 15.88 MB / 2.498 GB, free: 15.21 MB / 1.292 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.1677/5.578, allocations: 83.4 MB / 2.58 GB, free: 14.58 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02133/5.6, allocations: 10.19 MB / 2.59 GB, free: 13.23 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01455/5.614, allocations: 6.882 MB / 2.596 GB, free: 11.53 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/5.616, allocations: 339.9 kB / 2.597 GB, free: 11.26 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01813/5.634, allocations: 6.992 MB / 2.603 GB, free: 6.727 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02099/5.655, allocations: 3.448 MB / 2.607 GB, free: 3.66 MB / 1.339 GB Notification: Performance of pre-optimization done (n=888): time 6.948e-05/5.655, allocations: 0 / 2.607 GB, free: 3.66 MB / 1.339 GB Notification: Performance of matching and sorting (n=888): time 0.07144/5.726, allocations: 21.81 MB / 2.628 GB, free: 4.25 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003484/5.727, allocations: 0.6191 MB / 2.629 GB, free: 3.504 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04252/5.769, allocations: 13.61 MB / 2.642 GB, free: 10.13 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.003571/5.773, allocations: 240.2 kB / 2.642 GB, free: 10.03 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.01273/5.786, allocations: 8.007 MB / 2.65 GB, free: 6.133 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.007186/5.793, allocations: 3.069 MB / 2.653 GB, free: 3.496 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004032/5.797, allocations: 179.1 kB / 2.653 GB, free: 3.461 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.001488/5.799, allocations: 0.6648 MB / 2.654 GB, free: 2.934 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01521/5.814, allocations: 5.096 MB / 2.659 GB, free: 15.97 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0159/5.83, allocations: 8.128 MB / 2.667 GB, free: 9.145 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0276/5.857, allocations: 12.58 MB / 2.679 GB, free: 1.438 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/5.858, allocations: 12.98 kB / 2.679 GB, free: 1.426 MB / 1.385 GB Notification: Performance of matching and sorting (n=1170) (initialization): time 0.04885/5.906, allocations: 15.5 MB / 2.694 GB, free: 7.34 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 0.001126/5.908, allocations: 1.282 MB / 2.695 GB, free: 5.684 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001888/5.908, allocations: 47.23 kB / 2.696 GB, free: 5.641 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005897/5.914, allocations: 1.81 MB / 2.697 GB, free: 4.059 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01346/5.927, allocations: 2.141 MB / 2.699 GB, free: 2.098 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008755/5.936, allocations: 8.287 MB / 2.707 GB, free: 10.44 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02336/5.959, allocations: 1.445 MB / 2.709 GB, free: 9.176 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004023/5.963, allocations: 477.2 kB / 2.709 GB, free: 8.781 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/5.964, allocations: 4 kB / 2.709 GB, free: 8.777 MB / 1.417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03918/6.003, allocations: 13.69 MB / 2.723 GB, free: 0.6133 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002877/6.003, allocations: 47.25 kB / 2.723 GB, free: 0.5703 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/6.007, allocations: 1.284 MB / 2.724 GB, free: 15.48 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/6.019, allocations: 2.036 MB / 2.726 GB, free: 13.62 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/6.039, allocations: 12.29 MB / 2.738 GB, free: 4.422 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02286/6.062, allocations: 1.429 MB / 2.739 GB, free: 3.16 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003562/6.065, allocations: 462.6 kB / 2.74 GB, free: 2.781 MB / 1.432 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition7,$PRE.roo.occ.office1.nextTimeEvent,$whenCondition6,$PRE.roo.occ.office2.nextTimeEvent,$whenCondition5,$PRE.roo.occ.cla1.nextTimeEvent,$whenCondition4,$PRE.roo.occ.cla2.nextTimeEvent,$whenCondition3,$PRE.roo.occ.smaRoo1.nextTimeEvent,$whenCondition2,$PRE.roo.occ.smaRoo2.nextTimeEvent,$whenCondition1,roo.occ.office1.nextTimeEvent,$PRE.roo.occ.office1.nextTimeEventScaled,roo.occ.office1.nextTimeEventScaled,roo.occ.office2.nextTimeEvent,$PRE.roo.occ.office2.nextTimeEventScaled,roo.occ.office2.nextTimeEventScaled,roo.occ.cla1.nextTimeEvent,$PRE.roo.occ.cla1.nextTimeEventScaled,roo.occ.cla1.nextTimeEventScaled,roo.occ.cla2.nextTimeEvent,$PRE.roo.occ.cla2.nextTimeEventScaled,roo.occ.cla2.nextTimeEventScaled,roo.occ.smaRoo1.nextTimeEvent,$PRE.roo.occ.smaRoo1.nextTimeEventScaled,roo.occ.smaRoo1.nextTimeEventScaled,roo.occ.smaRoo2.nextTimeEvent,$PRE.roo.occ.smaRoo2.nextTimeEventScaled,roo.occ.smaRoo2.nextTimeEventScaled,onSig.y,$PRE.onSig.pulseStart,onSig.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1052): * Single equations (assignments): 1027 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 9,15 43,9 26} Notification: Performance of prepare postOptimizeDAE: time 0.01826/6.084, allocations: 4.409 MB / 2.744 GB, free: 0.6016 MB / 1.432 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008632/6.092, allocations: 1.451 MB / 2.746 GB, free: 15.13 MB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04433/6.137, allocations: 14.07 MB / 2.759 GB, free: 6.492 MB / 1.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02725/6.164, allocations: 11.34 MB / 2.77 GB, free: 15.52 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.076e-05/6.164, allocations: 4 kB / 2.77 GB, free: 15.51 MB / 1.464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01377/6.178, allocations: 3.102 MB / 2.773 GB, free: 13.48 MB / 1.464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007256/6.185, allocations: 218.1 kB / 2.774 GB, free: 13.41 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01878/6.204, allocations: 1.158 MB / 2.775 GB, free: 12.38 MB / 1.464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003232/6.207, allocations: 0.6162 MB / 2.775 GB, free: 11.82 MB / 1.464 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0413/6.248, allocations: 13.58 MB / 2.789 GB, free: 15.64 MB / 1.479 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04968/6.298, allocations: 20.45 MB / 2.809 GB, free: 11.13 MB / 1.495 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01232/6.311, allocations: 5.719 MB / 2.814 GB, free: 5.406 MB / 1.495 GB Notification: Performance of sorting global known variables: time 0.02648/6.337, allocations: 9.292 MB / 2.823 GB, free: 12.19 MB / 1.51 GB Notification: Performance of Backend: time 2.164e-06/6.337, allocations: 0 / 2.823 GB, free: 12.19 MB / 1.51 GB Notification: Performance of simCode: created initialization part: time 0.07068/6.408, allocations: 19.82 MB / 2.843 GB, free: 9.184 MB / 1.526 GB Notification: Performance of SimCode: time 0.1051/6.513, allocations: 42.94 MB / 2.885 GB, free: 14.37 MB / 1.573 GB Notification: Performance of Templates: time 1.453/7.966, allocations: 347.5 MB / 3.224 GB, free: 0.6165 GB / 1.573 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.sim & ./Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe 2>&1)