Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.908/3.908, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002451/0.00245, allocations: 178.1 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.019/4.019, allocations: 205.4 MB / 0.5772 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 102.1 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007462/0.0007468, allocations: 16.66 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.33, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.7028, allocations: 130.8 MB / 1.027 GB, free: 15.04 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004643/0.7034, allocations: 79.94 kB / 1.027 GB, free: 14.96 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.002877/0.7063, allocations: 0.5398 MB / 1.028 GB, free: 14.41 MB / 0.6824 GB Notification: Performance of FrontEnd: time 4.018e-06/0.7063, allocations: 4 kB / 1.028 GB, free: 14.41 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.7064, allocations: 0 / 1.028 GB, free: 14.41 MB / 0.6824 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.0005036/0.7069, allocations: 303.6 kB / 1.028 GB, free: 14.06 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/0.707, allocations: 12.03 kB / 1.028 GB, free: 14.05 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.7074, allocations: 20.91 kB / 1.028 GB, free: 14.03 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.7076, allocations: 160.4 kB / 1.028 GB, free: 13.84 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.7077, allocations: 4.312 kB / 1.028 GB, free: 13.83 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.7077, allocations: 4.312 kB / 1.028 GB, free: 13.83 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.708, allocations: 42.23 kB / 1.028 GB, free: 13.78 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.708, allocations: 192 / 1.028 GB, free: 13.78 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.708, allocations: 3.938 kB / 1.028 GB, free: 13.78 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.7081, allocations: 0 / 1.028 GB, free: 13.78 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.7083, allocations: 11.98 kB / 1.028 GB, free: 13.77 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.7086, allocations: 145.6 kB / 1.029 GB, free: 13.57 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.7087, allocations: 32.11 kB / 1.029 GB, free: 13.54 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.7089, allocations: 12.86 kB / 1.029 GB, free: 13.52 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.7089, allocations: 0 / 1.029 GB, free: 13.52 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.709, allocations: 30.56 kB / 1.029 GB, free: 13.48 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.709, allocations: 0 / 1.029 GB, free: 13.48 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0004556/0.7095, allocations: 49.61 kB / 1.029 GB, free: 13.43 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.7096, allocations: 55.53 kB / 1.029 GB, free: 13.36 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.7097, allocations: 89.86 kB / 1.029 GB, free: 13.26 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.7097, allocations: 29.7 kB / 1.029 GB, free: 13.23 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.7098, allocations: 80.14 kB / 1.029 GB, free: 13.14 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.7099, allocations: 7.906 kB / 1.029 GB, free: 13.14 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.7099, allocations: 0 / 1.029 GB, free: 13.14 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.7101, allocations: 310.8 kB / 1.029 GB, free: 12.82 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.7103, allocations: 11.92 kB / 1.029 GB, free: 12.81 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.804e-05/0.7104, allocations: 4 kB / 1.029 GB, free: 12.81 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.7105, allocations: 7.984 kB / 1.029 GB, free: 12.8 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7106, allocations: 0 / 1.029 GB, free: 12.8 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003151/0.7109, allocations: 41.69 kB / 1.029 GB, free: 12.75 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.7109, allocations: 4 kB / 1.029 GB, free: 12.75 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.711, allocations: 4 kB / 1.029 GB, free: 12.75 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.711, allocations: 7.875 kB / 1.029 GB, free: 12.74 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.7112, allocations: 12.08 kB / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.7112, allocations: 0 / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.7113, allocations: 0 / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.7113, allocations: 4 kB / 1.029 GB, free: 12.72 MB / 0.6824 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 0.0001412/0.7115, allocations: 109.8 kB / 1.029 GB, free: 12.61 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.7115, allocations: 0 / 1.029 GB, free: 12.61 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.7116, allocations: 11.05 kB / 1.029 GB, free: 12.59 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.7116, allocations: 7.922 kB / 1.029 GB, free: 12.59 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.7117, allocations: 4 kB / 1.029 GB, free: 12.58 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.7117, allocations: 3.938 kB / 1.029 GB, free: 12.58 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.7119, allocations: 145.7 kB / 1.03 GB, free: 12.39 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.7119, allocations: 0 / 1.03 GB, free: 12.39 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-05/0.712, allocations: 7.984 kB / 1.03 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.712, allocations: 0 / 1.03 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.7121, allocations: 3.938 kB / 1.03 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.7121, allocations: 0 / 1.03 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7121, allocations: 0 / 1.03 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.7125, allocations: 69.12 kB / 1.03 GB, free: 12.29 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.7126, allocations: 81.09 kB / 1.03 GB, free: 12.19 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.7126, allocations: 3.938 kB / 1.03 GB, free: 12.19 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.7127, allocations: 0 / 1.03 GB, free: 12.19 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.7127, allocations: 0 / 1.03 GB, free: 12.19 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.7128, allocations: 4 kB / 1.03 GB, free: 12.18 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.7128, allocations: 75.28 kB / 1.03 GB, free: 12.11 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.41e-07/0.7129, allocations: 4.031 kB / 1.03 GB, free: 12.11 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004535/0.7133, allocations: 0 / 1.03 GB, free: 12.11 MB / 0.6824 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.0002274/0.7136, allocations: 99.19 kB / 1.03 GB, free: 12 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.7138, allocations: 15.98 kB / 1.03 GB, free: 11.98 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7139, allocations: 0 / 1.03 GB, free: 11.98 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.714, allocations: 7.984 kB / 1.03 GB, free: 11.97 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.7143, allocations: 4.125 kB / 1.03 GB, free: 11.97 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.7148, allocations: 82.75 kB / 1.03 GB, free: 11.86 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.7153, allocations: 0.6692 MB / 1.031 GB, free: 11.16 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 8.833e-05/0.7154, allocations: 3.938 kB / 1.031 GB, free: 11.16 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/0.7155, allocations: 15.42 kB / 1.031 GB, free: 11.14 MB / 0.6824 GB Notification: Performance of SimCode: time 1.413e-06/0.7155, allocations: 0 / 1.031 GB, free: 11.14 MB / 0.6824 GB Notification: Performance of Templates: time 0.006853/0.7223, allocations: 220.1 kB / 1.031 GB, free: 10.93 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)