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.00138/0.00138, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001623/0.001623, allocations: 173 kB / 23.49 MB, free: 1.051 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 0.9784/0.9784, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.002307/0.002307, allocations: 237.5 kB / 260.5 MB, free: 12.88 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 0.7455/0.7455, allocations: 138.4 MB / 455.4 MB, free: 1.531 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 2.204e-06/2.204e-06, allocations: 0 / 0.555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.789e-05, allocations: 5.547 kB / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.003069/0.003097, allocations: 1.592 MB / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.00347, allocations: 112.5 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.003537, allocations: 3.938 kB / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.003674, allocations: 11.92 kB / 0.5567 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.365e-05/0.003707, allocations: 7.875 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.003998, allocations: 27.91 kB / 0.5567 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.004119, allocations: 59.83 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.004238, allocations: 15.98 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.00433, allocations: 35.91 kB / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.004414, allocations: 23.97 kB / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.004436, allocations: 7.938 kB / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.539e-05/0.004501, allocations: 11.98 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.004546, allocations: 15.97 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.004585, allocations: 19.94 kB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.004735, allocations: 51.75 kB / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004738, allocations: 0 / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004739, allocations: 0 / 0.557 GB, free: 14.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004743, allocations: 0 / 0.557 GB, free: 14.86 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.0004682/0.005212, allocations: 396.5 kB / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.005255, allocations: 12.75 kB / 0.5574 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.005307, allocations: 8.891 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.005474, allocations: 132.4 kB / 0.5575 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.005486, allocations: 4.375 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.005499, allocations: 4.375 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.005708, allocations: 78.86 kB / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.005721, allocations: 8.125 kB / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.005731, allocations: 384 / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.00574, allocations: 384 / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.005796, allocations: 15.94 kB / 0.5576 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.006253, allocations: 307.6 kB / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.006339, allocations: 31.06 kB / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.006377, allocations: 19.62 kB / 0.5579 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.006412, allocations: 0 / 0.5579 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.006438, allocations: 37.48 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.006439, allocations: 0 / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002033/0.006642, allocations: 53.67 kB / 0.558 GB, free: 13.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.006677, allocations: 51.41 kB / 0.5581 GB, free: 13.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.006781, allocations: 177.9 kB / 0.5583 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.006795, allocations: 25.7 kB / 0.5583 GB, free: 13.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.006862, allocations: 146.8 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.006887, allocations: 11.94 kB / 0.5584 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.006925, allocations: 19.38 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.007074, allocations: 496.1 kB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.007101, allocations: 3.984 kB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.00712, allocations: 4 kB / 0.5589 GB, free: 12.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.007168, allocations: 19.69 kB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00717, allocations: 0 / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001038/0.007274, allocations: 57.52 kB / 0.559 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.007288, allocations: 8 kB / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.007292, allocations: 0 / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.007307, allocations: 0 / 0.559 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.007406, allocations: 11.98 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.007411, allocations: 0 / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.007454, allocations: 4 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.007475, allocations: 4 kB / 0.559 GB, free: 12.54 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 8.448e-05/0.007559, allocations: 152.6 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.007595, allocations: 15.92 kB / 0.5592 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.007722, allocations: 65.88 kB / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007724, allocations: 0 / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.007727, allocations: 0 / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.00773, allocations: 0 / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.007888, allocations: 136.5 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.00789, allocations: 0 / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.007948, allocations: 8 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.007953, allocations: 11.92 kB / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.007961, allocations: 0 / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.007962, allocations: 0 / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007964, allocations: 0 / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.008122, allocations: 199.9 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.008134, allocations: 11.83 kB / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.008148, allocations: 0 / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.008219, allocations: 8 kB / 0.5596 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.008265, allocations: 11.98 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.008272, allocations: 0 / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.008341, allocations: 135.2 kB / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008341, allocations: 0 / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.008616, allocations: 8 kB / 0.5598 GB, free: 11.72 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.0001279/0.008744, allocations: 99.25 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.008857, allocations: 19.67 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.008858, allocations: 0 / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.008896, allocations: 23.62 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.009193, allocations: 11.11 kB / 0.5599 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.00956, allocations: 153.1 kB / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.775e-05/0.009608, allocations: 63.34 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.341e-05/0.009651, allocations: 8 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.009684, allocations: 8.5 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/0.009685, allocations: 0 / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Templates: time 0.003344/0.01303, allocations: 0.8337 MB / 0.5609 GB, free: 10.46 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: 3.691489316057414]