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.002141/0.002141, allocations: 80.45 kB / 19.95 MB, free: 4.605 MB / 18.57 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.002188/0.002188, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.617/1.617, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.249/3.249, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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 2.414e-06/2.414e-06, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.966e-05, allocations: 2.281 kB / 1.001 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002586/0.002616, allocations: 1.079 MB / 1.002 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.004435, allocations: 1.073 MB / 1.003 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.004634, allocations: 7.938 kB / 1.003 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 7.983e-05/0.004714, allocations: 19.73 kB / 1.003 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.004963, allocations: 39.59 kB / 1.003 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.005443, allocations: 103.7 kB / 1.003 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.00585, allocations: 251.2 kB / 1.004 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.006082, allocations: 77.91 kB / 1.004 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.006473, allocations: 151.6 kB / 1.004 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.006657, allocations: 79.7 kB / 1.004 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.006715, allocations: 24 kB / 1.004 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.006797, allocations: 28 kB / 1.004 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.006867, allocations: 59.81 kB / 1.004 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.006967, allocations: 63.83 kB / 1.004 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.007432, allocations: 299 kB / 1.004 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.007437, allocations: 7.984 kB / 1.004 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007438, allocations: 7.938 kB / 1.004 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.007447, allocations: 0 / 1.004 GB, free: 8.586 MB / 0.9167 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.001146/0.008593, allocations: 469.1 kB / 1.005 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.008636, allocations: 8.75 kB / 1.005 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.008913, allocations: 44.77 kB / 1.005 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.009266, allocations: 185.4 kB / 1.005 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.009396, allocations: 119.4 kB / 1.005 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.009439, allocations: 16.38 kB / 1.005 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.009922, allocations: 202 kB / 1.005 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.009938, allocations: 192 / 1.005 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.009964, allocations: 8.375 kB / 1.005 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.009977, allocations: 7.938 kB / 1.005 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.01046, allocations: 151.9 kB / 1.006 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.01142, allocations: 455.8 kB / 1.006 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.01187, allocations: 134.7 kB / 1.006 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.01213, allocations: 88.8 kB / 1.006 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.01217, allocations: 4 kB / 1.006 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.01252, allocations: 145.7 kB / 1.006 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.01252, allocations: 0 / 1.006 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0008399/0.01336, allocations: 273.4 kB / 1.007 GB, free: 6.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.01354, allocations: 55.41 kB / 1.007 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.01375, allocations: 175.6 kB / 1.007 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.01378, allocations: 25.7 kB / 1.007 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.0139, allocations: 144.5 kB / 1.007 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.918e-05/0.01399, allocations: 59.53 kB / 1.007 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.01407, allocations: 41.7 kB / 1.007 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.01425, allocations: 326.8 kB / 1.007 GB, free: 5.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.01448, allocations: 75.94 kB / 1.007 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.01472, allocations: 111.3 kB / 1.008 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.01519, allocations: 174.4 kB / 1.008 GB, free: 4.949 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.0152, allocations: 7.875 kB / 1.008 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005678/0.01577, allocations: 237.4 kB / 1.008 GB, free: 4.703 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.01579, allocations: 4 kB / 1.008 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.0158, allocations: 4 kB / 1.008 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.01582, allocations: 3.984 kB / 1.008 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.01606, allocations: 43.91 kB / 1.008 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.01607, allocations: 0 / 1.008 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.01622, allocations: 27.86 kB / 1.008 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.01624, allocations: 4 kB / 1.008 GB, free: 4.617 MB / 0.9167 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.0001555/0.01639, allocations: 142.7 kB / 1.008 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.01643, allocations: 19.86 kB / 1.008 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.01649, allocations: 21.8 kB / 1.008 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01649, allocations: 0 / 1.008 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.0165, allocations: 0 / 1.008 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.0165, allocations: 0 / 1.008 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.01677, allocations: 197.2 kB / 1.008 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.01678, allocations: 7.875 kB / 1.008 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.01703, allocations: 39.97 kB / 1.008 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01703, allocations: 4 kB / 1.008 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.01705, allocations: 0 / 1.008 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01705, allocations: 4 kB / 1.008 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01705, allocations: 0 / 1.008 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/0.01788, allocations: 337.9 kB / 1.009 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.01792, allocations: 15.94 kB / 1.009 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.01795, allocations: 8.047 kB / 1.009 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.01808, allocations: 19.98 kB / 1.009 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.01817, allocations: 23.95 kB / 1.009 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.01819, allocations: 4 kB / 1.009 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001398/0.01833, allocations: 132.8 kB / 1.009 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01833, allocations: 4 kB / 1.009 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002624/0.01859, allocations: 43.89 kB / 1.009 GB, free: 3.555 MB / 0.9167 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.0001846/0.01877, allocations: 103.2 kB / 1.009 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.0193, allocations: 182.2 kB / 1.009 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.0193, allocations: 0 / 1.009 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.01955, allocations: 83.89 kB / 1.009 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.01991, allocations: 61.36 kB / 1.009 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/0.02081, allocations: 394.5 kB / 1.01 GB, free: 2.719 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.02095, allocations: 125.5 kB / 1.01 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.337e-05/0.02105, allocations: 21.41 kB / 1.01 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.02111, allocations: 24.5 kB / 1.01 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.02111, allocations: 0 / 1.01 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of Templates: time 0.007013/0.02813, allocations: 2.378 MB / 1.012 GB, free: 228 kB / 0.9167 GB " [Timeout remaining time 300] 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: 9.068540605716407]