Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.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.002403/0.002403, allocations: 85.48 kB / 19.44 MB, free: 344 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.003052/0.003052, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.548/1.548, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003388/0.003388, allocations: 238.4 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.176/1.176, allocations: 138.4 MB / 454.7 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 3.938 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.765e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.003193/0.003221, allocations: 1.553 MB / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003398/0.003561, allocations: 108.5 kB / 0.556 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.003605, allocations: 4 kB / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.003724, allocations: 11.92 kB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.017e-05/0.003754, allocations: 7.875 kB / 0.556 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.003991, allocations: 31.89 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.004111, allocations: 63.72 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.004207, allocations: 15.98 kB / 0.5561 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.004288, allocations: 31.97 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.004358, allocations: 27.89 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.00438, allocations: 4 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.7e-05/0.004447, allocations: 11.98 kB / 0.5562 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.004491, allocations: 15.94 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.004525, allocations: 15.98 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004682, allocations: 63.78 kB / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.004685, allocations: 0 / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.004686, allocations: 0 / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.004691, allocations: 4 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005873/0.005278, allocations: 400 kB / 0.5566 GB, free: 14.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.005317, allocations: 8.75 kB / 0.5566 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.005368, allocations: 8.938 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.00556, allocations: 128.4 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.005574, allocations: 8.375 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.005588, allocations: 8.359 kB / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.005814, allocations: 58.23 kB / 0.5568 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.005824, allocations: 4.188 kB / 0.5569 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.005837, allocations: 8.359 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005842, allocations: 384 / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.00605, allocations: 51.84 kB / 0.5569 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.006609, allocations: 307.7 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.006792, allocations: 55.08 kB / 0.5573 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.006909, allocations: 31.7 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.006957, allocations: 8 kB / 0.5573 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.006989, allocations: 33.39 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.00699, allocations: 0 / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004133/0.007403, allocations: 97.59 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.007457, allocations: 55.41 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.007614, allocations: 181.9 kB / 0.5576 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.007635, allocations: 25.7 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.007734, allocations: 154.7 kB / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.007753, allocations: 3.953 kB / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.0078, allocations: 27.38 kB / 0.5578 GB, free: 13.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.008061, allocations: 0.4923 MB / 0.5583 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.008164, allocations: 15.98 kB / 0.5583 GB, free: 12.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.008245, allocations: 23.92 kB / 0.5584 GB, free: 12.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.00842, allocations: 47.66 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008421, allocations: 0 / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002472/0.008669, allocations: 77.55 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.008689, allocations: 14.97 kB / 0.5585 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.008694, allocations: 0 / 0.5585 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.008709, allocations: 0 / 0.5585 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.008818, allocations: 15.92 kB / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.008822, allocations: 0 / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.008875, allocations: 12 kB / 0.5585 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.008891, allocations: 0 / 0.5585 GB, free: 12.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001149/0.009006, allocations: 156.6 kB / 0.5587 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.009038, allocations: 11.89 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.009309, allocations: 89.64 kB / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009311, allocations: 0 / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.009314, allocations: 0 / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.009316, allocations: 0 / 0.5588 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.009495, allocations: 128.6 kB / 0.5589 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.009502, allocations: 7.984 kB / 0.5589 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.009565, allocations: 4 kB / 0.5589 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.009569, allocations: 12.25 kB / 0.5589 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.009577, allocations: 0 / 0.5589 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.009578, allocations: 4 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009579, allocations: 0 / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.009915, allocations: 223.9 kB / 0.5591 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.009932, allocations: 11.89 kB / 0.5591 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.009949, allocations: 4 kB / 0.5592 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.01003, allocations: 7.984 kB / 0.5592 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.01007, allocations: 3.984 kB / 0.5592 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01008, allocations: 4 kB / 0.5592 GB, free: 11.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.313e-05/0.01017, allocations: 135.2 kB / 0.5593 GB, free: 11.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01017, allocations: 4 kB / 0.5593 GB, free: 11.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.0104, allocations: 15.94 kB / 0.5593 GB, free: 11.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001437/0.01054, allocations: 99.19 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.0108, allocations: 51.59 kB / 0.5595 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0108, allocations: 0 / 0.5595 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.01091, allocations: 35.66 kB / 0.5595 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.01116, allocations: 15.94 kB / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.01155, allocations: 157.1 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.801e-05/0.01165, allocations: 71.58 kB / 0.5597 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.38e-05/0.01169, allocations: 11.98 kB / 0.5597 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.01173, allocations: 12.5 kB / 0.5597 GB, free: 10.95 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01173, allocations: 0 / 0.5597 GB, free: 10.95 MB / 490.7 MB Notification: Performance of Templates: time 0.004073/0.0158, allocations: 0.8282 MB / 0.5606 GB, free: 10.13 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.755127420066856]