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.001002/0.001002, allocations: 92.22 kB / 19.65 MB, free: 276 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.001111/0.001111, allocations: 173 kB / 23.02 MB, free: 1.547 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.99/0.99, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001659/0.001659, allocations: 242.1 kB / 260.2 MB, free: 12.81 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.7408/0.7408, allocations: 138.4 MB / 455.1 MB, free: 29.98 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.613e-06/1.613e-06, allocations: 0 / 0.5551 GB, free: 108 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.868e-05, allocations: 6.312 kB / 0.5551 GB, free: 100 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002329/0.002358, allocations: 1.585 MB / 0.5567 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003939/0.002752, allocations: 112.4 kB / 0.5568 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.002811, allocations: 7.938 kB / 0.5568 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.002969, allocations: 7.922 kB / 0.5568 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.561e-05/0.002995, allocations: 7.875 kB / 0.5568 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.003265, allocations: 27.95 kB / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.923e-05/0.003364, allocations: 55.84 kB / 0.5569 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003473, allocations: 19.97 kB / 0.5569 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.003538, allocations: 39.91 kB / 0.5569 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.003598, allocations: 23.95 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.003615, allocations: 4 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.003675, allocations: 11.94 kB / 0.557 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.003714, allocations: 15.92 kB / 0.557 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.003746, allocations: 23.92 kB / 0.557 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.00387, allocations: 43.88 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003873, allocations: 4 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003874, allocations: 3.938 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.00388, allocations: 0 / 0.557 GB, free: 14.09 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.0003902/0.00427, allocations: 396.4 kB / 0.5574 GB, free: 13.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.004312, allocations: 13.92 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.004361, allocations: 8.891 kB / 0.5574 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.004502, allocations: 124.6 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.004513, allocations: 8.312 kB / 0.5576 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.004527, allocations: 16.36 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.004688, allocations: 66.94 kB / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004695, allocations: 192 / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.004705, allocations: 384 / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.004712, allocations: 384 / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.004752, allocations: 23.92 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.005105, allocations: 303.6 kB / 0.558 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.00518, allocations: 35.05 kB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.005209, allocations: 19.72 kB / 0.558 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.005244, allocations: 7.938 kB / 0.558 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.005264, allocations: 33.39 kB / 0.5581 GB, free: 12.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.005265, allocations: 0 / 0.5581 GB, free: 12.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000168/0.005433, allocations: 49.73 kB / 0.5581 GB, free: 12.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.005463, allocations: 59.34 kB / 0.5582 GB, free: 12.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.005541, allocations: 174.6 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.005552, allocations: 29.69 kB / 0.5584 GB, free: 12.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.005602, allocations: 138.8 kB / 0.5585 GB, free: 12.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.00562, allocations: 11.91 kB / 0.5585 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.005651, allocations: 23.38 kB / 0.5585 GB, free: 12.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.005768, allocations: 496.1 kB / 0.559 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.00579, allocations: 7.938 kB / 0.559 GB, free: 11.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.005805, allocations: 0 / 0.559 GB, free: 11.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.005844, allocations: 23.67 kB / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005845, allocations: 0 / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.864e-05/0.005914, allocations: 45.64 kB / 0.5591 GB, free: 11.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.005929, allocations: 14.8 kB / 0.5591 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005934, allocations: 0 / 0.5591 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005946, allocations: 0 / 0.5591 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.006021, allocations: 8 kB / 0.5591 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.006025, allocations: 4 kB / 0.5591 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.00605, allocations: 15.88 kB / 0.5591 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.006067, allocations: 0 / 0.5591 GB, free: 11.77 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 6.267e-05/0.00613, allocations: 156.6 kB / 0.5593 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.006145, allocations: 7.938 kB / 0.5593 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.006256, allocations: 57.67 kB / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006258, allocations: 384 / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006263, allocations: 0 / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006265, allocations: 0 / 0.5593 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.006372, allocations: 128.6 kB / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006374, allocations: 3.984 kB / 0.5594 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.006411, allocations: 11.98 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.006414, allocations: 3.938 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.00642, allocations: 0 / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.006422, allocations: 0 / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006423, allocations: 0 / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.006529, allocations: 207.8 kB / 0.5597 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.006537, allocations: 11.83 kB / 0.5597 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.00655, allocations: 11.98 kB / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.006585, allocations: 4 kB / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.006623, allocations: 7.984 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.00663, allocations: 0 / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.006671, allocations: 136.2 kB / 0.5598 GB, free: 10.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006671, allocations: 0 / 0.5598 GB, free: 10.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001511/0.006822, allocations: 12 kB / 0.5598 GB, free: 10.96 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.0001234/0.006945, allocations: 95.25 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.214e-05/0.007037, allocations: 27.61 kB / 0.56 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007039, allocations: 0 / 0.56 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.007062, allocations: 15.69 kB / 0.56 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.007258, allocations: 7.938 kB / 0.56 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.007596, allocations: 157.1 kB / 0.5601 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.007638, allocations: 60.77 kB / 0.5602 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.217e-05/0.00767, allocations: 11.98 kB / 0.5602 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.007699, allocations: 8.5 kB / 0.5602 GB, free: 10.52 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0077, allocations: 4 kB / 0.5602 GB, free: 10.51 MB / 490.7 MB Notification: Performance of Templates: time 0.002819/0.01052, allocations: 0.8733 MB / 0.5611 GB, free: 9.648 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.6872234446927905]