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.0009233/0.0009233, allocations: 80.88 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.0009718/0.0009718, allocations: 181 kB / 23.36 MB, free: 1.129 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.9715/0.9715, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.002243/0.002243, allocations: 246.3 kB / 260.5 MB, free: 12.68 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.6799/0.6799, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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 1.723e-06/1.723e-06, allocations: 0 / 462.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.564e-05, allocations: 3.75 kB / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001502/0.001518, allocations: 0.6009 MB / 463 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000252/0.00177, allocations: 36.33 kB / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.001792, allocations: 2.5 kB / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.001828, allocations: 0.6562 kB / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.86e-05/0.001867, allocations: 1.219 kB / 463 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.002076, allocations: 22.95 kB / 463 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.002141, allocations: 5.094 kB / 463 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.002176, allocations: 1.781 kB / 463 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.002213, allocations: 3.688 kB / 463 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.002254, allocations: 5.312 kB / 463 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.002266, allocations: 1.969 kB / 463 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.002344, allocations: 21.47 kB / 463.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.002372, allocations: 5.062 kB / 463.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.002387, allocations: 3.328 kB / 463.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.002481, allocations: 26.77 kB / 463.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542e-06/0.002482, allocations: 0.5625 kB / 463.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002483, allocations: 0.5625 kB / 463.1 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.002486, allocations: 0 / 463.1 MB, free: 0.4922 MB / 410.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.0002278/0.002714, allocations: 254.6 kB / 463.4 MB, free: 232 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.002747, allocations: 9.953 kB / 463.4 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.002777, allocations: 4.984 kB / 463.4 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.345e-05/0.00282, allocations: 107.5 kB / 463.5 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.002831, allocations: 8.266 kB / 463.5 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.002844, allocations: 2.922 kB / 463.5 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.002933, allocations: 67.39 kB / 463.6 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.002942, allocations: 1 kB / 463.6 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.00295, allocations: 1.469 kB / 463.6 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.00298, allocations: 7.641 kB / 463.6 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.003029, allocations: 40.41 kB / 463.6 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.003256, allocations: 170 kB / 463.8 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.003307, allocations: 52.19 kB / 463.8 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.003329, allocations: 34.08 kB / 463.9 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-06/0.003333, allocations: 1.906 kB / 463.9 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.003357, allocations: 37.17 kB / 463.9 MB, free: 15.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.003359, allocations: 0.7188 kB / 463.9 MB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.003495, allocations: 115 kB / 464 MB, free: 15.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.003562, allocations: 82.98 kB / 464.1 MB, free: 15.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.003643, allocations: 125.2 kB / 464.2 MB, free: 15.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.003655, allocations: 26.3 kB / 464.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.003709, allocations: 108 kB / 464.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/0.003718, allocations: 6.078 kB / 464.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.003761, allocations: 28.98 kB / 464.4 MB, free: 15.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.003851, allocations: 315.7 kB / 464.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.003873, allocations: 32.69 kB / 464.7 MB, free: 14.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.003929, allocations: 80.83 kB / 464.8 MB, free: 14.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.41e-05/0.004023, allocations: 126.2 kB / 464.9 MB, free: 14.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004026, allocations: 1.25 kB / 464.9 MB, free: 14.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000138/0.004164, allocations: 130.6 kB / 465 MB, free: 14.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.004196, allocations: 37.53 kB / 465.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.004203, allocations: 2.5 kB / 465.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.004219, allocations: 4.5 kB / 465.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.004279, allocations: 11.88 kB / 465.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.004284, allocations: 3.016 kB / 465.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.004343, allocations: 6.828 kB / 465.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.004357, allocations: 6.188 kB / 465.1 MB, free: 14.46 MB / 426.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 9.769e-05/0.004455, allocations: 148 kB / 465.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.004481, allocations: 7.438 kB / 465.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.474e-05/0.004496, allocations: 5.234 kB / 465.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.004499, allocations: 2.547 kB / 465.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.004501, allocations: 0.625 kB / 465.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004504, allocations: 0.875 kB / 465.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.704e-05/0.004581, allocations: 69.38 kB / 465.3 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.004583, allocations: 0 / 465.3 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.004585, allocations: 1.828 kB / 465.3 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.004588, allocations: 2.031 kB / 465.3 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.004593, allocations: 2.062 kB / 465.3 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.004596, allocations: 6.844 kB / 465.4 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.004597, allocations: 0 / 465.4 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.004699, allocations: 187.9 kB / 465.5 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.004707, allocations: 5.984 kB / 465.5 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.004716, allocations: 2.219 kB / 465.5 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.004748, allocations: 5 kB / 465.6 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.004758, allocations: 4.391 kB / 465.6 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.004762, allocations: 1.375 kB / 465.6 MB, free: 14.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.536e-05/0.004778, allocations: 12.5 kB / 465.6 MB, free: 14 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004778, allocations: 0.6562 kB / 465.6 MB, free: 14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.00493, allocations: 17.44 kB / 465.6 MB, free: 14 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 (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.0001176/0.005047, allocations: 85 kB / 465.7 MB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.005188, allocations: 137.4 kB / 465.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/0.005192, allocations: 2.375 kB / 465.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.00523, allocations: 95.91 kB / 465.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.005331, allocations: 6.516 kB / 465.9 MB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.005518, allocations: 136.2 kB / 466 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.914e-05/0.005547, allocations: 56.66 kB / 466.1 MB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.114e-05/0.005568, allocations: 4.094 kB / 466.1 MB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.005612, allocations: 59.72 kB / 466.2 MB, free: 13.42 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005613, allocations: 0 / 466.2 MB, free: 13.42 MB / 426.7 MB Notification: Performance of Templates: time 0.002193/0.007805, allocations: 0.6169 MB / 466.8 MB, free: 13.38 MB / 426.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.393487630877644]