Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.266/2.266, allocations: 253.2 MB / 260.6 MB, free: 7.359 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00211/0.00211, allocations: 176.9 kB / 319.9 MB, free: 3.07 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.124/2.124, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001053/0.001053, allocations: 98.56 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.352e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2225, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8795/1.102, allocations: 131 MB / 1.017 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.102, allocations: 80.94 kB / 1.017 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001827/1.104, allocations: 0.5459 MB / 1.017 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/1.104, allocations: 0 / 1.017 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.104, allocations: 0 / 1.017 GB, free: 5.773 MB / 0.6355 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.0003025/1.105, allocations: 302.5 kB / 1.017 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.105, allocations: 16.08 kB / 1.017 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/1.105, allocations: 15.97 kB / 1.018 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/1.105, allocations: 167 kB / 1.018 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/1.105, allocations: 0 / 1.018 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/1.105, allocations: 0 / 1.018 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.14e-05/1.105, allocations: 4 kB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.554e-05/1.105, allocations: 33.62 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.105, allocations: 0 / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/1.105, allocations: 0.6875 kB / 1.018 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.105, allocations: 3.984 kB / 1.018 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/1.105, allocations: 141.2 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/1.106, allocations: 19.33 kB / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/1.106, allocations: 4.859 kB / 1.018 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/1.106, allocations: 0 / 1.018 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/1.106, allocations: 34.62 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/1.106, allocations: 2.625 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001529/1.106, allocations: 36.83 kB / 1.018 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/1.106, allocations: 51.41 kB / 1.018 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.646e-05/1.106, allocations: 89.03 kB / 1.018 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/1.106, allocations: 29.64 kB / 1.018 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/1.106, allocations: 84.12 kB / 1.018 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/1.106, allocations: 0 / 1.018 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/1.106, allocations: 0 / 1.018 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.106, allocations: 314.8 kB / 1.018 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/1.106, allocations: 0 / 1.018 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/1.106, allocations: 0 / 1.018 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/1.106, allocations: 4.062 kB / 1.018 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.106, allocations: 4 kB / 1.018 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.105e-05/1.106, allocations: 40.64 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.106, allocations: 4 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.106, allocations: 2.75 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.106, allocations: 0 / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/1.107, allocations: 4 kB / 1.019 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.107, allocations: 3.938 kB / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/1.107, allocations: 4 kB / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/1.107, allocations: 4.031 kB / 1.019 GB, free: 4.199 MB / 0.6355 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 () * 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 8.766e-05/1.107, allocations: 105.5 kB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/1.107, allocations: 3.953 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/1.107, allocations: 7.703 kB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/1.107, allocations: 3.938 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.107, allocations: 4 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.107, allocations: 0 / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/1.107, allocations: 122.2 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.107, allocations: 0 / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.616e-05/1.107, allocations: 11.98 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.107, allocations: 0 / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/1.107, allocations: 3.953 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.107, allocations: 0 / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.107, allocations: 0 / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/1.107, allocations: 59.94 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/1.107, allocations: 77.11 kB / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/1.107, allocations: 0 / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/1.107, allocations: 7.984 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/1.107, allocations: 11.88 kB / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/1.107, allocations: 0 / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.162e-05/1.108, allocations: 79.27 kB / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.108, allocations: 0 / 1.019 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002392/1.108, allocations: 0 / 1.019 GB, free: 3.633 MB / 0.6355 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 () * 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.0001482/1.108, allocations: 100.4 kB / 1.019 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.992e-05/1.108, allocations: 8 kB / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.108, allocations: 0 / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/1.108, allocations: 7.938 kB / 1.019 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/1.108, allocations: 0 / 1.019 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/1.108, allocations: 48.05 kB / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/1.109, allocations: 0.6729 MB / 1.02 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.11e-05/1.109, allocations: 4.125 kB / 1.02 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/1.109, allocations: 11.42 kB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/1.109, allocations: 3.938 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of Templates: time 0.002309/1.111, allocations: 211.8 kB / 1.02 GB, free: 2.531 MB / 0.6355 GB