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.229/2.229, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.002455/0.002455, allocations: 194.7 kB / 325.6 MB, free: 2.828 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.478/2.478, allocations: 205.4 MB / 0.5766 GB, free: 21.08 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: 92.75 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004649, allocations: 15.94 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.4186, allocations: 130.8 MB / 1.027 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.4189, allocations: 75.95 kB / 1.027 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001939/0.4209, allocations: 0.5437 MB / 1.027 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4209, allocations: 0 / 1.027 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4209, allocations: 0 / 1.027 GB, free: 14.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002895/0.4212, allocations: 315.4 kB / 1.028 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4213, allocations: 8.031 kB / 1.028 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.4216, allocations: 11.98 kB / 1.028 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.4217, allocations: 167 kB / 1.028 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4217, allocations: 0 / 1.028 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4218, allocations: 7.938 kB / 1.028 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.4219, allocations: 37.62 kB / 1.028 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.422, allocations: 0 / 1.028 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.422, allocations: 0 / 1.028 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.422, allocations: 3.938 kB / 1.028 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.4222, allocations: 11.98 kB / 1.028 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.4224, allocations: 153.6 kB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.4225, allocations: 26.59 kB / 1.028 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4225, allocations: 3.984 kB / 1.028 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.4226, allocations: 34.62 kB / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.4226, allocations: 0 / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003402/0.4229, allocations: 45.61 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.423, allocations: 55.53 kB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.926e-05/0.423, allocations: 93 kB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.423, allocations: 25.7 kB / 1.028 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.4231, allocations: 80.14 kB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.4231, allocations: 3.906 kB / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.4231, allocations: 0 / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4233, allocations: 310.8 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.531e-05/0.4234, allocations: 7.984 kB / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.4235, allocations: 8 kB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.4236, allocations: 7.984 kB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4236, allocations: 3.953 kB / 1.029 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002006/0.4238, allocations: 41.62 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4238, allocations: 6.188 kB / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4238, allocations: 0 / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4239, allocations: 0 / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.424, allocations: 7.984 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.424, allocations: 4.094 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.4241, allocations: 4 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4241, allocations: 4 kB / 1.029 GB, free: 12.65 MB / 0.6823 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 8.54e-05/0.4242, allocations: 105.8 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.4242, allocations: 3.953 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.4242, allocations: 3.125 kB / 1.029 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4243, allocations: 4 kB / 1.029 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4243, allocations: 0 / 1.029 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4243, allocations: 7.938 kB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.4244, allocations: 149.7 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4244, allocations: 0 / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.999e-05/0.4245, allocations: 7.953 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.4245, allocations: 3.984 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4245, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4245, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4245, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.4248, allocations: 73.06 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.4248, allocations: 77.11 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.4249, allocations: 7.891 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.728e-05/0.4249, allocations: 7.984 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.425, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.425, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.425, allocations: 75.28 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.2e-07/0.425, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002146/0.4253, allocations: 4.031 kB / 1.029 GB, free: 12.04 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): 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.0001474/0.4254, allocations: 95.25 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.4256, allocations: 15.98 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4256, allocations: 3.938 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.4257, allocations: 11.98 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.4259, allocations: 0 / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.4262, allocations: 82.88 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.4265, allocations: 0.6731 MB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.775e-05/0.4265, allocations: 4 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.4266, allocations: 7.438 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/0.4266, allocations: 7.938 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.002375/0.429, allocations: 205.3 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB