Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0009874/0.0009874, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.001098/0.001098, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9673/0.9673, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.001823/0.001823, allocations: 234 kB / 260.5 MB, free: 12.65 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.7576/0.7576, allocations: 138.4 MB / 455.5 MB, free: 1.445 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5557 GB, free: 232 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.365e-05, allocations: 2.312 kB / 0.5557 GB, free: 228 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001279/0.001302, allocations: 0.604 MB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.001472, allocations: 35.89 kB / 0.5563 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.781e-05/0.001489, allocations: 0 / 0.5563 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.001517, allocations: 0 / 0.5563 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.788e-05/0.001545, allocations: 0 / 0.5563 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.001707, allocations: 19.97 kB / 0.5563 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.001762, allocations: 4 kB / 0.5563 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.665e-05/0.001789, allocations: 0 / 0.5563 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.001821, allocations: 7.984 kB / 0.5563 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.001855, allocations: 0 / 0.5563 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.001867, allocations: 0 / 0.5563 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.001934, allocations: 15.98 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.001965, allocations: 7.938 kB / 0.5563 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.001981, allocations: 7.938 kB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.959e-05/0.002061, allocations: 31.89 kB / 0.5564 GB, free: 15.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-06/0.002062, allocations: 0 / 0.5564 GB, free: 15.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.002063, allocations: 4 kB / 0.5564 GB, free: 15.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.002066, allocations: 0 / 0.5564 GB, free: 15.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002257/0.002292, allocations: 378 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.002323, allocations: 8.75 kB / 0.5567 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.002345, allocations: 9.234 kB / 0.5568 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.788e-05/0.002393, allocations: 108.6 kB / 0.5569 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.002401, allocations: 384 / 0.5569 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.002408, allocations: 4.375 kB / 0.5569 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.049e-05/0.002478, allocations: 67.95 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.002484, allocations: 192 / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.002489, allocations: 384 / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.002511, allocations: 12.31 kB / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.614e-05/0.002537, allocations: 41.62 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.002733, allocations: 252.3 kB / 0.5572 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.096e-05/0.002774, allocations: 52.77 kB / 0.5573 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.00279, allocations: 33.39 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.002797, allocations: 8 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.002815, allocations: 37.33 kB / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002816, allocations: 0 / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.002926, allocations: 118.8 kB / 0.5575 GB, free: 14.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.002957, allocations: 85.23 kB / 0.5575 GB, free: 14.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.003025, allocations: 185.8 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.003033, allocations: 25.7 kB / 0.5577 GB, free: 13.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.003078, allocations: 150.7 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.003082, allocations: 0 / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.003111, allocations: 35.31 kB / 0.5579 GB, free: 13.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.003216, allocations: 492.1 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.003234, allocations: 37.69 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.003283, allocations: 111.1 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.977e-05/0.003353, allocations: 140.8 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.003354, allocations: 0 / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.723e-05/0.003442, allocations: 141 kB / 0.5588 GB, free: 12.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.003464, allocations: 37.73 kB / 0.5588 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.003468, allocations: 0 / 0.5588 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.003478, allocations: 4 kB / 0.5588 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.00352, allocations: 11.94 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.003524, allocations: 4 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.003566, allocations: 19.88 kB / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.003574, allocations: 4 kB / 0.5589 GB, free: 12.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.351e-05/0.003637, allocations: 182.3 kB / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.00365, allocations: 7.938 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.017e-05/0.003661, allocations: 3.469 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.003662, allocations: 7.938 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.003663, allocations: 0 / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.003665, allocations: 4 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.149e-05/0.003746, allocations: 105.2 kB / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.003747, allocations: 0 / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.003748, allocations: 0 / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.003749, allocations: 0 / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.003754, allocations: 7.875 kB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003754, allocations: 0 / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.003755, allocations: 0 / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.003853, allocations: 247.3 kB / 0.5594 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.003859, allocations: 0 / 0.5594 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.003867, allocations: 7.938 kB / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.011e-05/0.003897, allocations: 3.984 kB / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-06/0.003905, allocations: 0 / 0.5594 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.003908, allocations: 4 kB / 0.5594 GB, free: 11.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.003947, allocations: 131.2 kB / 0.5596 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003947, allocations: 0 / 0.5596 GB, free: 11.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.004097, allocations: 11.94 kB / 0.5596 GB, free: 11.78 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001125/0.00421, allocations: 107.2 kB / 0.5597 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.00431, allocations: 150.4 kB / 0.5598 GB, free: 11.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.004311, allocations: 0 / 0.5598 GB, free: 11.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.004338, allocations: 88.8 kB / 0.5599 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.004466, allocations: 4 kB / 0.5599 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001609/0.004627, allocations: 146.5 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.004658, allocations: 59.34 kB / 0.5601 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.107e-05/0.004679, allocations: 4.562 kB / 0.5601 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.004721, allocations: 74.2 kB / 0.5602 GB, free: 11.05 MB / 490.7 MB Notification: Performance of SimCode: time 4.4e-07/0.004722, allocations: 0 / 0.5602 GB, free: 11.05 MB / 490.7 MB Notification: Performance of Templates: time 0.001924/0.006646, allocations: 0.6166 MB / 0.5608 GB, free: 10.45 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5203397660516202]