Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.3 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 181 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000799/0.000799, allocations: 94.92 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 16.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6723/0.8834, allocations: 137.2 MB / 1.113 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.8836, allocations: 80.92 kB / 1.114 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001766/0.8854, allocations: 0.5522 MB / 1.114 GB, free: 32.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8854, allocations: 0 / 1.114 GB, free: 32.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.8855, allocations: 3.938 kB / 1.114 GB, free: 32.02 MB / 0.698 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.0002601/0.8857, allocations: 347.2 kB / 1.114 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.8858, allocations: 7.719 kB / 1.114 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.8858, allocations: 4.438 kB / 1.114 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.591e-05/0.8859, allocations: 173.6 kB / 1.115 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.8859, allocations: 0 / 1.115 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.886, allocations: 3.875 kB / 1.115 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.8861, allocations: 57.23 kB / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8861, allocations: 0 / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8861, allocations: 0 / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.8861, allocations: 3.875 kB / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.8862, allocations: 20.44 kB / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.8865, allocations: 270 kB / 1.115 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.8865, allocations: 18.52 kB / 1.115 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-06/0.8866, allocations: 2.953 kB / 1.115 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.8866, allocations: 37.53 kB / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.073e-06/0.8866, allocations: 0 / 1.115 GB, free: 31.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001782/0.8868, allocations: 66.08 kB / 1.115 GB, free: 31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.8868, allocations: 81.06 kB / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.8869, allocations: 113.7 kB / 1.115 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.8869, allocations: 25.7 kB / 1.115 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.887, allocations: 103.4 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-06/0.887, allocations: 2.672 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.887, allocations: 7.031 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.8871, allocations: 310.8 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.8871, allocations: 18.02 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.8872, allocations: 56.69 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.8872, allocations: 43.7 kB / 1.116 GB, free: 30.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8872, allocations: 7.844 kB / 1.116 GB, free: 30.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001193/0.8874, allocations: 119.9 kB / 1.116 GB, free: 30.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.8874, allocations: 32.25 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8874, allocations: 3.844 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.8874, allocations: 3.938 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.8875, allocations: 7.781 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8875, allocations: 7.781 kB / 1.116 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.8876, allocations: 18.86 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.8876, allocations: 10.19 kB / 1.116 GB, free: 30.13 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.01e-05/0.8877, allocations: 138.4 kB / 1.116 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.8877, allocations: 7.359 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.8877, allocations: 7.344 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.8877, allocations: 0 / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8877, allocations: 1.531 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.8877, allocations: 3.938 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.8879, allocations: 159.5 kB / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8879, allocations: 4 kB / 1.116 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-06/0.8879, allocations: 9.203 kB / 1.116 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8879, allocations: 0 / 1.116 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.8879, allocations: 0 / 1.116 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.8879, allocations: 0 / 1.116 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8879, allocations: 0 / 1.116 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.983e-05/0.888, allocations: 166.6 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.8881, allocations: 77.11 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.8881, allocations: 7.844 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.8881, allocations: 2.562 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.8882, allocations: 5.562 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.8882, allocations: 4.359 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.8882, allocations: 89 kB / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8882, allocations: 0 / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002228/0.8885, allocations: 7.812 kB / 1.117 GB, free: 29.44 MB / 0.698 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 (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.0001453/0.8886, allocations: 106.2 kB / 1.117 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.8887, allocations: 87.5 kB / 1.117 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8887, allocations: 7.781 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/0.8888, allocations: 58.41 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.8889, allocations: 4.703 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.8891, allocations: 111.8 kB / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.8893, allocations: 0.6824 MB / 1.118 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.8894, allocations: 13.73 kB / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-06/0.8894, allocations: 11.34 kB / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.8894, allocations: 0 / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of Templates: time 0.002192/0.8916, allocations: 491.3 kB / 1.118 GB, free: 28.34 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)