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.0009511/0.0009511, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.0009742/0.0009742, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.979/0.979, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001661/0.001661, allocations: 232.6 kB / 261.3 MB, free: 12.66 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.7937/0.7937, allocations: 138.4 MB / 456.3 MB, free: 30.03 MB / 410.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.442e-06/1.442e-06, allocations: 0 / 0.5564 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.328e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.001743/0.001756, allocations: 1.581 MB / 0.5579 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002597/0.002016, allocations: 112.5 kB / 0.558 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.00206, allocations: 0 / 0.558 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.00217, allocations: 3.938 kB / 0.558 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.298e-05/0.002193, allocations: 15.84 kB / 0.558 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.002397, allocations: 31.91 kB / 0.5581 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.002472, allocations: 59.78 kB / 0.5581 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.164e-05/0.002553, allocations: 19.97 kB / 0.5581 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.002608, allocations: 35.95 kB / 0.5582 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.002659, allocations: 23.91 kB / 0.5582 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.002677, allocations: 8 kB / 0.5582 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.002727, allocations: 11.94 kB / 0.5582 GB, free: 14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.002759, allocations: 15.92 kB / 0.5582 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.002784, allocations: 19.97 kB / 0.5582 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.002886, allocations: 51.83 kB / 0.5583 GB, free: 13.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.002888, allocations: 0 / 0.5583 GB, free: 13.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002888, allocations: 0 / 0.5583 GB, free: 13.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.002891, allocations: 4 kB / 0.5583 GB, free: 13.91 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.0003144/0.003206, allocations: 392.4 kB / 0.5587 GB, free: 13.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.003236, allocations: 9.938 kB / 0.5587 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.003265, allocations: 12.89 kB / 0.5587 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.003374, allocations: 128.5 kB / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003384, allocations: 12.31 kB / 0.5588 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.003392, allocations: 4.375 kB / 0.5588 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.003501, allocations: 70.92 kB / 0.5589 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.003508, allocations: 192 / 0.5589 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.003515, allocations: 4.375 kB / 0.5589 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00352, allocations: 384 / 0.5589 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.003547, allocations: 19.92 kB / 0.5589 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.0041, allocations: 276.3 kB / 0.5592 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.004155, allocations: 31.06 kB / 0.5592 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.004172, allocations: 11.69 kB / 0.5592 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.004198, allocations: 8.031 kB / 0.5592 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.004215, allocations: 37.42 kB / 0.5593 GB, free: 12.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.004216, allocations: 0 / 0.5593 GB, free: 12.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001191/0.004335, allocations: 49.64 kB / 0.5593 GB, free: 12.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.004362, allocations: 55.41 kB / 0.5594 GB, free: 12.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.004429, allocations: 182.5 kB / 0.5595 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.004437, allocations: 25.7 kB / 0.5596 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.004478, allocations: 134.8 kB / 0.5597 GB, free: 12.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.004497, allocations: 19.83 kB / 0.5597 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.004525, allocations: 23.36 kB / 0.5597 GB, free: 12.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.868e-05/0.004623, allocations: 492.1 kB / 0.5602 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.004636, allocations: 4 kB / 0.5602 GB, free: 11.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.004648, allocations: 7.922 kB / 0.5602 GB, free: 11.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/0.004674, allocations: 19.97 kB / 0.5602 GB, free: 11.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.004675, allocations: 4 kB / 0.5602 GB, free: 11.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.334e-05/0.004728, allocations: 45.61 kB / 0.5603 GB, free: 11.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.00474, allocations: 8 kB / 0.5603 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004743, allocations: 0 / 0.5603 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.004751, allocations: 0 / 0.5603 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.00481, allocations: 11.98 kB / 0.5603 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.004812, allocations: 0 / 0.5603 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.004836, allocations: 11.95 kB / 0.5603 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.004849, allocations: 3.938 kB / 0.5603 GB, free: 11.64 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 5.245e-05/0.004902, allocations: 160.6 kB / 0.5605 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.004918, allocations: 7.938 kB / 0.5605 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.00499, allocations: 49.67 kB / 0.5605 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.004991, allocations: 0 / 0.5605 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.004992, allocations: 0 / 0.5605 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.004995, allocations: 4 kB / 0.5605 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.597e-05/0.005081, allocations: 109.2 kB / 0.5606 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005081, allocations: 0 / 0.5606 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.005111, allocations: 11.98 kB / 0.5606 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.005112, allocations: 0 / 0.5606 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.005116, allocations: 0 / 0.5606 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.005118, allocations: 11.94 kB / 0.5607 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.005119, allocations: 0 / 0.5607 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.231e-05/0.005211, allocations: 203.8 kB / 0.5608 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.00522, allocations: 7.891 kB / 0.5609 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.00523, allocations: 0 / 0.5609 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.641e-05/0.005267, allocations: 11.92 kB / 0.5609 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.005295, allocations: 7.984 kB / 0.5609 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.005298, allocations: 0 / 0.5609 GB, free: 11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.721e-05/0.005336, allocations: 136.5 kB / 0.561 GB, free: 10.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005336, allocations: 0 / 0.561 GB, free: 10.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.00548, allocations: 12 kB / 0.561 GB, free: 10.86 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 9.589e-05/0.005576, allocations: 102.5 kB / 0.5611 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.302e-05/0.005649, allocations: 19.62 kB / 0.5611 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.41e-07/0.00565, allocations: 0 / 0.5611 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.00567, allocations: 15.67 kB / 0.5611 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.005859, allocations: 18.41 kB / 0.5612 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.006123, allocations: 157.1 kB / 0.5613 GB, free: 10.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.006157, allocations: 63.34 kB / 0.5614 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.965e-05/0.006176, allocations: 0 / 0.5614 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.006227, allocations: 78.19 kB / 0.5615 GB, free: 10.36 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.006228, allocations: 0 / 0.5615 GB, free: 10.36 MB / 490.7 MB Notification: Performance of Templates: time 0.002365/0.008593, allocations: 0.9157 MB / 0.5623 GB, free: 9.453 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.5746079641394317]