Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001165/0.001165, allocations: 184.8 kB / 366.7 MB, free: 1.656 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.386/1.386, allocations: 205.3 MB / 0.626 GB, free: 7.137 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007863/0.0007862, allocations: 95.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.286e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5164, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.6769, allocations: 137.5 MB / 1.108 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.6771, allocations: 75.95 kB / 1.108 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00121/0.6783, allocations: 0.5364 MB / 1.108 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6783, allocations: 0.6875 kB / 1.108 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.6783, allocations: 0.8125 kB / 1.108 GB, free: 12.1 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.0002137/0.6786, allocations: 306.2 kB / 1.108 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6786, allocations: 12.09 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.6788, allocations: 16.84 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.6789, allocations: 163.7 kB / 1.109 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.6789, allocations: 0 / 1.109 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.6789, allocations: 1.688 kB / 1.109 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.519e-05/0.679, allocations: 12.31 kB / 1.109 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.298e-05/0.679, allocations: 33.69 kB / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.679, allocations: 0.6562 kB / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.679, allocations: 0 / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.6791, allocations: 0.7188 kB / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.6792, allocations: 126.9 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.427e-05/0.6792, allocations: 23.16 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.6792, allocations: 5.672 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.6793, allocations: 0.5 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.6793, allocations: 35.16 kB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.6793, allocations: 0.5938 kB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.997e-05/0.6794, allocations: 42.08 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.6794, allocations: 55.39 kB / 1.109 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.522e-05/0.6795, allocations: 85.97 kB / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.6795, allocations: 25.7 kB / 1.109 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.6795, allocations: 81.2 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.6796, allocations: 0 / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.6796, allocations: 1.406 kB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.6797, allocations: 310.8 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.6797, allocations: 4 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.6797, allocations: 0.5312 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.211e-05/0.6797, allocations: 2.875 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6797, allocations: 0 / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.504e-05/0.6798, allocations: 37.69 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6798, allocations: 11.89 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.6798, allocations: 0 / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.6798, allocations: 0 / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.6799, allocations: 4.531 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.6799, allocations: 2.812 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.6799, allocations: 4.688 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.68, allocations: 8.734 kB / 1.11 GB, free: 10.54 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 5.591e-05/0.68, allocations: 105.7 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.68, allocations: 3.281 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.6801, allocations: 14.06 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.6801, allocations: 0 / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.6801, allocations: 0 / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6801, allocations: 4 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.025e-05/0.6802, allocations: 122.2 kB / 1.11 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6802, allocations: 3.984 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.6802, allocations: 4.906 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6802, allocations: 0 / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.6802, allocations: 2.219 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.6802, allocations: 0 / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6803, allocations: 3.953 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.604e-05/0.6803, allocations: 68.19 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.6804, allocations: 77.11 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.6804, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.6804, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-06/0.6804, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.6804, allocations: 15.03 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.241e-05/0.6805, allocations: 75.28 kB / 1.11 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6805, allocations: 3.438 kB / 1.11 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001604/0.6806, allocations: 0 / 1.11 GB, free: 9.984 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.0001158/0.6808, allocations: 96.23 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.295e-05/0.6808, allocations: 4 kB / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.6808, allocations: 0 / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.6808, allocations: 4 kB / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.864e-05/0.6809, allocations: 288 / 1.11 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001506/0.6811, allocations: 52 kB / 1.11 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.6813, allocations: 0.6806 MB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.6813, allocations: 0 / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.6814, allocations: 11.44 kB / 1.111 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.6814, allocations: 4 kB / 1.111 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of Templates: time 0.001412/0.6828, allocations: 206 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)