Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [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.002721/0.002721, allocations: 208.9 kB / 23.02 MB, free: 2.953 MB / 13.93 MB " [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 1.721/1.721, allocations: 230.6 MB / 256.8 MB, free: 9.637 MB / 202.7 MB " [Timeout remaining time 178] 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 3.466/3.466, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003665/0.003665, allocations: 67.89 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9372/0.9408, allocations: 180 MB / 1.353 GB, free: 1.629 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.00287/0.9437, allocations: 1.085 MB / 1.354 GB, free: 0.5469 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.9454, allocations: 1.065 MB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.9455, allocations: 7.938 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 5.956e-05/0.9456, allocations: 19.73 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.9458, allocations: 47.58 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.9461, allocations: 99.78 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.9464, allocations: 251.2 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.9466, allocations: 63.81 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.9469, allocations: 107.6 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.947, allocations: 91.53 kB / 1.356 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.9471, allocations: 24 kB / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.9471, allocations: 31.98 kB / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.9472, allocations: 55.78 kB / 1.356 GB, free: 14.68 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.9473, allocations: 95.5 kB / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.9477, allocations: 293.6 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9477, allocations: 0 / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9477, allocations: 0 / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9477, allocations: 0 / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001081/0.9488, allocations: 469.2 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.9489, allocations: 12.03 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.9491, allocations: 44.77 kB / 1.357 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.9494, allocations: 190.6 kB / 1.357 GB, free: 13.54 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.9496, allocations: 127.4 kB / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.9496, allocations: 16.38 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.9501, allocations: 197.8 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9501, allocations: 7.922 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.9501, allocations: 7.938 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.9501, allocations: 4 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.9506, allocations: 155.8 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.9514, allocations: 467.8 kB / 1.358 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.9519, allocations: 130.8 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.9521, allocations: 81.06 kB / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.9521, allocations: 7.906 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.9525, allocations: 147.3 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.9525, allocations: 0 / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of matching and sorting (n=19): time 0.001061/0.9535, allocations: 267.1 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.9536, allocations: 55.41 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.9538, allocations: 178.7 kB / 1.359 GB, free: 11.62 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.9538, allocations: 29.7 kB / 1.359 GB, free: 11.58 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.954, allocations: 140.5 kB / 1.359 GB, free: 11.44 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.228e-05/0.954, allocations: 67.48 kB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.9541, allocations: 37.7 kB / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.9543, allocations: 334.8 kB / 1.359 GB, free: 11 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.9545, allocations: 71.95 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.9548, allocations: 101.1 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.9552, allocations: 178.4 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.9552, allocations: 7.922 kB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005321/0.9557, allocations: 233.5 kB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.9557, allocations: 4 kB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9557, allocations: 0 / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.9558, allocations: 4 kB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.956, allocations: 43.97 kB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.956, allocations: 0 / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.9561, allocations: 19.98 kB / 1.36 GB, free: 10.32 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.9562, allocations: 11.92 kB / 1.36 GB, free: 10.31 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.000154/0.9563, allocations: 140.7 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.9564, allocations: 19.86 kB / 1.36 GB, free: 10.15 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.9564, allocations: 17.81 kB / 1.36 GB, free: 10.13 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9564, allocations: 0 / 1.36 GB, free: 10.13 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.9564, allocations: 0 / 1.36 GB, free: 10.13 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9564, allocations: 7.984 kB / 1.36 GB, free: 10.12 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.9567, allocations: 205.1 kB / 1.36 GB, free: 9.895 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9567, allocations: 3.938 kB / 1.36 GB, free: 9.891 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.9569, allocations: 39.91 kB / 1.36 GB, free: 9.852 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.9569, allocations: 0 / 1.36 GB, free: 9.852 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.957, allocations: 7.984 kB / 1.36 GB, free: 9.844 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.957, allocations: 4 kB / 1.36 GB, free: 9.84 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.957, allocations: 4 kB / 1.36 GB, free: 9.836 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.9577, allocations: 338.6 kB / 1.361 GB, free: 9.488 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.9578, allocations: 11.94 kB / 1.361 GB, free: 9.477 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.9578, allocations: 8 kB / 1.361 GB, free: 9.469 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.9579, allocations: 11.98 kB / 1.361 GB, free: 9.457 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.958, allocations: 27.89 kB / 1.361 GB, free: 9.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.958, allocations: 8 kB / 1.361 GB, free: 9.422 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001213/0.9582, allocations: 124.4 kB / 1.361 GB, free: 9.301 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.9582, allocations: 4 kB / 1.361 GB, free: 9.297 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002497/0.9584, allocations: 51.89 kB / 1.361 GB, free: 9.246 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001739/0.9586, allocations: 115.1 kB / 1.361 GB, free: 9.121 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.9591, allocations: 167.8 kB / 1.361 GB, free: 8.957 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9591, allocations: 0 / 1.361 GB, free: 8.957 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.9593, allocations: 87.89 kB / 1.361 GB, free: 8.871 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.9597, allocations: 45.78 kB / 1.361 GB, free: 8.828 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009289/0.9606, allocations: 423.5 kB / 1.362 GB, free: 8.391 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.9607, allocations: 129.5 kB / 1.362 GB, free: 8.238 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.9609, allocations: 17.48 kB / 1.362 GB, free: 8.219 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.9609, allocations: 19.44 kB / 1.362 GB, free: 8.203 MB / 1.042 GB Notification: Performance of SimCode: time 4.11e-07/0.9609, allocations: 0 / 1.362 GB, free: 8.203 MB / 1.042 GB Notification: Performance of Templates: time 0.006934/0.9679, allocations: 2.564 MB / 1.364 GB, free: 5.703 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.676379793323576]