Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.472/2.472, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001291/0.00129, allocations: 177.3 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009079/0.0009077, allocations: 97.72 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006375, allocations: 14.42 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2075, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.913/1.121, allocations: 137.1 MB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.121, allocations: 83.47 kB / 1.113 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002054/1.123, allocations: 0.552 MB / 1.114 GB, free: 31.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/1.123, allocations: 1.156 kB / 1.114 GB, free: 31.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.123, allocations: 0 / 1.114 GB, free: 31.5 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.0002909/1.123, allocations: 351.7 kB / 1.114 GB, free: 31.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.123, allocations: 7.719 kB / 1.114 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/1.123, allocations: 1.562 kB / 1.114 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.615e-05/1.123, allocations: 172.6 kB / 1.114 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.123, allocations: 384 / 1.114 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/1.124, allocations: 384 / 1.114 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/1.124, allocations: 55.61 kB / 1.114 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.124, allocations: 192 / 1.114 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/1.124, allocations: 6.438 kB / 1.114 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/1.124, allocations: 5.172 kB / 1.114 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/1.124, allocations: 31.11 kB / 1.114 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/1.124, allocations: 261.9 kB / 1.115 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/1.124, allocations: 20.11 kB / 1.115 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/1.124, allocations: 8.672 kB / 1.115 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/1.124, allocations: 0 / 1.115 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/1.124, allocations: 34.5 kB / 1.115 GB, free: 30.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/1.124, allocations: 4 kB / 1.115 GB, free: 30.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001856/1.125, allocations: 73.48 kB / 1.115 GB, free: 30.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/1.125, allocations: 83.02 kB / 1.115 GB, free: 30.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/1.125, allocations: 115.3 kB / 1.115 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/1.125, allocations: 25.7 kB / 1.115 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/1.125, allocations: 106.9 kB / 1.115 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/1.125, allocations: 1.594 kB / 1.115 GB, free: 30.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-06/1.125, allocations: 3.844 kB / 1.115 GB, free: 30.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.125, allocations: 324.1 kB / 1.115 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/1.125, allocations: 9.391 kB / 1.115 GB, free: 29.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/1.125, allocations: 57.88 kB / 1.115 GB, free: 29.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/1.125, allocations: 129.6 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.125, allocations: 0 / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001891/1.125, allocations: 126 kB / 1.116 GB, free: 29.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/1.125, allocations: 29.55 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.125, allocations: 3.969 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.125, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/1.126, allocations: 18.19 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.126, allocations: 7.781 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/1.126, allocations: 7.812 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/1.126, allocations: 6.609 kB / 1.116 GB, free: 29.49 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 0.0001068/1.126, allocations: 153.9 kB / 1.116 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/1.126, allocations: 3.906 kB / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.505e-05/1.126, allocations: 4.938 kB / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.126, allocations: 3.844 kB / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.126, allocations: 0 / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/1.126, allocations: 0 / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/1.126, allocations: 158.1 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.126, allocations: 0 / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/1.126, allocations: 0 / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.126, allocations: 7.984 kB / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/1.126, allocations: 6.562 kB / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.126, allocations: 0 / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.126, allocations: 0 / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/1.126, allocations: 167.5 kB / 1.116 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/1.126, allocations: 78.75 kB / 1.116 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/1.126, allocations: 3.969 kB / 1.116 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/1.126, allocations: 32 / 1.116 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/1.127, allocations: 5.266 kB / 1.116 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/1.127, allocations: 3.812 kB / 1.116 GB, free: 28.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.569e-05/1.127, allocations: 90.36 kB / 1.116 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/1.127, allocations: 3.938 kB / 1.116 GB, free: 28.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003327/1.127, allocations: 15.56 kB / 1.116 GB, free: 28.78 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.0001749/1.127, allocations: 106.3 kB / 1.117 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001534/1.127, allocations: 89.2 kB / 1.117 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.127, allocations: 0 / 1.117 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.162e-05/1.127, allocations: 60.66 kB / 1.117 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/1.128, allocations: 3.906 kB / 1.117 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/1.128, allocations: 106.6 kB / 1.117 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/1.128, allocations: 0.6812 MB / 1.117 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.036e-05/1.128, allocations: 17.78 kB / 1.117 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/1.128, allocations: 7.438 kB / 1.117 GB, free: 27.74 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/1.128, allocations: 0 / 1.117 GB, free: 27.74 MB / 0.698 GB Notification: Performance of Templates: time 0.003079/1.131, allocations: 486.9 kB / 1.118 GB, free: 27.68 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)