Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.567/1.567, allocations: 288.4 MB / 304.3 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 180.5 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 98.28 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004101, allocations: 16.98 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2018, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6801/0.8819, allocations: 137.3 MB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.8821, allocations: 74.5 kB / 1.115 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001584/0.8837, allocations: 0.5393 MB / 1.115 GB, free: 32.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8837, allocations: 0 / 1.115 GB, free: 32.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.8838, allocations: 4 kB / 1.115 GB, free: 32.09 MB / 0.698 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.0002413/0.884, allocations: 319 kB / 1.116 GB, free: 31.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.8841, allocations: 7.719 kB / 1.116 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.8843, allocations: 14.91 kB / 1.116 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.331e-05/0.8844, allocations: 167.2 kB / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.8844, allocations: 384 / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.8844, allocations: 384 / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.8845, allocations: 40.86 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.8845, allocations: 192 / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.8846, allocations: 3.938 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.8846, allocations: 0 / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.8846, allocations: 13.69 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.8848, allocations: 145.6 kB / 1.116 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.692e-05/0.8849, allocations: 25 kB / 1.116 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.8849, allocations: 19.73 kB / 1.116 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.8849, allocations: 0 / 1.116 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.885, allocations: 30.56 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.885, allocations: 0 / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002235/0.8852, allocations: 51.25 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.8853, allocations: 55.53 kB / 1.116 GB, free: 31.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.431e-05/0.8853, allocations: 89.86 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.8853, allocations: 25.7 kB / 1.116 GB, free: 31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.8853, allocations: 84.05 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.8854, allocations: 0 / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8854, allocations: 2.516 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8855, allocations: 318 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/0.8856, allocations: 3.781 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.8856, allocations: 11 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.655e-05/0.8857, allocations: 11.91 kB / 1.117 GB, free: 30.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.8857, allocations: 0 / 1.117 GB, free: 30.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000105/0.8858, allocations: 47.55 kB / 1.117 GB, free: 30.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.8858, allocations: 3.938 kB / 1.117 GB, free: 30.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.8858, allocations: 3.984 kB / 1.117 GB, free: 30.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8859, allocations: 3.938 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.8859, allocations: 7.812 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.8859, allocations: 0 / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.886, allocations: 6.547 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.886, allocations: 4.812 kB / 1.117 GB, free: 30.55 MB / 0.698 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 6.783e-05/0.8861, allocations: 115.2 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.8861, allocations: 0 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.8861, allocations: 10.44 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.8861, allocations: 0 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.8861, allocations: 7.781 kB / 1.117 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.8861, allocations: 0 / 1.117 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.517e-05/0.8862, allocations: 141.7 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.8862, allocations: 0 / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.8863, allocations: 10.14 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.8863, allocations: 1.859 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.8863, allocations: 3.938 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.8863, allocations: 0 / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8863, allocations: 0 / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.8864, allocations: 78.11 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.8865, allocations: 77.11 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.8865, allocations: 6.891 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.8865, allocations: 3.781 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-06/0.8865, allocations: 0 / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.8865, allocations: 0 / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.8866, allocations: 75.28 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.8866, allocations: 4.031 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001817/0.8868, allocations: 3.875 kB / 1.117 GB, free: 29.98 MB / 0.698 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.0001092/0.8869, allocations: 101.4 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.887, allocations: 10.72 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.887, allocations: 0 / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.8871, allocations: 10.88 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.8872, allocations: 11.94 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.8874, allocations: 78.16 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.8876, allocations: 0.6692 MB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.8876, allocations: 0 / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.8877, allocations: 18.36 kB / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8877, allocations: 0 / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of Templates: time 0.00159/0.8893, allocations: 218.3 kB / 1.118 GB, free: 29.05 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)