Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.698/2.698, allocations: 284.8 MB / 297.3 MB, free: 6.324 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.001479/0.001478, allocations: 192.3 kB / 365.7 MB, free: 2.543 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.162/2.162, allocations: 205.2 MB / 0.6241 GB, free: 8.133 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.001019, allocations: 93.98 kB / 0.7372 GB, free: 40.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.734e-05, allocations: 11.98 kB / 0.8574 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8438/0.8439, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2382/1.082, allocations: 137 MB / 1.104 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/1.082, allocations: 77.27 kB / 1.104 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001904/1.084, allocations: 0.5457 MB / 1.104 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/1.084, allocations: 0 / 1.104 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.82e-06/1.084, allocations: 0 / 1.104 GB, free: 14.76 MB / 0.7136 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.0002937/1.085, allocations: 304.7 kB / 1.105 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/1.085, allocations: 19.95 kB / 1.105 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/1.085, allocations: 13.19 kB / 1.105 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/1.085, allocations: 168.5 kB / 1.105 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/1.085, allocations: 0 / 1.105 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/1.085, allocations: 0 / 1.105 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/1.085, allocations: 29.7 kB / 1.105 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.085, allocations: 2.844 kB / 1.105 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/1.085, allocations: 0 / 1.105 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.086, allocations: 0 / 1.105 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.66e-05/1.086, allocations: 12.05 kB / 1.105 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/1.086, allocations: 153.6 kB / 1.105 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.019e-05/1.086, allocations: 16.89 kB / 1.105 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/1.086, allocations: 8.953 kB / 1.105 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/1.086, allocations: 0 / 1.105 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/1.086, allocations: 31.72 kB / 1.105 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/1.086, allocations: 0 / 1.105 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001574/1.086, allocations: 45.03 kB / 1.105 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/1.086, allocations: 51.41 kB / 1.105 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.765e-05/1.086, allocations: 85 kB / 1.105 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/1.086, allocations: 25.7 kB / 1.105 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/1.086, allocations: 84.14 kB / 1.105 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/1.086, allocations: 0 / 1.105 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/1.086, allocations: 0 / 1.105 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.086, allocations: 314.5 kB / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/1.086, allocations: 0 / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/1.086, allocations: 4 kB / 1.106 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/1.087, allocations: 3.984 kB / 1.106 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.087, allocations: 0 / 1.106 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.902e-05/1.087, allocations: 41.66 kB / 1.106 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.087, allocations: 7.938 kB / 1.106 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/1.087, allocations: 0 / 1.106 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.087, allocations: 1.156 kB / 1.106 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/1.087, allocations: 11.92 kB / 1.106 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.087, allocations: 0 / 1.106 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/1.087, allocations: 7.375 kB / 1.106 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/1.087, allocations: 0 / 1.106 GB, free: 13.17 MB / 0.7136 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 7.283e-05/1.087, allocations: 108 kB / 1.106 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/1.087, allocations: 3.953 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/1.087, allocations: 3.734 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.087, allocations: 0 / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.087, allocations: 0 / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.087, allocations: 7.828 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/1.087, allocations: 150.4 kB / 1.106 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.087, allocations: 0 / 1.106 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/1.087, allocations: 5.906 kB / 1.106 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.087, allocations: 7.953 kB / 1.106 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/1.087, allocations: 0.625 kB / 1.106 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.087, allocations: 0 / 1.106 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.087, allocations: 0.7188 kB / 1.106 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/1.087, allocations: 64.05 kB / 1.106 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/1.088, allocations: 81.09 kB / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.088, allocations: 3.953 kB / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/1.088, allocations: 0 / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/1.088, allocations: 0 / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/1.088, allocations: 7 kB / 1.106 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.281e-05/1.088, allocations: 75.28 kB / 1.106 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.6e-07/1.088, allocations: 0 / 1.106 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002121/1.088, allocations: 0 / 1.106 GB, free: 12.58 MB / 0.7136 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.000142/1.088, allocations: 99.41 kB / 1.106 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.78e-05/1.088, allocations: 11.98 kB / 1.106 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.088, allocations: 0 / 1.106 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/1.088, allocations: 4 kB / 1.106 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/1.088, allocations: 0.9375 kB / 1.106 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/1.089, allocations: 52.92 kB / 1.106 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/1.089, allocations: 0.6731 MB / 1.107 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.089e-05/1.089, allocations: 7.594 kB / 1.107 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/1.089, allocations: 11.44 kB / 1.107 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/1.089, allocations: 0 / 1.107 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of Templates: time 0.002343/1.091, allocations: 219.1 kB / 1.107 GB, free: 11.48 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)