Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001872/0.001872, allocations: 80.45 kB / 19.95 MB, free: 4.602 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.002/0.002, allocations: 169.2 kB / 23.24 MB, free: 1.316 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 1.64/1.64, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.204/3.204, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.613e-05, allocations: 9.875 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001577/0.001603, allocations: 0.5877 MB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002167/0.00182, allocations: 35.83 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.001843, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.001869, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.261e-05/0.001901, allocations: 4 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.002085, allocations: 15.92 kB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.885e-05/0.002153, allocations: 7.984 kB / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.002188, allocations: 4 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.002218, allocations: 4 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.002254, allocations: 0 / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.002279, allocations: 0 / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.002361, allocations: 23.97 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.002391, allocations: 11.92 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.002411, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.835e-05/0.00251, allocations: 19.98 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002512, allocations: 0 / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002512, allocations: 0 / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.002515, allocations: 0 / 1.002 GB, free: 12.25 MB / 0.9636 GB 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.0003644/0.00288, allocations: 280 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.002916, allocations: 13.34 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.002949, allocations: 0.9375 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.676e-05/0.003046, allocations: 105.8 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.00306, allocations: 4.375 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.00307, allocations: 4.312 kB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.00324, allocations: 95.86 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.003248, allocations: 192 / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.003258, allocations: 4.359 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.003283, allocations: 8.375 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.003358, allocations: 57.62 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.003682, allocations: 208.5 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.003756, allocations: 52.16 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.003792, allocations: 34.62 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.0038, allocations: 4 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.003831, allocations: 30.56 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.003832, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002186/0.004051, allocations: 122.8 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.004116, allocations: 77.11 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.004245, allocations: 117.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.00427, allocations: 37.77 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.00435, allocations: 103.9 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.004361, allocations: 11.94 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.004407, allocations: 25.67 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.004572, allocations: 314.8 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.00462, allocations: 37.7 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.004711, allocations: 84.56 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.005063, allocations: 139 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005065, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000202/0.005267, allocations: 140.9 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.005309, allocations: 37.69 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.005314, allocations: 256 / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.005331, allocations: 11.94 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.005398, allocations: 12 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.005404, allocations: 0 / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.00547, allocations: 7.953 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.005491, allocations: 12 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB 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 0.0001223/0.005613, allocations: 147.4 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.00564, allocations: 7.938 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.005654, allocations: 3.469 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005655, allocations: 0 / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.005658, allocations: 0 / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-06/0.00566, allocations: 7.938 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.005799, allocations: 105.4 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.0058, allocations: 4 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/0.005803, allocations: 3.938 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005804, allocations: 0 / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.00581, allocations: 0 / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.005811, allocations: 0 / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005812, allocations: 0 / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.005999, allocations: 191 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.006011, allocations: 7.891 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006021, allocations: 4.031 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.006083, allocations: 7.984 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.006099, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.006104, allocations: 3.938 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.006168, allocations: 91.27 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006168, allocations: 0 / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00024/0.006408, allocations: 15.98 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB 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.0001607/0.006568, allocations: 99.25 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.00676, allocations: 146.8 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.006761, allocations: 0 / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/0.006825, allocations: 85.09 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.007052, allocations: 7.938 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.007305, allocations: 134.6 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.066e-05/0.007376, allocations: 63.34 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.911e-05/0.007415, allocations: 8.484 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.007431, allocations: 16.5 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.007431, allocations: 0 / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of Templates: time 0.003229/0.01066, allocations: 0.557 MB / 1.006 GB, free: 7.914 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.669883378781378]