Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl") translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.136/2.136, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001364, allocations: 176.3 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 86.11 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000646/0.0006462, allocations: 9.516 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2111, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVCO2.VAVSystemCTControl): time 4.31/4.522, allocations: 1.145 GB / 2.045 GB, free: 57.18 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.2332/4.755, allocations: 119 MB / 2.161 GB, free: 2.262 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03487/4.79, allocations: 0.6284 MB / 2.161 GB, free: 1.629 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.03447/4.824, allocations: 6.698 MB / 2.168 GB, free: 10.89 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 0.08429/4.909, allocations: 18.63 MB / 2.186 GB, free: 8.191 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.05727/4.966, allocations: 12.48 MB / 2.198 GB, free: 11.84 MB / 1.151 GB Notification: Performance of NFFlatten.flatten: time 0.1292/5.095, allocations: 52.6 MB / 2.25 GB, free: 7.105 MB / 1.198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05263/5.148, allocations: 16.87 MB / 2.266 GB, free: 6.137 MB / 1.214 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06522/5.213, allocations: 18.54 MB / 2.284 GB, free: 3.523 MB / 1.229 GB Notification: Performance of NFSimplifyModel.simplify: time 2.472/7.685, allocations: 14.51 MB / 2.299 GB, free: 26.9 MB / 1.229 GB Notification: Performance of NFPackage.collectConstants: time 0.01103/7.697, allocations: 0.9343 MB / 2.299 GB, free: 26.9 MB / 1.229 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05032/7.747, allocations: 8.277 MB / 2.308 GB, free: 26.9 MB / 1.229 GB Notification: Performance of NFScalarize.scalarize: time 0.0222/7.769, allocations: 6.789 MB / 2.314 GB, free: 26.9 MB / 1.229 GB Notification: Performance of NFVerifyModel.verify: time 0.01678/7.786, allocations: 4.34 MB / 2.318 GB, free: 26.87 MB / 1.229 GB Notification: Performance of NFConvertDAE.convert: time 0.06231/7.848, allocations: 32.9 MB / 2.351 GB, free: 26.04 MB / 1.229 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/7.849, allocations: 0.5469 kB / 2.351 GB, free: 26.04 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.076e-06/7.849, allocations: 2.812 kB / 2.351 GB, free: 26.04 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.001402/7.85, allocations: 0 / 2.351 GB, free: 26.04 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3120 * Number of variables: 3120 Notification: Performance of Generate backend data structure: time 0.08566/7.936, allocations: 18.51 MB / 2.369 GB, free: 18.26 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/7.936, allocations: 9.875 kB / 2.369 GB, free: 18.26 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03801/7.974, allocations: 4.041 MB / 2.373 GB, free: 17.14 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05821/8.032, allocations: 15.98 MB / 2.388 GB, free: 15 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002046/8.034, allocations: 0.9785 MB / 2.389 GB, free: 14.96 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008269/8.042, allocations: 1.307 MB / 2.39 GB, free: 14.95 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0746/8.117, allocations: 17.43 MB / 2.407 GB, free: 13.9 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001124/8.118, allocations: 10.56 kB / 2.407 GB, free: 13.9 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007191/8.125, allocations: 0.4986 MB / 2.408 GB, free: 13.9 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007721/8.126, allocations: 472.7 kB / 2.408 GB, free: 13.87 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06149/8.188, allocations: 15.94 MB / 2.424 GB, free: 13.75 MB / 1.229 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.2164/8.404, allocations: 83.68 MB / 2.506 GB, free: 14.31 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03269/8.437, allocations: 10.01 MB / 2.515 GB, free: 12.99 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02109/8.458, allocations: 6.853 MB / 2.522 GB, free: 12.22 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/8.46, allocations: 338.6 kB / 2.522 GB, free: 12.08 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02631/8.486, allocations: 7.042 MB / 2.529 GB, free: 10.37 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02991/8.516, allocations: 3.45 MB / 2.533 GB, free: 9.141 MB / 1.276 GB Notification: Performance of pre-optimization done (n=888): time 5.867e-05/8.516, allocations: 0 / 2.533 GB, free: 9.141 MB / 1.276 GB Notification: Performance of matching and sorting (n=888): time 0.105/8.621, allocations: 21.52 MB / 2.554 GB, free: 14.25 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004262/8.622, allocations: 0.6282 MB / 2.554 GB, free: 13.5 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04535/8.667, allocations: 13.67 MB / 2.568 GB, free: 4.082 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.003623/8.671, allocations: 241.1 kB / 2.568 GB, free: 3.98 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01374/8.685, allocations: 7.973 MB / 2.576 GB, free: 28 kB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.007512/8.692, allocations: 3.067 MB / 2.579 GB, free: 13.39 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00294/8.695, allocations: 180.7 kB / 2.579 GB, free: 13.36 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.001131/8.696, allocations: 0.6586 MB / 2.579 GB, free: 12.83 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01782/8.714, allocations: 5.069 MB / 2.584 GB, free: 9.883 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02246/8.737, allocations: 8.046 MB / 2.592 GB, free: 3.133 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02144/8.758, allocations: 6.302 MB / 2.598 GB, free: 15.75 MB / 1.323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.569e-05/8.758, allocations: 15.09 kB / 2.598 GB, free: 15.74 MB / 1.323 GB Notification: Performance of matching and sorting (n=1170) (initialization): time 0.06699/8.825, allocations: 15.44 MB / 2.614 GB, free: 5.691 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001235/8.827, allocations: 1.281 MB / 2.615 GB, free: 4.035 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/8.827, allocations: 51.98 kB / 2.615 GB, free: 3.984 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/8.837, allocations: 1.817 MB / 2.617 GB, free: 2.398 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02384/8.861, allocations: 2.142 MB / 2.619 GB, free: 448 kB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/8.874, allocations: 8.29 MB / 2.627 GB, free: 8.781 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03348/8.908, allocations: 1.448 MB / 2.628 GB, free: 7.504 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003783/8.912, allocations: 481.5 kB / 2.629 GB, free: 7.105 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/8.912, allocations: 4 kB / 2.629 GB, free: 7.102 MB / 1.339 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05261/8.964, allocations: 13.63 MB / 2.642 GB, free: 14.97 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002345/8.965, allocations: 52.05 kB / 2.642 GB, free: 14.92 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005649/8.97, allocations: 1.275 MB / 2.643 GB, free: 13.84 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02088/8.991, allocations: 2.04 MB / 2.645 GB, free: 11.97 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02892/9.02, allocations: 12.27 MB / 2.657 GB, free: 2.789 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03313/9.053, allocations: 1.435 MB / 2.659 GB, free: 1.52 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003653/9.057, allocations: 457.7 kB / 2.659 GB, free: 1.145 MB / 1.354 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.0207/9.078, allocations: 4.46 MB / 2.663 GB, free: 14.94 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008895/9.087, allocations: 1.463 MB / 2.665 GB, free: 13.46 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05867/9.145, allocations: 14.02 MB / 2.679 GB, free: 4.836 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04162/9.187, allocations: 11.29 MB / 2.69 GB, free: 13.88 MB / 1.386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.208e-05/9.187, allocations: 0 / 2.69 GB, free: 13.88 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01566/9.203, allocations: 3.196 MB / 2.693 GB, free: 11.8 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007828/9.211, allocations: 214.8 kB / 2.693 GB, free: 11.74 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02699/9.238, allocations: 1.206 MB / 2.694 GB, free: 10.66 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003266/9.241, allocations: 0.6145 MB / 2.695 GB, free: 10.11 MB / 1.386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06197/9.303, allocations: 13.55 MB / 2.708 GB, free: 14.02 MB / 1.401 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07067/9.374, allocations: 20.35 MB / 2.728 GB, free: 9.605 MB / 1.417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01699/9.391, allocations: 5.688 MB / 2.733 GB, free: 3.91 MB / 1.417 GB Notification: Performance of sorting global known variables: time 0.03333/9.424, allocations: 9.348 MB / 2.743 GB, free: 10.64 MB / 1.432 GB Notification: Performance of Backend: time 1.593e-06/9.424, allocations: 0 / 2.743 GB, free: 10.64 MB / 1.432 GB Notification: Performance of simCode: created initialization part: time 0.08708/9.511, allocations: 19.77 MB / 2.762 GB, free: 7.695 MB / 1.448 GB Notification: Performance of SimCode: time 0.14/9.651, allocations: 43.24 MB / 2.804 GB, free: 12.56 MB / 1.495 GB Notification: Performance of Templates: time 2.504/12.16, allocations: 347.8 MB / 3.144 GB, free: 0.5704 GB / 1.495 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.makefile (rm -f Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.sim & ./Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe 2>&1)