Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegStep.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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.368/5.368, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 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.002641/0.002641, allocations: 353.2 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.37/4.37, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.001823/0.001822, allocations: 170.2 kB / 1.226 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008805/0.0008806, allocations: 16 kB / 1.349 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.7936, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.9958, allocations: 137.1 MB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.9961, allocations: 77.08 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.001648/0.9978, allocations: 0.5382 MB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9978, allocations: 0 / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9978, allocations: 0 / 1.596 GB, free: 146.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001968/0.998, allocations: 324.1 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.9981, allocations: 11.62 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.9983, allocations: 16.97 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.773e-05/0.9984, allocations: 173.1 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.9984, allocations: 3.938 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.9985, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.9986, allocations: 33.69 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.9986, allocations: 1.188 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.9987, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.9987, allocations: 0 / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.9988, allocations: 13.05 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.9989, allocations: 154.8 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.999, allocations: 22.55 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.9991, allocations: 14.22 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.9992, allocations: 0 / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.9992, allocations: 32.22 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.9992, allocations: 0 / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0003203/0.9995, allocations: 47.38 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.9996, allocations: 55.39 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.253e-05/0.9996, allocations: 89.86 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.9996, allocations: 26.27 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.9997, allocations: 88.64 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.9997, allocations: 2.938 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.9997, allocations: 0 / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.9998, allocations: 310.8 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/0.9998, allocations: 4 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.9999, allocations: 7.984 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/1, allocations: 0.75 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1, allocations: 9.203 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001777/1, allocations: 49.67 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1, allocations: 8.375 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1, allocations: 0 / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1, allocations: 0 / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/1, allocations: 4.5 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1, allocations: 0.875 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/1, allocations: 0 / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/1, allocations: 7.984 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.643e-05/1.001, allocations: 112 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/1.001, allocations: 3.953 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/1.001, allocations: 4.344 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.001, allocations: 0.5312 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.001, allocations: 0 / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.001, allocations: 5.625 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.596e-05/1.001, allocations: 145.7 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.001, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/1.001, allocations: 7.953 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.001, allocations: 4.625 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/1.001, allocations: 4 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.001, allocations: 0.875 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.001, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/1.001, allocations: 71.39 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/1.001, allocations: 77.11 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/1.001, allocations: 6.453 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/1.001, allocations: 0 / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/1.001, allocations: 4.984 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/1.001, allocations: 7.984 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.526e-05/1.001, allocations: 83.22 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/1.001, allocations: 0 / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002093/1.001, allocations: 1.656 kB / 1.598 GB, free: 144.2 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001001/1.002, allocations: 98.05 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000185/1.002, allocations: 12.86 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.002, allocations: 0.7188 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/1.002, allocations: 8.625 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/1.002, allocations: 1.25 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/1.002, allocations: 87.33 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/1.002, allocations: 0.6692 MB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.395e-05/1.002, allocations: 6.125 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/1.003, allocations: 7.938 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/1.003, allocations: 1.812 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.002265/1.005, allocations: 223.5 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB