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.0008852/0.0008852, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001026/0.001026, allocations: 177 kB / 23.36 MB, free: 1.133 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.972/0.972, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.002365/0.002365, allocations: 247.8 kB / 260.5 MB, free: 12.7 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.7106/0.7106, allocations: 138.4 MB / 402.2 MB, free: 0.5078 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.322e-06/1.322e-06, allocations: 1.281 kB / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.738e-05, allocations: 4.562 kB / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.001947/0.001964, allocations: 1.596 MB / 463.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.002198, allocations: 118.4 kB / 464 MB, free: 15.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.002228, allocations: 6.844 kB / 464 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.072e-05/0.002289, allocations: 8 kB / 464 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.148e-05/0.002311, allocations: 8.781 kB / 464 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.002461, allocations: 29.53 kB / 464.1 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.002536, allocations: 59.08 kB / 464.1 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.961e-05/0.002596, allocations: 14.41 kB / 464.1 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.002643, allocations: 33.5 kB / 464.2 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.00269, allocations: 27.3 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.002701, allocations: 6.969 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.387e-05/0.002735, allocations: 10.38 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.002766, allocations: 16.11 kB / 464.2 MB, free: 15.75 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.002786, allocations: 23.98 kB / 464.3 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.211e-05/0.002869, allocations: 51.34 kB / 464.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-06/0.00287, allocations: 1.25 kB / 464.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.00287, allocations: 0 / 464.3 MB, free: 15.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.002877, allocations: 0 / 464.3 MB, free: 15.71 MB / 426.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.000221/0.003098, allocations: 276.2 kB / 464.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.314e-05/0.003121, allocations: 10.47 kB / 464.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.861e-05/0.00314, allocations: 10.09 kB / 464.6 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.00322, allocations: 122.5 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-06/0.003225, allocations: 2.406 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.003233, allocations: 4.438 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.368e-05/0.003326, allocations: 78.7 kB / 464.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-06/0.00333, allocations: 192 / 464.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.003336, allocations: 4.375 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-06/0.003338, allocations: 2.281 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.003363, allocations: 13.81 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.003566, allocations: 195 kB / 465 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.163e-05/0.003608, allocations: 31.41 kB / 465 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.003623, allocations: 9.484 kB / 465.1 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.003639, allocations: 2.531 kB / 465.1 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.003654, allocations: 37.73 kB / 465.1 MB, free: 15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.003655, allocations: 5 kB / 465.1 MB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 7.728e-05/0.003732, allocations: 45.75 kB / 465.1 MB, free: 14.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.003758, allocations: 52.47 kB / 465.2 MB, free: 14.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.003814, allocations: 120.8 kB / 465.3 MB, free: 14.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.003826, allocations: 26.98 kB / 465.3 MB, free: 14.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.003858, allocations: 94.72 kB / 465.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.003872, allocations: 5.984 kB / 465.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.003894, allocations: 14.52 kB / 465.5 MB, free: 14.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.003967, allocations: 323.3 kB / 465.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.003978, allocations: 3.219 kB / 465.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.003988, allocations: 3.656 kB / 465.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.004015, allocations: 22.44 kB / 465.8 MB, free: 14.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.004016, allocations: 0 / 465.8 MB, free: 14.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.462e-05/0.004061, allocations: 40.14 kB / 465.8 MB, free: 14.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.004072, allocations: 9.406 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.004076, allocations: 3.016 kB / 465.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.004087, allocations: 1.438 kB / 465.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.913e-05/0.004136, allocations: 10.53 kB / 465.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.004138, allocations: 0 / 465.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.004159, allocations: 6.844 kB / 465.9 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.00417, allocations: 2.781 kB / 465.9 MB, free: 14.27 MB / 426.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 4.675e-05/0.004217, allocations: 110.5 kB / 466 MB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.004232, allocations: 9.344 kB / 466 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.396e-05/0.004306, allocations: 58.56 kB / 466 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.004308, allocations: 4.062 kB / 466 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.00431, allocations: 0.6562 kB / 466.1 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.004312, allocations: 0 / 466.1 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.205e-05/0.004394, allocations: 78.91 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.004396, allocations: 0 / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.004424, allocations: 13.78 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.004425, allocations: 1.094 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.004429, allocations: 3.938 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.004432, allocations: 5.859 kB / 466.2 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004432, allocations: 0 / 466.2 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.936e-05/0.004502, allocations: 138.2 kB / 466.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.004509, allocations: 8.953 kB / 466.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.004517, allocations: 1.125 kB / 466.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.004552, allocations: 10.89 kB / 466.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.00458, allocations: 10.52 kB / 466.3 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.004584, allocations: 1.062 kB / 466.3 MB, free: 13.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.701e-05/0.004601, allocations: 21.62 kB / 466.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004602, allocations: 0 / 466.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001241/0.004726, allocations: 9.531 kB / 466.3 MB, free: 13.86 MB / 426.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 8.514e-05/0.004811, allocations: 77.86 kB / 466.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.513e-05/0.004876, allocations: 66.58 kB / 466.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.004878, allocations: 0.7812 kB / 466.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.004898, allocations: 17.42 kB / 466.5 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.005016, allocations: 5.812 kB / 466.5 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.005237, allocations: 156.7 kB / 466.7 MB, free: 13.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.005269, allocations: 61.28 kB / 466.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.005289, allocations: 8.016 kB / 466.7 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.005332, allocations: 54.14 kB / 466.8 MB, free: 13.46 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005332, allocations: 2.312 kB / 466.8 MB, free: 13.46 MB / 426.7 MB Notification: Performance of Templates: time 0.002258/0.00759, allocations: 0.7767 MB / 467.6 MB, free: 13.21 MB / 426.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.4267350248992443]