Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002507/0.002511, allocations: 357.2 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.586/1.586, allocations: 165.8 MB / 183.1 MB, free: 5.516 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.735/3.735, allocations: 410.8 MB / 0.6001 GB, free: 15.29 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 204.9 kB / 0.6668 GB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004829, allocations: 19.94 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4093, allocations: 67.43 MB / 0.8087 GB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.5748, allocations: 97.51 MB / 0.904 GB, free: 11.18 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5752, allocations: 75.95 kB / 0.904 GB, free: 11.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001801/0.577, allocations: 0.5533 MB / 0.9046 GB, free: 10.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5771, allocations: 0 / 0.9046 GB, free: 10.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.5771, allocations: 4 kB / 0.9046 GB, free: 10.55 MB / 458.7 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.0003846/0.5775, allocations: 349.1 kB / 0.9049 GB, free: 10.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5775, allocations: 8.031 kB / 0.9049 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.5776, allocations: 15.84 kB / 0.9049 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5778, allocations: 167 kB / 0.9051 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.5778, allocations: 0 / 0.9051 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.5778, allocations: 0 / 0.9051 GB, free: 9.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.578, allocations: 57.67 kB / 0.9052 GB, free: 9.867 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.578, allocations: 0 / 0.9052 GB, free: 9.867 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.578, allocations: 3.953 kB / 0.9052 GB, free: 9.863 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.5781, allocations: 11.98 kB / 0.9052 GB, free: 9.852 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.5782, allocations: 23.98 kB / 0.9052 GB, free: 9.828 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.5786, allocations: 260.7 kB / 0.9054 GB, free: 9.523 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.5787, allocations: 22.56 kB / 0.9055 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.5787, allocations: 8.859 kB / 0.9055 GB, free: 9.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.5787, allocations: 0 / 0.9055 GB, free: 9.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.5788, allocations: 42.56 kB / 0.9055 GB, free: 9.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.5788, allocations: 0 / 0.9055 GB, free: 9.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002046/0.579, allocations: 67.33 kB / 0.9056 GB, free: 9.352 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.5791, allocations: 77.11 kB / 0.9056 GB, free: 9.258 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5792, allocations: 113.8 kB / 0.9058 GB, free: 9.137 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.5793, allocations: 29.7 kB / 0.9058 GB, free: 9.102 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.5793, allocations: 98.8 kB / 0.9059 GB, free: 9.004 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.5794, allocations: 15.89 kB / 0.9059 GB, free: 8.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.5794, allocations: 4.125 kB / 0.9059 GB, free: 8.984 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5795, allocations: 310.8 kB / 0.9062 GB, free: 8.672 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/0.5796, allocations: 15.98 kB / 0.9062 GB, free: 8.656 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.5797, allocations: 54.94 kB / 0.9063 GB, free: 8.578 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.5798, allocations: 53.62 kB / 0.9063 GB, free: 8.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.5798, allocations: 7.953 kB / 0.9063 GB, free: 8.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002204/0.58, allocations: 111.2 kB / 0.9064 GB, free: 8.391 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.5801, allocations: 40.59 kB / 0.9065 GB, free: 8.348 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5801, allocations: 4.469 kB / 0.9065 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.5801, allocations: 0 / 0.9065 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.5802, allocations: 15.94 kB / 0.9065 GB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.5803, allocations: 4 kB / 0.9065 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.5803, allocations: 11.84 kB / 0.9065 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.5804, allocations: 4 kB / 0.9065 GB, free: 8.309 MB / 458.7 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 0.0001581/0.5805, allocations: 151 kB / 0.9066 GB, free: 8.148 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.5806, allocations: 7.953 kB / 0.9067 GB, free: 8.141 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.5806, allocations: 7.531 kB / 0.9067 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.5806, allocations: 0 / 0.9067 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5807, allocations: 4 kB / 0.9067 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5807, allocations: 0 / 0.9067 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.5809, allocations: 153.7 kB / 0.9068 GB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5809, allocations: 3.938 kB / 0.9068 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-06/0.5809, allocations: 3.953 kB / 0.9068 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5809, allocations: 0 / 0.9068 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.5809, allocations: 0 / 0.9068 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5809, allocations: 0 / 0.9068 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.581, allocations: 7.984 kB / 0.9068 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.5811, allocations: 169.2 kB / 0.907 GB, free: 7.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.5812, allocations: 84.95 kB / 0.9071 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.5812, allocations: 7.938 kB / 0.9071 GB, free: 7.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.5813, allocations: 4 kB / 0.9071 GB, free: 7.617 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.5813, allocations: 4 kB / 0.9071 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.5814, allocations: 0 / 0.9071 GB, free: 7.613 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.745e-05/0.5814, allocations: 99.23 kB / 0.9072 GB, free: 7.516 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5815, allocations: 0 / 0.9072 GB, free: 7.516 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.5818, allocations: 8 kB / 0.9072 GB, free: 7.508 MB / 458.7 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.0001893/0.582, allocations: 107.2 kB / 0.9073 GB, free: 7.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.5822, allocations: 83.33 kB / 0.9074 GB, free: 7.297 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5822, allocations: 0 / 0.9074 GB, free: 7.297 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.5822, allocations: 59.91 kB / 0.9074 GB, free: 7.227 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.5825, allocations: 12 kB / 0.9074 GB, free: 7.215 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.5828, allocations: 106.7 kB / 0.9075 GB, free: 7.082 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5831, allocations: 0.6809 MB / 0.9082 GB, free: 6.375 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.651e-05/0.5832, allocations: 12.17 kB / 0.9082 GB, free: 6.359 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.5832, allocations: 7.438 kB / 0.9082 GB, free: 6.352 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5832, allocations: 4 kB / 0.9082 GB, free: 6.348 MB / 458.7 MB Notification: Performance of Templates: time 0.003356/0.5866, allocations: 491.2 kB / 0.9087 GB, free: 5.871 MB / 458.7 MB