Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.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.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.618/1.618, allocations: 287.4 MB / 303.2 MB, free: 8.332 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.001111/0.001111, allocations: 187 kB / 371.8 MB, free: 10.82 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.538/1.538, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0008987/0.0008986, allocations: 91.78 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 14.53 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2333, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.004521/0.2378, allocations: 4.155 MB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003448/0.2413, allocations: 2.117 MB / 0.9854 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/0.2419, allocations: 31.81 kB / 0.9854 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.2422, allocations: 130.8 kB / 0.9856 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.2426, allocations: 138.9 kB / 0.9857 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.244, allocations: 0.5583 MB / 0.9862 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.2452, allocations: 1.61 MB / 0.9878 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.2466, allocations: 1.272 MB / 0.989 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.2469, allocations: 430.1 kB / 0.9895 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.2473, allocations: 477.4 kB / 0.9899 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.73e-05/0.2474, allocations: 52 kB / 0.99 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.2477, allocations: 151.9 kB / 0.9901 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.2479, allocations: 242.9 kB / 0.9903 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2481, allocations: 253 kB / 0.9906 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009842/0.2491, allocations: 1.512 MB / 0.9921 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2491, allocations: 0 / 0.9921 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2491, allocations: 0 / 0.9921 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.2491, allocations: 0 / 0.9921 GB, free: 15.03 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.001858/0.251, allocations: 1.374 MB / 0.9934 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.251, allocations: 8.031 kB / 0.9934 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2512, allocations: 163.1 kB / 0.9936 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.2521, allocations: 0.7415 MB / 0.9943 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9e-05/0.2522, allocations: 127.3 kB / 0.9944 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.2524, allocations: 160.3 kB / 0.9946 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.2544, allocations: 1.6 MB / 0.9961 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.2544, allocations: 7.938 kB / 0.9961 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/0.2545, allocations: 56 kB / 0.9962 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.2546, allocations: 40 kB / 0.9962 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.2563, allocations: 1.197 MB / 0.9974 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005062/0.2614, allocations: 5.708 MB / 1.003 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2629, allocations: 1.043 MB / 1.004 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.2635, allocations: 489.7 kB / 1.004 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.215e-05/0.2635, allocations: 17.06 kB / 1.004 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007497/0.2643, allocations: 0.5169 MB / 1.005 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=118): time 4.439e-06/0.2643, allocations: 0 / 1.005 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118): time 0.001767/0.2661, allocations: 1.195 MB / 1.006 GB, free: 180 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.2661, allocations: 80.39 kB / 1.006 GB, free: 88 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/0.2669, allocations: 0.6515 MB / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.267, allocations: 73.7 kB / 1.007 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.2674, allocations: 0.5426 MB / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.2677, allocations: 311.9 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.2677, allocations: 24 kB / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2679, allocations: 406.7 kB / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007021/0.2686, allocations: 403.8 kB / 1.009 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009148/0.2695, allocations: 0.7507 MB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.271, allocations: 0.9815 MB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.271, allocations: 4 kB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.001919/0.2729, allocations: 1.234 MB / 1.011 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.2729, allocations: 15.94 kB / 1.011 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.273, allocations: 8 kB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.273, allocations: 19.94 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.2736, allocations: 179.6 kB / 1.012 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.2737, allocations: 23.92 kB / 1.012 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.2744, allocations: 203 kB / 1.012 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.2745, allocations: 59.98 kB / 1.012 GB, free: 9.914 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 121 ($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,$whenCondition3,$whenCondition2,$whenCondition1,controlBus.controlMode,$PRE.operationModes.initialStepWithSignal.localActive,operationModes.initialStepWithSignal.localActive,$PRE.operationModes.initialStepWithSignal.newActive,operationModes.initialStepWithSignal.newActive,$PRE.operationModes.initialStepWithSignal.oldActive,operationModes.initialStepWithSignal.oldActive,operationModes.initialStepWithSignal.active,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.sum.u[6],operationModes.yFan,operationModes.yEco,operationModes.or2.y,modSel.y,modSel1.y,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,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 (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005867/0.2751, allocations: 424.6 kB / 1.012 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.2752, allocations: 94.81 kB / 1.012 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.2769, allocations: 1.028 MB / 1.013 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.2769, allocations: 3.984 kB / 1.013 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.277, allocations: 0 / 1.013 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.2773, allocations: 267.6 kB / 1.014 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2774, allocations: 24 kB / 1.014 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.2778, allocations: 75.94 kB / 1.014 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.2781, allocations: 148.8 kB / 1.014 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001855/0.28, allocations: 1.093 MB / 1.015 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002367/0.2824, allocations: 1.688 MB / 1.017 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006781/0.2831, allocations: 0.4962 MB / 1.017 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004086/0.2835, allocations: 367.1 kB / 1.017 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of Backend: time 3.71e-07/0.2835, allocations: 4 kB / 1.017 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.2853, allocations: 0.8618 MB / 1.018 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of SimCode: time 0.003367/0.2887, allocations: 2.672 MB / 1.021 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of Templates: time 0.02673/0.3155, allocations: 12.29 MB / 1.033 GB, free: 4.383 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.sim & ./Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe 2>&1)