Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.153/5.153, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00354/0.00354, allocations: 356.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.6/4.6, allocations: 410.7 MB / 1.113 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00182/0.00182, allocations: 180 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005119, allocations: 16 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7928, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/1.011, allocations: 137.1 MB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.011, allocations: 75.95 kB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.00159/1.013, allocations: 0.5504 MB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.033e-06/1.013, allocations: 0.5 kB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.771e-06/1.013, allocations: 1.781 kB / 1.596 GB, free: 146.6 MB / 0.8542 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.0002457/1.013, allocations: 349.1 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.013, allocations: 11.62 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/1.013, allocations: 4 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.915e-05/1.013, allocations: 168.6 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.013, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/1.013, allocations: 3.938 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/1.013, allocations: 62.34 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/1.013, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1.013, allocations: 1 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/1.013, allocations: 8 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/1.014, allocations: 19.98 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/1.014, allocations: 263 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.578e-05/1.014, allocations: 24.25 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/1.014, allocations: 11.36 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/1.014, allocations: 0 / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/1.014, allocations: 34.62 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/1.014, allocations: 0 / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001849/1.014, allocations: 71.25 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/1.014, allocations: 77.98 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/1.014, allocations: 118.7 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/1.014, allocations: 33.64 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/1.014, allocations: 100.7 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/1.014, allocations: 8 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-06/1.014, allocations: 0.8438 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/1.015, allocations: 314.8 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.358e-05/1.015, allocations: 16.89 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-05/1.015, allocations: 59.56 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/1.015, allocations: 45.86 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.015, allocations: 4 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001748/1.015, allocations: 124.2 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.015, allocations: 33.3 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.015, allocations: 4 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.015, allocations: 3.719 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/1.015, allocations: 19.89 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.015, allocations: 4 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/1.015, allocations: 11.92 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.015, allocations: 8 kB / 1.598 GB, free: 144.3 MB / 0.8542 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.163e-05/1.015, allocations: 135.5 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/1.015, allocations: 7.906 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.447e-05/1.015, allocations: 3.531 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.015, allocations: 0.5 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.015, allocations: 4.453 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.015, allocations: 8.922 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/1.016, allocations: 149.7 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/1.016, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/1.016, allocations: 6.297 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.016, allocations: 3.938 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/1.016, allocations: 1.641 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.016, allocations: 4 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.016, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/1.016, allocations: 170.3 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/1.016, allocations: 78.55 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.016, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/1.016, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/1.016, allocations: 4.906 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/1.016, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.486e-05/1.016, allocations: 100.4 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/1.016, allocations: 0 / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003071/1.016, allocations: 12.8 kB / 1.598 GB, free: 143.6 MB / 0.8542 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.0001531/1.017, allocations: 104.2 kB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00015/1.017, allocations: 89.67 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.017, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/1.017, allocations: 63.39 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/1.017, allocations: 4.969 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/1.017, allocations: 108.9 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/1.017, allocations: 0.6848 MB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.25e-05/1.017, allocations: 16.91 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/1.018, allocations: 7.438 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/1.018, allocations: 1.406 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003171/1.021, allocations: 490.9 kB / 1.6 GB, free: 142 MB / 0.8542 GB