Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009063/0.0009064, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5682/0.5682, allocations: 95.58 MB / 365.9 MB, free: 10.37 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006244, allocations: 19.98 kB / 446.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2826, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006499/0.2833, allocations: 269.7 kB / 0.5053 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.2835, allocations: 39.86 kB / 0.5053 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.2835, allocations: 0 / 0.5053 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.2836, allocations: 0 / 0.5053 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.013e-05/0.2836, allocations: 0 / 0.5053 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.2838, allocations: 7.984 kB / 0.5053 GB, free: 16.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.909e-05/0.2838, allocations: 4 kB / 0.5053 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.2839, allocations: 0 / 0.5053 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.2839, allocations: 7.984 kB / 0.5053 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.863e-05/0.284, allocations: 4 kB / 0.5053 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.284, allocations: 0 / 0.5053 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.2841, allocations: 19.98 kB / 0.5053 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.2841, allocations: 6.516 kB / 0.5053 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.2841, allocations: 29.7 kB / 0.5054 GB, free: 16.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.856e-05/0.2842, allocations: 15.91 kB / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.2842, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2842, allocations: 0 / 0.5054 GB, free: 16.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.2842, allocations: 4 kB / 0.5054 GB, free: 16.11 MB / 382.1 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.000222/0.2844, allocations: 345 kB / 0.5057 GB, free: 15.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2845, allocations: 11.98 kB / 0.5057 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.2845, allocations: 4 kB / 0.5057 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.005e-05/0.2846, allocations: 169 kB / 0.5059 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2846, allocations: 0 / 0.5059 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2846, allocations: 0 / 0.5059 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.2847, allocations: 64.77 kB / 0.506 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2848, allocations: 0 / 0.506 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.2848, allocations: 4 kB / 0.506 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.2848, allocations: 7.984 kB / 0.506 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.044e-05/0.2848, allocations: 23.98 kB / 0.506 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.2851, allocations: 268.8 kB / 0.5063 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.48e-05/0.2852, allocations: 18.58 kB / 0.5063 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.2852, allocations: 0 / 0.5063 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.2852, allocations: 34.5 kB / 0.5063 GB, free: 15.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.2852, allocations: 0 / 0.5063 GB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.2854, allocations: 71.45 kB / 0.5064 GB, free: 14.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.2854, allocations: 77.11 kB / 0.5064 GB, free: 14.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.195e-05/0.2855, allocations: 121.9 kB / 0.5066 GB, free: 14.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.2855, allocations: 25.7 kB / 0.5066 GB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.2855, allocations: 111.7 kB / 0.5067 GB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.2855, allocations: 0 / 0.5067 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2855, allocations: 4 kB / 0.5067 GB, free: 14.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.2856, allocations: 318.8 kB / 0.507 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.2856, allocations: 15.92 kB / 0.507 GB, free: 14.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.2857, allocations: 62.8 kB / 0.5071 GB, free: 14.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.2857, allocations: 45.69 kB / 0.5071 GB, free: 14.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2857, allocations: 4 kB / 0.5071 GB, free: 14.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001135/0.2858, allocations: 115.2 kB / 0.5072 GB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.2859, allocations: 37.7 kB / 0.5073 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2859, allocations: 0 / 0.5073 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2859, allocations: 7.938 kB / 0.5073 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.286, allocations: 12 kB / 0.5073 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.286, allocations: 7.922 kB / 0.5073 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.286, allocations: 12.16 kB / 0.5073 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2861, allocations: 8 kB / 0.5073 GB, free: 13.88 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.2861, allocations: 143.5 kB / 0.5075 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.2862, allocations: 7.984 kB / 0.5075 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.052e-05/0.2862, allocations: 11.47 kB / 0.5075 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2862, allocations: 0 / 0.5075 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2862, allocations: 0 / 0.5075 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2862, allocations: 4 kB / 0.5075 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.2863, allocations: 157.6 kB / 0.5076 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2863, allocations: 4 kB / 0.5076 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.2863, allocations: 4 kB / 0.5076 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2863, allocations: 0 / 0.5076 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2863, allocations: 0 / 0.5076 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2863, allocations: 0 / 0.5076 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2863, allocations: 0 / 0.5076 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/0.2864, allocations: 173 kB / 0.5078 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.2864, allocations: 81.05 kB / 0.5079 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2865, allocations: 8.031 kB / 0.5079 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.2865, allocations: 0 / 0.5079 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.2865, allocations: 0 / 0.5079 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.2866, allocations: 4 kB / 0.5079 GB, free: 13.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.2866, allocations: 91.27 kB / 0.508 GB, free: 13.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2866, allocations: 0 / 0.508 GB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.2869, allocations: 8 kB / 0.508 GB, free: 13.09 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.287, allocations: 107.3 kB / 0.5081 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.2871, allocations: 87.33 kB / 0.5082 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2871, allocations: 0 / 0.5082 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-05/0.2871, allocations: 59.34 kB / 0.5082 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.2872, allocations: 7.938 kB / 0.5082 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001615/0.2874, allocations: 111.2 kB / 0.5083 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2875, allocations: 0.6809 MB / 0.509 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.292e-05/0.2876, allocations: 24.09 kB / 0.509 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-06/0.2876, allocations: 7.438 kB / 0.509 GB, free: 11.92 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2876, allocations: 0 / 0.509 GB, free: 11.92 MB / 382.1 MB Notification: Performance of Templates: time 0.002225/0.2899, allocations: 489 kB / 0.5095 GB, free: 11.45 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) Environment - environmentSimulation: