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 2.712/2.712, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 177.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 90.17 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004704, allocations: 18.2 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0005714/0.1563, allocations: 313.9 kB / 0.9791 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.1565, allocations: 53.47 kB / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.193e-05/0.1565, allocations: 0 / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.037e-06/0.1565, allocations: 0 / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-06/0.1565, allocations: 0 / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.1567, allocations: 11.98 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 2.812e-05/0.1567, allocations: 4 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1568, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.1568, allocations: 3.938 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.907e-05/0.1569, allocations: 4 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.447e-06/0.1569, allocations: 0 / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.157, allocations: 23.97 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.416e-06/0.157, allocations: 0 / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.157, allocations: 25.7 kB / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.666e-05/0.1571, allocations: 11.98 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.554e-06/0.1571, allocations: 3.938 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.753e-06/0.1571, allocations: 3.938 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.903e-06/0.1571, allocations: 0 / 0.9792 GB, free: 27.7 MB / 0.6198 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.0001773/0.1573, allocations: 319.4 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1573, allocations: 12.02 kB / 0.9795 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.1576, allocations: 15.97 kB / 0.9795 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.755e-05/0.1577, allocations: 163 kB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1577, allocations: 4 kB / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1577, allocations: 0 / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1579, allocations: 33.69 kB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.178e-06/0.1579, allocations: 4 kB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.781e-06/0.1579, allocations: 4 kB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1579, allocations: 0 / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.158, allocations: 7.984 kB / 0.9797 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.96e-05/0.1581, allocations: 157.6 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.1582, allocations: 22.55 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1582, allocations: 0 / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1583, allocations: 38.55 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.838e-06/0.1583, allocations: 0 / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002279/0.1585, allocations: 45.75 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/0.1586, allocations: 55.34 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.426e-05/0.1586, allocations: 89.86 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.715e-06/0.1586, allocations: 25.7 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.58e-05/0.1586, allocations: 84.27 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1587, allocations: 7.891 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-06/0.1587, allocations: 0 / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.1587, allocations: 314.8 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.1588, allocations: 0 / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.1589, allocations: 7.984 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.1589, allocations: 4 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-06/0.1589, allocations: 0 / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001401/0.1591, allocations: 49.7 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1591, allocations: 8 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.325e-06/0.1591, allocations: 3.984 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1592, allocations: 0 / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.1592, allocations: 11.92 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1593, allocations: 7.875 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.1593, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-06/0.1593, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 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.385e-05/0.1594, allocations: 117.9 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1594, allocations: 3.953 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.1595, allocations: 3.125 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-06/0.1595, allocations: 0 / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-06/0.1595, allocations: 0 / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.47e-06/0.1595, allocations: 0 / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.601e-05/0.1596, allocations: 150 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-06/0.1596, allocations: 3.984 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.1596, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.066e-06/0.1597, allocations: 7.953 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1597, allocations: 4 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.061e-06/0.1597, allocations: 0 / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.698e-06/0.1597, allocations: 0 / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.1598, allocations: 61.11 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.1599, allocations: 81.11 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1599, allocations: 7.922 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.16, allocations: 4 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.16, allocations: 0 / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-06/0.16, allocations: 4 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.46e-05/0.16, allocations: 75.28 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.49e-07/0.16, allocations: 4 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002364/0.1603, allocations: 0 / 0.9811 GB, free: 25.41 MB / 0.6198 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 9.435e-05/0.1604, allocations: 103.2 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1605, allocations: 15.98 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.631e-06/0.1605, allocations: 0 / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.1606, allocations: 4 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.908e-05/0.1607, allocations: 0 / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.1609, allocations: 82.69 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.921e-05/0.1611, allocations: 0.6809 MB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.059e-05/0.1611, allocations: 4.125 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.1612, allocations: 11.44 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.313e-06/0.1612, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.002001/0.1632, allocations: 216.2 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB