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.0007875/0.0007875, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009909/0.0009909, allocations: 169 kB / 23.27 MB, free: 1.223 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.9541/0.9541, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.002767/0.002767, allocations: 241.6 kB / 260.5 MB, free: 12.67 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.7508/0.7508, allocations: 138.4 MB / 455.5 MB, free: 1.387 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.352e-06/1.352e-06, allocations: 0 / 0.5556 GB, free: 212 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.285e-05, allocations: 2.312 kB / 0.5556 GB, free: 208 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002012/0.002034, allocations: 1.576 MB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.002308, allocations: 116.4 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.002362, allocations: 0 / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.002473, allocations: 11.92 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.726e-05/0.0025, allocations: 15.88 kB / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.00275, allocations: 31.89 kB / 0.5573 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.002829, allocations: 55.77 kB / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.002914, allocations: 12 kB / 0.5574 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.002974, allocations: 31.97 kB / 0.5574 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.003032, allocations: 27.89 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.003048, allocations: 8 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.003105, allocations: 15.98 kB / 0.5575 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.003139, allocations: 11.98 kB / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.003158, allocations: 11.94 kB / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003262, allocations: 55.81 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003264, allocations: 0 / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003265, allocations: 0 / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.003268, allocations: 0 / 0.5576 GB, free: 14.21 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.0003273/0.003595, allocations: 400.4 kB / 0.5579 GB, free: 13.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.00363, allocations: 8.75 kB / 0.5579 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.003659, allocations: 12.89 kB / 0.558 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.003774, allocations: 128.4 kB / 0.5581 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-06/0.003781, allocations: 4.375 kB / 0.5581 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.003789, allocations: 4.375 kB / 0.5581 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.003905, allocations: 74.92 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.00391, allocations: 192 / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.003918, allocations: 4.375 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.003922, allocations: 384 / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.325e-05/0.003945, allocations: 15.88 kB / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.004198, allocations: 276.3 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/0.00425, allocations: 43.08 kB / 0.5585 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.004268, allocations: 7.688 kB / 0.5585 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.004296, allocations: 8 kB / 0.5585 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.004314, allocations: 37.33 kB / 0.5585 GB, free: 13.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.004317, allocations: 7.984 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001163/0.004433, allocations: 49.73 kB / 0.5586 GB, free: 13.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.004458, allocations: 51.41 kB / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.539e-05/0.004523, allocations: 169.9 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.004533, allocations: 29.64 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.004773, allocations: 150.7 kB / 0.559 GB, free: 12.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.004789, allocations: 3.953 kB / 0.559 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.004819, allocations: 23.38 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.004923, allocations: 0.4884 MB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.004935, allocations: 8 kB / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-06/0.004944, allocations: 0 / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.00497, allocations: 19.67 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.004973, allocations: 4 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.469e-05/0.005028, allocations: 49.59 kB / 0.5596 GB, free: 11.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.005038, allocations: 4 kB / 0.5596 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005043, allocations: 3.938 kB / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.005052, allocations: 0 / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.005112, allocations: 15.92 kB / 0.5596 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.005115, allocations: 3.984 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.005138, allocations: 11.98 kB / 0.5596 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.005152, allocations: 4 kB / 0.5596 GB, free: 11.92 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.159e-05/0.005214, allocations: 152.6 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.005229, allocations: 7.938 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.005304, allocations: 53.67 kB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005307, allocations: 4 kB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.005308, allocations: 0 / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.00531, allocations: 0 / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.089e-05/0.005401, allocations: 109.2 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005402, allocations: 0 / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.005431, allocations: 19.92 kB / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005432, allocations: 0 / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.005437, allocations: 0 / 0.5599 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.005439, allocations: 3.938 kB / 0.5599 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005441, allocations: 0 / 0.5599 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.672e-05/0.005527, allocations: 191.9 kB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.005535, allocations: 7.891 kB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-06/0.005543, allocations: 0 / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.005583, allocations: 7.938 kB / 0.5601 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.005612, allocations: 12.41 kB / 0.5601 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.005617, allocations: 4 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.005658, allocations: 139.5 kB / 0.5603 GB, free: 11.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005658, allocations: 0 / 0.5603 GB, free: 11.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001433/0.005802, allocations: 8 kB / 0.5603 GB, free: 11.15 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 8.473e-05/0.005886, allocations: 95.25 kB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.017e-05/0.005946, allocations: 31.59 kB / 0.5604 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005948, allocations: 0 / 0.5604 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.005966, allocations: 11.69 kB / 0.5604 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.00613, allocations: 19.86 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.006368, allocations: 157.1 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.006399, allocations: 59.34 kB / 0.5606 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.019e-05/0.006419, allocations: 4 kB / 0.5606 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.006466, allocations: 70.2 kB / 0.5607 GB, free: 10.64 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006467, allocations: 3.938 kB / 0.5607 GB, free: 10.64 MB / 490.7 MB Notification: Performance of Templates: time 0.002343/0.00881, allocations: 0.9104 MB / 0.5616 GB, free: 9.746 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.527815113775432]