Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl") translateModel(Buildings.Examples.VAVCO2.VAVSystemCTControl,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009653/0.0009653, allocations: 180.7 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205 MB / 0.5767 GB, free: 21.02 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.0008649/0.0008647, allocations: 97.16 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 9.203 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2207, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVCO2.VAVSystemCTControl): time 3.006/3.227, allocations: 1.246 GB / 2.143 GB, free: 6.738 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.1917/3.419, allocations: 127 MB / 2.267 GB, free: 7.402 MB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03758/3.456, allocations: 0.6636 MB / 2.267 GB, free: 6.734 MB / 1.214 GB Notification: Performance of NFTyping.typeComponents: time 0.03146/3.488, allocations: 9.032 MB / 2.276 GB, free: 13.66 MB / 1.229 GB Notification: Performance of NFTyping.typeBindings: time 1.006/4.494, allocations: 24.43 MB / 2.3 GB, free: 14.99 MB / 1.229 GB Notification: Performance of NFTyping.typeClassSections: time 0.04999/4.544, allocations: 17.16 MB / 2.317 GB, free: 14.71 MB / 1.229 GB Notification: Performance of NFFlatten.flatten: time 0.09181/4.636, allocations: 61.17 MB / 2.377 GB, free: 14.63 MB / 1.229 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04088/4.677, allocations: 17.92 MB / 2.394 GB, free: 12.41 MB / 1.229 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06312/4.74, allocations: 20.75 MB / 2.414 GB, free: 12.32 MB / 1.229 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03767/4.778, allocations: 15.22 MB / 2.429 GB, free: 11.04 MB / 1.229 GB Notification: Performance of NFPackage.collectConstants: time 0.01075/4.789, allocations: 0.9337 MB / 2.43 GB, free: 11.04 MB / 1.229 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05218/4.841, allocations: 18.44 MB / 2.448 GB, free: 8.469 MB / 1.229 GB Notification: Performance of NFScalarize.scalarize: time 0.0173/4.858, allocations: 6.85 MB / 2.455 GB, free: 5.719 MB / 1.229 GB Notification: Performance of NFVerifyModel.verify: time 0.0324/4.891, allocations: 10.47 MB / 2.465 GB, free: 1.711 MB / 1.229 GB Notification: Performance of NFConvertDAE.convert: time 0.07577/4.967, allocations: 41.65 MB / 2.506 GB, free: 15.07 MB / 1.276 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/4.967, allocations: 0 / 2.506 GB, free: 15.07 MB / 1.276 GB Notification: Performance of FrontEnd: time 1.974e-06/4.967, allocations: 0 / 2.506 GB, free: 15.07 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.001418/4.968, allocations: 0 / 2.506 GB, free: 15.07 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: 3120 * Number of variables: 3120 Notification: Performance of Generate backend data structure: time 0.05384/5.022, allocations: 18.31 MB / 2.524 GB, free: 14.37 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/5.022, allocations: 8.031 kB / 2.524 GB, free: 14.36 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02652/5.049, allocations: 4.04 MB / 2.527 GB, free: 10.52 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03961/5.088, allocations: 16.55 MB / 2.544 GB, free: 284 kB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001181/5.089, allocations: 0.9791 MB / 2.545 GB, free: 15.7 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005736/5.095, allocations: 1.304 MB / 2.546 GB, free: 14.81 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05819/5.153, allocations: 17.53 MB / 2.563 GB, free: 3.297 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006613/5.154, allocations: 9.812 kB / 2.563 GB, free: 3.293 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005139/5.159, allocations: 0.5041 MB / 2.564 GB, free: 3.176 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005295/5.16, allocations: 463 kB / 2.564 GB, free: 2.73 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04326/5.203, allocations: 16.02 MB / 2.58 GB, free: 8.074 MB / 1.323 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.1514/5.355, allocations: 83.59 MB / 2.661 GB, free: 15.91 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/5.377, allocations: 10.05 MB / 2.671 GB, free: 5.902 MB / 1.417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01402/5.391, allocations: 6.855 MB / 2.678 GB, free: 15.04 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/5.392, allocations: 326.5 kB / 2.678 GB, free: 14.76 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01721/5.409, allocations: 7.08 MB / 2.685 GB, free: 7.645 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01766/5.427, allocations: 3.454 MB / 2.688 GB, free: 4.23 MB / 1.432 GB Notification: Performance of pre-optimization done (n=888): time 5.208e-05/5.427, allocations: 0 / 2.688 GB, free: 4.23 MB / 1.432 GB Notification: Performance of matching and sorting (n=888): time 0.06694/5.494, allocations: 21.77 MB / 2.71 GB, free: 14.45 MB / 1.464 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003249/5.495, allocations: 0.6237 MB / 2.71 GB, free: 13.7 MB / 1.464 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03659/5.531, allocations: 13.79 MB / 2.724 GB, free: 8 kB / 1.464 GB Notification: Performance of collectPreVariables (initialization): time 0.003207/5.534, allocations: 240.4 kB / 2.724 GB, free: 15.77 MB / 1.479 GB Notification: Performance of collectInitialEqns (initialization): time 0.01194/5.546, allocations: 7.991 MB / 2.732 GB, free: 7.805 MB / 1.479 GB Notification: Performance of collectInitialBindings (initialization): time 0.006081/5.553, allocations: 3.065 MB / 2.735 GB, free: 4.766 MB / 1.479 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00357/5.556, allocations: 0.7338 MB / 2.735 GB, free: 4.023 MB / 1.479 GB Notification: Performance of setup shared object (initialization): time 0.0001171/5.556, allocations: 305.1 kB / 2.736 GB, free: 3.723 MB / 1.479 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01214/5.568, allocations: 5.278 MB / 2.741 GB, free: 14.44 MB / 1.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01541/5.584, allocations: 8.266 MB / 2.749 GB, free: 5.039 MB / 1.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02686/5.611, allocations: 12.93 MB / 2.762 GB, free: 7.734 MB / 1.51 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.883e-05/5.611, allocations: 11.75 kB / 2.762 GB, free: 7.727 MB / 1.51 GB Notification: Performance of matching and sorting (n=1170) (initialization): time 0.04572/5.657, allocations: 15.92 MB / 2.777 GB, free: 8.074 MB / 1.526 GB Notification: Performance of prepare postOptimizeDAE: time 0.001032/5.658, allocations: 1.276 MB / 2.778 GB, free: 6.301 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/5.658, allocations: 47.98 kB / 2.778 GB, free: 6.254 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005989/5.664, allocations: 1.881 MB / 2.78 GB, free: 4.387 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/5.676, allocations: 2.139 MB / 2.782 GB, free: 2.359 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00854/5.684, allocations: 8.296 MB / 2.79 GB, free: 9.84 MB / 1.542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0199/5.704, allocations: 1.457 MB / 2.792 GB, free: 8.387 MB / 1.542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003078/5.707, allocations: 481.2 kB / 2.792 GB, free: 7.918 MB / 1.542 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/5.707, allocations: 4 kB / 2.792 GB, free: 7.914 MB / 1.542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03508/5.742, allocations: 13.71 MB / 2.806 GB, free: 10.48 MB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002018/5.743, allocations: 47.98 kB / 2.806 GB, free: 10.44 MB / 1.557 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003431/5.746, allocations: 1.275 MB / 2.807 GB, free: 9.16 MB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0107/5.757, allocations: 2.035 MB / 2.809 GB, free: 7.234 MB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/5.775, allocations: 12.26 MB / 2.821 GB, free: 10.61 MB / 1.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01939/5.794, allocations: 1.442 MB / 2.822 GB, free: 9.184 MB / 1.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002681/5.797, allocations: 459.7 kB / 2.823 GB, free: 8.734 MB / 1.573 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 ($PRE.roo.occ.office1.nextTimeEvent,$whenCondition7,$PRE.roo.occ.office2.nextTimeEvent,$whenCondition6,$PRE.roo.occ.cla1.nextTimeEvent,$whenCondition5,$PRE.roo.occ.cla2.nextTimeEvent,$whenCondition4,$PRE.roo.occ.smaRoo1.nextTimeEvent,$whenCondition3,$PRE.roo.occ.smaRoo2.nextTimeEvent,$whenCondition2,$whenCondition1,onSig.pulseStart,$PRE.onSig.pulseStart,onSig.y,roo.occ.smaRoo2.nextTimeEventScaled,$PRE.roo.occ.smaRoo2.nextTimeEventScaled,roo.occ.smaRoo2.nextTimeEvent,roo.occ.smaRoo1.nextTimeEventScaled,$PRE.roo.occ.smaRoo1.nextTimeEventScaled,roo.occ.smaRoo1.nextTimeEvent,roo.occ.cla2.nextTimeEventScaled,$PRE.roo.occ.cla2.nextTimeEventScaled,roo.occ.cla2.nextTimeEvent,roo.occ.cla1.nextTimeEventScaled,$PRE.roo.occ.cla1.nextTimeEventScaled,roo.occ.cla1.nextTimeEvent,roo.occ.office2.nextTimeEventScaled,$PRE.roo.occ.office2.nextTimeEventScaled,roo.occ.office2.nextTimeEvent,roo.occ.office1.nextTimeEventScaled,$PRE.roo.occ.office1.nextTimeEventScaled,roo.occ.office1.nextTimeEvent) * 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 (not torn): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(2,10), (15,43), (9,26)} Notification: Performance of prepare postOptimizeDAE: time 0.01372/5.811, allocations: 4.462 MB / 2.827 GB, free: 4.371 MB / 1.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006622/5.817, allocations: 1.455 MB / 2.829 GB, free: 2.898 MB / 1.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8821/6.699, allocations: 14.06 MB / 2.842 GB, free: 0.9296 GB / 1.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02064/6.72, allocations: 11.34 MB / 2.853 GB, free: 0.9282 GB / 1.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/6.72, allocations: 0 / 2.853 GB, free: 0.9282 GB / 1.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01178/6.732, allocations: 3.133 MB / 2.856 GB, free: 0.927 GB / 1.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005017/6.737, allocations: 215.1 kB / 2.857 GB, free: 0.9269 GB / 1.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01546/6.752, allocations: 1.208 MB / 2.858 GB, free: 0.9268 GB / 1.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002508/6.755, allocations: 0.618 MB / 2.858 GB, free: 0.9267 GB / 1.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03226/6.787, allocations: 13.61 MB / 2.872 GB, free: 0.9216 GB / 1.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04132/6.829, allocations: 20.45 MB / 2.892 GB, free: 0.9134 GB / 1.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009565/6.838, allocations: 5.737 MB / 2.897 GB, free: 0.9109 GB / 1.573 GB Notification: Performance of sorting global known variables: time 0.02071/6.859, allocations: 9.454 MB / 2.907 GB, free: 0.9076 GB / 1.573 GB Notification: Performance of Backend: time 1.212e-06/6.859, allocations: 0 / 2.907 GB, free: 0.9076 GB / 1.573 GB Notification: Performance of simCode: created initialization part: time 0.05405/6.913, allocations: 20.12 MB / 2.926 GB, free: 0.9006 GB / 1.573 GB Notification: Performance of SimCode: time 0.09441/7.007, allocations: 44.04 MB / 2.969 GB, free: 0.8615 GB / 1.573 GB Notification: Performance of Templates: time 0.457/7.465, allocations: 356.5 MB / 3.317 GB, free: 0.5142 GB / 1.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.VAVCO2.VAVSystemCTControl.pipe 2>&1)