Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002624/0.0002624, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002047/0.0002047, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1331/0.1331, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 0.2653/0.2653, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage,startTime=0,stopTime=1200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage,startTime=0,stopTime=1200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.474e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.003683/0.003708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003077/0.006785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.006936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.007532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.007958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.008675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006388/0.009313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.009797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.01033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.01059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.01067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.01104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.01121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.01182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.416e-05/0.01188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.433e-06/0.01189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.663e-06/0.01189, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.0009911/0.01288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/0.01295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.01329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.0137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.01378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.01385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.01444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.01445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.0145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.01451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.01476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.01604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.01632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.01642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.01643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.01667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=55): time 6.182e-06/0.01668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=55): time 0.0004045/0.01708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.01711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.01732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.664e-05/0.01739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.01752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.01762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.01777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001538/0.01792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 9.752e-05/0.01802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.01816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.01839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.0184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003753/0.01878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.0188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.01882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.01884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.01908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.01909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.01924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.01927, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.chiStaCon.offToOne.enableFire,$PRE.chiStaCon.oneToTwo.enableFire,$PRE.chiStaCon.twoToOne.enableFire,$PRE.chiStaCon.oneToOff.enableFire,$PRE.on.combiTimeTable.nextTimeEvent,$whenCondition5,on.combiTimeTable.nextTimeEventScaled,$PRE.on.combiTimeTable.nextTimeEventScaled,on.combiTimeTable.nextTimeEvent,chiStaCon.thrOneToTwo.y,$PRE.chiStaCon.thrOneToTwo.y,chiStaCon.oneToOff.t_start,$PRE.chiStaCon.oneToOff.t_start,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.enableFire,chiStaCon.oneToOff.localCondition,chiStaCon.twoToOne.t_start,$PRE.chiStaCon.twoToOne.t_start,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.enableFire,chiStaCon.twoToOne.localCondition,chiStaCon.oneToTwo.t_start,$PRE.chiStaCon.oneToTwo.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.enableFire,chiStaCon.offToOne.t_start,$PRE.chiStaCon.offToOne.t_start,chiStaCon.offToOne.fire,chiStaCon.offToOne.enableFire,chiStaCon.twoOn.active,chiStaCon.twoOn.oldActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.localActive,chiStaCon.oneOn.active,chiStaCon.oneOn.oldActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.localActive,$PRE.chiStaCon.oneOn.localActive,chiStaCon.off.oldActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.localActive,chiStaCon.off.active,chiStaCon.y[1],chiStaCon.stateGraphRoot.activeSteps,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,chiStaCon.stateGraphRoot.suspend,chiStaCon.stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.01945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.0195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.0199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.0199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.01991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.02072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.02072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.02085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.02086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.02089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.02089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.0209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.02118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.02123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.02135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.02149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.02161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.02165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 9.691e-05/0.02175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.854e-06/0.02175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005339/0.02229, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (chiStaCon.twoToOne.enableFire,chiStaCon.oneToOff.enableFire,chiStaCon.offToOne.enableFire,chiStaCon.oneToTwo.enableFire,chiStaCon.twoOn.active,chiStaCon.oneOn.active,chiStaCon.off.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.y[1],chiStaCon.off.localActive,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.twoOn.localActive,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.offToOne.fire,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.localCondition,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.localCondition,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.t_start,chiStaCon.thrOneToTwo.y,on.combiTimeTable.nextTimeEvent,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (on.combiTimeTable.nextTimeEvent,chiStaCon.off.newActive,chiStaCon.oneOn.newActive,chiStaCon.twoOn.newActive,chiStaCon.thrOneToTwo.y,on.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005152/0.0228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003488/0.02315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 8.527e-06/0.02316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.02332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.02381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.02473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.02484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001433/0.02499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.02521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.497e-05/0.02523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002963/0.02819, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] [Calling sys.exit(0), Time elapsed: 1.15123528894037]