Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.RemoveFromStagingOrder.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.0003165/0.0003165, 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.0002845/0.0002845, 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.1192/0.1192, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.2972/0.2972, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.RemoveFromStagingOrder,startTime=0,stopTime=6,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.RemoveFromStagingOrder",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.RemoveFromStagingOrder,startTime=0,stopTime=6,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.RemoveFromStagingOrder",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.062e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.RemoveFromStagingOrder): time 0.001849/0.00188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003357/0.005237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.005471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0007446/0.006216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.00645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007443/0.007194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001744/0.008938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.01017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.01191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0008342/0.01275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.01342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000761/0.01418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0006829/0.01486, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002254/0.01712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002783/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.426e-06/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.68e-05/0.01742, 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: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.002703/0.02012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001089/0.02023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/0.0207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.0219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.02212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/0.02251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.02466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.0247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.0249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.02493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/0.02583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005433/0.03126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.03189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.03216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.03219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006336/0.03282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=78): time 9.408e-06/0.03283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=78): time 0.0009702/0.0338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.03387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.03455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002857/0.03484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.03529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.03544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/0.03603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002073/0.03624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.03651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.03718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0009121/0.03809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.0381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=135) (initialization): time 0.001134/0.03924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.03927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.03929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/0.03934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.03995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.021e-05/0.03999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/0.04088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.04103, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 114 (remStaOrd.extIdx[4].u[4],remStaOrd.extIdx[4].u[3],remStaOrd.extIdx[4].u[2],remStaOrd.extIdx[4].u[1],remStaOrd.reaToInt[4].y,remStaOrd.yIdxSor[4],$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1.intTimTab.idx,$PRE.u1.intTimTab.idx,u1.intTimTab.y[4],$PRE.u1.intTimTab.y[4],u1.intTimTab.y[3],$PRE.u1.intTimTab.y[3],u1.intTimTab.y[2],$PRE.u1.intTimTab.y[2],u1.intTimTab.y[1],$PRE.u1.intTimTab.y[1],remStaOrd.extIdx[3].u[4],remStaOrd.extIdx[3].u[3],remStaOrd.extIdx[3].u[2],remStaOrd.extIdx[3].u[1],remStaOrd.extIdx[2].u[4],remStaOrd.extIdx[2].u[3],remStaOrd.extIdx[2].u[2],remStaOrd.extIdx[2].u[1],remStaOrd.extIdx[1].u[4],remStaOrd.extIdx[1].u[3],remStaOrd.extIdx[1].u[2],remStaOrd.extIdx[1].u[1],remStaOrd.reaToInt[3].y,remStaOrd.reaToInt[2].y,remStaOrd.reaToInt[1].y,remStaOrd.swiMas[3,3].y,remStaOrd.swiMas[2,2].y,remStaOrd.swiMas[1,1].y,remStaOrd.extFla[4].y,remStaOrd.extFla[4].u[4],remStaOrd.extFla[4].u[3],remStaOrd.extFla[4].u[2],remStaOrd.extFla[4].u[1],remStaOrd.extFla[3].y,remStaOrd.extFla[3].u[4],remStaOrd.extFla[3].u[3],remStaOrd.extFla[3].u[2],remStaOrd.extFla[3].u[1],remStaOrd.extFla[2].y,remStaOrd.extFla[2].u[4],remStaOrd.extFla[2].u[3],remStaOrd.extFla[2].u[2],remStaOrd.extFla[2].u[1],remStaOrd.extFla[1].y,remStaOrd.extFla[1].u[4],remStaOrd.extFla[1].u[3],remStaOrd.extFla[1].u[2],remStaOrd.extFla[1].u[1],remStaOrd.yIdxSor[3],remStaOrd.yIdxSor[2],remStaOrd.yIdxSor[1],remStaOrd.swiMas[1,4].y,remStaOrd.swiMas[2,1].y,remStaOrd.swiMas[2,4].y,remStaOrd.swiMas[3,1].y,remStaOrd.swiMas[3,2].y,remStaOrd.swiMas[3,4].y,remStaOrd.swiMas[4,1].y,remStaOrd.swiMas[4,2].y,remStaOrd.swiMas[4,3].y,remStaOrd.swiMas[4,4].y,remStaOrd.greEqu[4,4].y,remStaOrd.greEqu[4,3].y,remStaOrd.greEqu[4,2].y,remStaOrd.greEqu[4,1].y,remStaOrd.greEqu[3,4].y,remStaOrd.greEqu[3,3].y,remStaOrd.greEqu[3,2].y,remStaOrd.greEqu[3,1].y,remStaOrd.greEqu[2,4].y,remStaOrd.greEqu[2,3].y,remStaOrd.greEqu[2,2].y,remStaOrd.greEqu[2,1].y,remStaOrd.greEqu[1,4].y,remStaOrd.greEqu[1,3].y,remStaOrd.greEqu[1,2].y,remStaOrd.greEqu[1,1].y,remStaOrd.repVal.y[4,4],remStaOrd.conNUni[1].y,remStaOrd.conNUni[2].y,remStaOrd.conNUni[3].y,remStaOrd.conNUni[4].y,remStaOrd.conPos[1].y,remStaOrd.conPos[2].y,remStaOrd.conPos[3].y,remStaOrd.conPos[4].y,remStaOrd.conNUniMat[1,1].y,remStaOrd.conNUniMat[1,2].y,remStaOrd.conNUniMat[1,3].y,remStaOrd.conNUniMat[1,4].y,remStaOrd.conNUniMat[2,1].y,remStaOrd.conNUniMat[2,2].y,remStaOrd.conNUniMat[2,3].y,remStaOrd.conNUniMat[2,4].y,remStaOrd.conNUniMat[3,1].y,remStaOrd.conNUniMat[3,2].y,remStaOrd.conNUniMat[3,3].y,remStaOrd.conNUniMat[3,4].y,remStaOrd.conNUniMat[4,1].y,remStaOrd.conNUniMat[4,2].y,remStaOrd.conNUniMat[4,3].y,remStaOrd.conNUniMat[4,4].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * 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.0008221/0.04186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.04201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/0.04298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.04301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.04302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.04526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.04527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.0456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.04562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/0.04568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/0.0457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.0457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.04644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.04657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.04681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.04715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.04743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.795e-05/0.04751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.00032/0.04783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.652e-05/0.04786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001602/0.04946, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 66 ($cse11,$cse12,$cse13,$cse14,$cse15,$cse16,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,remStaOrd.yIdxSor[1],remStaOrd.yIdxSor[2],remStaOrd.yIdxSor[3],remStaOrd.extFla[1].u[1],remStaOrd.extFla[1].u[2],remStaOrd.extFla[1].u[3],remStaOrd.extFla[1].u[4],remStaOrd.extFla[1].y,remStaOrd.extFla[2].u[1],remStaOrd.extFla[2].u[2],remStaOrd.extFla[2].u[3],remStaOrd.extFla[2].u[4],remStaOrd.extFla[2].y,remStaOrd.extFla[3].u[1],remStaOrd.extFla[3].u[2],remStaOrd.extFla[3].u[3],remStaOrd.extFla[3].u[4],remStaOrd.extFla[3].y,remStaOrd.extFla[4].u[1],remStaOrd.extFla[4].u[2],remStaOrd.extFla[4].u[3],remStaOrd.extFla[4].u[4],remStaOrd.extFla[4].y,remStaOrd.swiMas[1,1].y,remStaOrd.swiMas[2,2].y,remStaOrd.swiMas[3,3].y,remStaOrd.reaToInt[1].y,remStaOrd.reaToInt[2].y,remStaOrd.reaToInt[3].y,remStaOrd.extIdx[1].u[1],remStaOrd.extIdx[1].u[2],remStaOrd.extIdx[1].u[3],remStaOrd.extIdx[1].u[4],remStaOrd.extIdx[2].u[1],remStaOrd.extIdx[2].u[2],remStaOrd.extIdx[2].u[3],remStaOrd.extIdx[2].u[4],remStaOrd.extIdx[3].u[1],remStaOrd.extIdx[3].u[2],remStaOrd.extIdx[3].u[3],remStaOrd.extIdx[3].u[4],u1.intTimTab.y[1],u1.intTimTab.y[2],u1.intTimTab.y[3],u1.intTimTab.y[4],u1.intTimTab.idx,$cse1,remStaOrd.yIdxSor[4],remStaOrd.extIdx[4].u[1],remStaOrd.extIdx[4].u[2],remStaOrd.extIdx[4].u[3],remStaOrd.extIdx[4].u[4],$cse2,remStaOrd.reaToInt[4].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007847/0.05025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0009763/0.05122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.799e-05/0.05125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.05162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.05266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.05561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.05592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004757/0.0564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/0.05725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.398e-05/0.0573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004519/0.06182, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] [Calling sys.exit(0), Time elapsed: 1.1885539209470153]