Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001022/0.001022, allocations: 176.5 kB / 372.9 MB, free: 10.17 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.728/1.728, allocations: 205.4 MB / 0.6316 GB, free: 9.934 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.0009218/0.0009218, allocations: 114.4 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004587, allocations: 10.97 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2718, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.OperationModes): time 0.004636/0.2765, allocations: 4.152 MB / 0.9848 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004089/0.2806, allocations: 2.121 MB / 0.9869 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008792/0.2815, allocations: 31.81 kB / 0.9869 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.2819, allocations: 130.8 kB / 0.987 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.2824, allocations: 134.9 kB / 0.9871 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.2841, allocations: 0.5697 MB / 0.9877 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.2855, allocations: 1.602 MB / 0.9893 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.287, allocations: 1.268 MB / 0.9905 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000389/0.2874, allocations: 434.1 kB / 0.9909 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.2878, allocations: 477.4 kB / 0.9914 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.814e-05/0.2879, allocations: 56 kB / 0.9914 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.2882, allocations: 147.9 kB / 0.9916 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.2884, allocations: 243 kB / 0.9918 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.2888, allocations: 0.557 MB / 0.9923 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2898, allocations: 1.508 MB / 0.9938 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2898, allocations: 0 / 0.9938 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2898, allocations: 0 / 0.9938 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.2899, allocations: 0 / 0.9938 GB, free: 13.9 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.002047/0.2919, allocations: 1.374 MB / 0.9952 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.292, allocations: 8.031 kB / 0.9952 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.2922, allocations: 159.1 kB / 0.9953 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.2932, allocations: 0.7493 MB / 0.9961 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.2933, allocations: 127.3 kB / 0.9962 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.2934, allocations: 164.3 kB / 0.9963 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.2956, allocations: 1.597 MB / 0.9979 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.2956, allocations: 3.938 kB / 0.9979 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.2957, allocations: 67.98 kB / 0.998 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.2957, allocations: 36 kB / 0.998 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.2976, allocations: 1.197 MB / 0.9992 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005595/0.3032, allocations: 5.701 MB / 1.005 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3047, allocations: 1.051 MB / 1.006 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.3054, allocations: 487.6 kB / 1.006 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/0.3055, allocations: 21.06 kB / 1.006 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007551/0.3062, allocations: 0.5165 MB / 1.007 GB, free: 240 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=118): time 5.491e-06/0.3062, allocations: 0 / 1.007 GB, free: 240 kB / 0.6198 GB Notification: Performance of matching and sorting (n=118): time 0.002246/0.3085, allocations: 1.198 MB / 1.008 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.3086, allocations: 68.41 kB / 1.008 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.3095, allocations: 0.6591 MB / 1.009 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.3096, allocations: 73.69 kB / 1.009 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.3101, allocations: 0.5466 MB / 1.009 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.3104, allocations: 303.9 kB / 1.01 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.3105, allocations: 32 kB / 1.01 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.3107, allocations: 402.7 kB / 1.01 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007181/0.3114, allocations: 403.8 kB / 1.01 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3125, allocations: 0.7507 MB / 1.011 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.314, allocations: 0.9893 MB / 1.012 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.314, allocations: 4 kB / 1.012 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002066/0.3161, allocations: 1.226 MB / 1.013 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.3161, allocations: 11.94 kB / 1.013 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.3162, allocations: 12 kB / 1.013 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.035e-05/0.3162, allocations: 16 kB / 1.013 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.3169, allocations: 176.2 kB / 1.013 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.004e-05/0.3169, allocations: 27.92 kB / 1.013 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000785/0.3177, allocations: 194.6 kB / 1.014 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.3179, allocations: 67.92 kB / 1.014 GB, free: 8.773 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.0008114/0.3187, allocations: 424.5 kB / 1.014 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.3188, allocations: 94.8 kB / 1.014 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.3207, allocations: 1.024 MB / 1.015 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3207, allocations: 7.922 kB / 1.015 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3207, allocations: 4 kB / 1.015 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.3211, allocations: 259.6 kB / 1.015 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3212, allocations: 27.98 kB / 1.015 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.3216, allocations: 75.94 kB / 1.016 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.322, allocations: 148.8 kB / 1.016 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00191/0.3239, allocations: 1.097 MB / 1.017 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002421/0.3263, allocations: 1.684 MB / 1.018 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007211/0.327, allocations: 0.4923 MB / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004765/0.3275, allocations: 371.1 kB / 1.019 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of Backend: time 1.543e-06/0.3275, allocations: 0 / 1.019 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.3296, allocations: 0.8594 MB / 1.02 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of SimCode: time 0.003774/0.3333, allocations: 2.688 MB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.02727/0.3606, allocations: 12.37 MB / 1.035 GB, free: 3.156 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.sim & ./Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.OperationModes.pipe 2>&1)