Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.221/2.221, allocations: 251.1 MB / 266.1 MB, free: 11.6 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 171 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.565/2.565, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 101.4 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004822, allocations: 12.59 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2144, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.4291, allocations: 130.7 MB / 1.027 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4295, allocations: 75.95 kB / 1.027 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001715/0.4312, allocations: 0.563 MB / 1.027 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4312, allocations: 3.938 kB / 1.027 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4312, allocations: 0 / 1.027 GB, free: 13.87 MB / 0.6823 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.0003306/0.4316, allocations: 345 kB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4316, allocations: 12.03 kB / 1.028 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.4317, allocations: 0 / 1.028 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.4318, allocations: 167 kB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4318, allocations: 4 kB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.4318, allocations: 0 / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.432, allocations: 61.61 kB / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.432, allocations: 0 / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4321, allocations: 0 / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.4321, allocations: 8 kB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.4322, allocations: 19.98 kB / 1.028 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.4326, allocations: 272.8 kB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.345e-05/0.4327, allocations: 14.58 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.4327, allocations: 0 / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4327, allocations: 38.56 kB / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.4328, allocations: 0 / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002099/0.433, allocations: 71.47 kB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.433, allocations: 81.11 kB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4331, allocations: 105 kB / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.4332, allocations: 25.7 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.4333, allocations: 99.8 kB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.4333, allocations: 11.89 kB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.4333, allocations: 0 / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4335, allocations: 314.8 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.4335, allocations: 8 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.4336, allocations: 66.8 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.4337, allocations: 53.62 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4337, allocations: 0 / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002188/0.4339, allocations: 115.2 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.434, allocations: 33.7 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.434, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.434, allocations: 8 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4341, allocations: 20.12 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4342, allocations: 11.94 kB / 1.029 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.4342, allocations: 11.84 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.4343, allocations: 8 kB / 1.029 GB, free: 11.65 MB / 0.6823 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.000118/0.4344, allocations: 143.5 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.4345, allocations: 0 / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.4345, allocations: 7.531 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4345, allocations: 0 / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4345, allocations: 3.953 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4345, allocations: 4 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.4347, allocations: 153.7 kB / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4347, allocations: 0 / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.4347, allocations: 0 / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.4348, allocations: 0 / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4348, allocations: 4 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4348, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4348, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.435, allocations: 178 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.4351, allocations: 81.02 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.4351, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.4352, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.4352, allocations: 3.984 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.4352, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.91e-05/0.4353, allocations: 87.75 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4353, allocations: 0 / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003331/0.4357, allocations: 19.95 kB / 1.03 GB, free: 10.87 MB / 0.6823 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.0001939/0.4359, allocations: 107.3 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.4361, allocations: 87.33 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4361, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.4362, allocations: 59.34 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.4363, allocations: 4 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.4366, allocations: 119.2 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4369, allocations: 0.6848 MB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.816e-05/0.437, allocations: 16.11 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.4371, allocations: 7.438 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.4371, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of Templates: time 0.003272/0.4404, allocations: 492.3 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB