Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.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.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.139/2.139, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001368/0.001368, allocations: 193.2 kB / 326.3 MB, free: 2.871 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.313/2.313, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009398/0.0009397, allocations: 94.67 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005044, allocations: 13.03 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.0063/0.2215, allocations: 4.08 MB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005193/0.2268, allocations: 2.062 MB / 0.9055 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.2279, allocations: 31.88 kB / 0.9055 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.2285, allocations: 126.8 kB / 0.9056 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.2295, allocations: 150.8 kB / 0.9058 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.232, allocations: 0.5663 MB / 0.9063 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00298/0.235, allocations: 1.695 MB / 0.908 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.2373, allocations: 1.194 MB / 0.9092 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008287/0.2382, allocations: 490 kB / 0.9096 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000729/0.239, allocations: 0.5207 MB / 0.9101 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.2392, allocations: 60 kB / 0.9102 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.2395, allocations: 95.97 kB / 0.9103 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.2398, allocations: 243 kB / 0.9105 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.2401, allocations: 265 kB / 0.9108 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.2421, allocations: 1.528 MB / 0.9123 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.2421, allocations: 4 kB / 0.9123 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2422, allocations: 4 kB / 0.9123 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.524e-05/0.2422, allocations: 0 / 0.9123 GB, free: 52.38 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.004033/0.2463, allocations: 1.446 MB / 0.9137 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.2463, allocations: 8.031 kB / 0.9137 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005177/0.2469, allocations: 167.1 kB / 0.9139 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.2486, allocations: 0.7575 MB / 0.9146 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.2488, allocations: 131.3 kB / 0.9147 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.2492, allocations: 172.1 kB / 0.9149 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004496/0.2537, allocations: 1.651 MB / 0.9165 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.158e-05/0.2538, allocations: 15.92 kB / 0.9165 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.254, allocations: 67.98 kB / 0.9166 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.2541, allocations: 40 kB / 0.9166 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003708/0.2578, allocations: 1.201 MB / 0.9178 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.268, allocations: 5.869 MB / 0.9235 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.2711, allocations: 1.105 MB / 0.9246 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.2726, allocations: 0.5088 MB / 0.9251 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.2727, allocations: 21.06 kB / 0.9251 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.2744, allocations: 0.6385 MB / 0.9257 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=123): time 5.911e-06/0.2744, allocations: 4 kB / 0.9257 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=123): time 0.004031/0.2785, allocations: 1.354 MB / 0.9271 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.2786, allocations: 106 kB / 0.9272 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2797, allocations: 0.6554 MB / 0.9278 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002727/0.28, allocations: 85.69 kB / 0.9279 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.2805, allocations: 0.5468 MB / 0.9284 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000405/0.2809, allocations: 323.7 kB / 0.9287 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2811, allocations: 32 kB / 0.9288 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.2812, allocations: 402.7 kB / 0.9291 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.2826, allocations: 463.8 kB / 0.9296 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.2841, allocations: 0.7823 MB / 0.9303 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2855, allocations: 499.9 kB / 0.9308 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.2855, allocations: 4 kB / 0.9308 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003837/0.2894, allocations: 1.473 MB / 0.9323 GB, free: 31.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.011e-05/0.2895, allocations: 55.41 kB / 0.9323 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.2896, allocations: 8 kB / 0.9323 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/0.2896, allocations: 16.75 kB / 0.9323 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.2909, allocations: 191.5 kB / 0.9325 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.781e-05/0.2909, allocations: 27.92 kB / 0.9326 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.2925, allocations: 218.5 kB / 0.9328 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/0.2928, allocations: 71.98 kB / 0.9328 GB, free: 30.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 125 ($PRE.operationModes.start.enableFire,$PRE.operationModes.t2.enableFire,$PRE.operationModes.t1.enableFire,$PRE.operationModes.t6.enableFire,$PRE.operationModes.t5.enableFire,$PRE.operationModes.t3.enableFire,$PRE.operationModes.t4.enableFire,$PRE.operationModes.t7.enableFire,$PRE.operationModes.t9.enableFire,$PRE.operationModes.t8.enableFire,operationModes.stateGraphRoot.resume,operationModes.stateGraphRoot.suspend,operationModes.start.condition,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition2,$whenCondition1,controlBus.controlMode,operationModes.initialStep.active,$PRE.operationModes.initialStep.localActive,operationModes.initialStep.localActive,$PRE.operationModes.initialStep.newActive,operationModes.initialStep.newActive,$PRE.operationModes.initialStep.oldActive,operationModes.initialStep.oldActive,operationModes.start.enableFire,$PRE.operationModes.unOccOff.localActive,operationModes.unOccOff.localActive,operationModes.unOccOff.inPort[2].occupied,operationModes.unOccOff.inPort[3].occupied,operationModes.unOccOff.outPort[2].available,operationModes.unOccOff.outPort[3].available,operationModes.unOccOff.outPort[4].available,$PRE.operationModes.unOccOff.newActive,operationModes.unOccOff.newActive,$PRE.operationModes.unOccOff.oldActive,operationModes.unOccOff.oldActive,operationModes.unOccOff.active,$PRE.operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.localActive,operationModes.unOccNigSetBac.outPort[2].available,$PRE.operationModes.unOccNigSetBac.newActive,operationModes.unOccNigSetBac.newActive,$PRE.operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.oldActive,operationModes.unOccNigSetBac.active,operationModes.t2.condition,operationModes.t2.enableFire,operationModes.t2.fire,$PRE.operationModes.t2.t_start,operationModes.t2.t_start,operationModes.t1.condition,operationModes.t1.enableFire,operationModes.t1.fire,$PRE.operationModes.t1.t_start,operationModes.t1.t_start,operationModes.stateGraphRoot.activeSteps,$PRE.operationModes.morWarUp.localActive,operationModes.morWarUp.localActive,operationModes.morWarUp.inPort[2].occupied,$PRE.operationModes.morWarUp.newActive,operationModes.morWarUp.newActive,$PRE.operationModes.morWarUp.oldActive,operationModes.morWarUp.oldActive,operationModes.morWarUp.active,operationModes.t6.enableFire,operationModes.t6.fire,$PRE.operationModes.t6.t_start,operationModes.t6.t_start,operationModes.t5.condition,operationModes.t5.enableFire,$PRE.operationModes.occ.localActive,operationModes.occ.localActive,operationModes.occ.inPort[2].occupied,operationModes.occ.inPort[3].occupied,$PRE.operationModes.occ.newActive,operationModes.occ.newActive,$PRE.operationModes.occ.oldActive,operationModes.occ.oldActive,operationModes.occ.active,operationModes.t3.condition,operationModes.t3.enableFire,operationModes.t4.condition,operationModes.t4.enableFire,$PRE.operationModes.morPreCoo.localActive,operationModes.morPreCoo.localActive,$PRE.operationModes.morPreCoo.newActive,operationModes.morPreCoo.newActive,$PRE.operationModes.morPreCoo.oldActive,operationModes.morPreCoo.oldActive,operationModes.morPreCoo.active,operationModes.t7.condition,operationModes.t7.enableFire,operationModes.booleanExpression.y,operationModes.preCooSta.and3.u[1],operationModes.preCooSta.and3.u[3],operationModes.t9.condition,operationModes.t9.enableFire,operationModes.not1.y,operationModes.t8.enableFire,operationModes.sum.u[1],operationModes.sum.u[2],operationModes.sum.u[3],operationModes.sum.u[4],operationModes.sum.u[5],operationModes.yFan,modSel.y,modSel1.y,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,operationModes.preCooSta.and3.u[2],PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009309/0.2937, allocations: 416.6 kB / 0.9332 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.294, allocations: 94.88 kB / 0.9333 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.2971, allocations: 1.155 MB / 0.9344 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.2971, allocations: 11.91 kB / 0.9345 GB, free: 28.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.2971, allocations: 0 / 0.9345 GB, free: 28.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/0.2977, allocations: 267.6 kB / 0.9347 GB, free: 28.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.2979, allocations: 32 kB / 0.9347 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009745/0.2989, allocations: 87.92 kB / 0.9348 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/0.2994, allocations: 157.1 kB / 0.935 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003728/0.3031, allocations: 1.328 MB / 0.9363 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004377/0.3076, allocations: 1.917 MB / 0.9381 GB, free: 25.15 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001358/0.309, allocations: 0.5569 MB / 0.9387 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006114/0.3096, allocations: 375.1 kB / 0.939 GB, free: 24.22 MB / 0.6042 GB Notification: Performance of Backend: time 8.62e-07/0.3096, allocations: 4 kB / 0.9391 GB, free: 24.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.3127, allocations: 1.053 MB / 0.9401 GB, free: 23.14 MB / 0.6042 GB Notification: Performance of SimCode: time 0.005153/0.3179, allocations: 2.744 MB / 0.9428 GB, free: 20.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.03761/0.3556, allocations: 13.17 MB / 0.9556 GB, free: 7.281 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.makefile (rm -f Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.sim & ./Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe 2>&1)