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.727/1.727, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001122/0.001123, allocations: 189 kB / 371.8 MB, free: 10.27 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.715/1.715, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0008655/0.0008658, allocations: 98.45 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004354, allocations: 17.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7459/0.9957, allocations: 137.3 MB / 1.113 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.996, allocations: 71.89 kB / 1.114 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002016/0.9981, allocations: 0.5383 MB / 1.114 GB, free: 32.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9981, allocations: 0 / 1.114 GB, free: 32.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.9981, allocations: 0 / 1.114 GB, free: 32.13 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.0002794/0.9984, allocations: 318.5 kB / 1.114 GB, free: 31.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.9984, allocations: 11.67 kB / 1.114 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.9986, allocations: 14.47 kB / 1.114 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.9988, allocations: 165.8 kB / 1.115 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.9988, allocations: 3.984 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.9988, allocations: 7.812 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.999, allocations: 36.92 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.999, allocations: 0 / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.999, allocations: 0 / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.999, allocations: 0 / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.9991, allocations: 7 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.9992, allocations: 156.2 kB / 1.115 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.9993, allocations: 25.3 kB / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.9993, allocations: 0 / 1.115 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.9994, allocations: 34.5 kB / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.9994, allocations: 0 / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002325/0.9996, allocations: 45.92 kB / 1.115 GB, free: 31.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.9997, allocations: 55.53 kB / 1.115 GB, free: 31.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.255e-05/0.9997, allocations: 85 kB / 1.115 GB, free: 31.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.9997, allocations: 25.7 kB / 1.115 GB, free: 31.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.9998, allocations: 83.19 kB / 1.115 GB, free: 30.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.9998, allocations: 7.125 kB / 1.115 GB, free: 30.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.9998, allocations: 0 / 1.115 GB, free: 30.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9999, allocations: 313.5 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/1, allocations: 7.75 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/1, allocations: 7.047 kB / 1.115 GB, free: 30.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/1, allocations: 11.14 kB / 1.115 GB, free: 30.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1, allocations: 0 / 1.115 GB, free: 30.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001024/1, allocations: 44.95 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1, allocations: 5.312 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/1, allocations: 0 / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1, allocations: 2.953 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/1, allocations: 3.906 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1, allocations: 96 / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/1, allocations: 11.23 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/1, allocations: 0 / 1.116 GB, free: 30.61 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.767e-05/1, allocations: 108.9 kB / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-06/1, allocations: 3.953 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/1, allocations: 3.125 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/1, allocations: 0 / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1, allocations: 3.719 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.001, allocations: 0 / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.021e-05/1.001, allocations: 144.7 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.001, allocations: 4.875 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/1.001, allocations: 7.016 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.001, allocations: 3.938 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.001, allocations: 3.953 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.001, allocations: 1.859 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.001, allocations: 3.75 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/1.001, allocations: 74 kB / 1.116 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/1.001, allocations: 77.11 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/1.001, allocations: 3.5 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/1.001, allocations: 7.859 kB / 1.116 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/1.001, allocations: 3.047 kB / 1.116 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/1.001, allocations: 0 / 1.116 GB, free: 30.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.28e-05/1.001, allocations: 75.28 kB / 1.116 GB, free: 30.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.001, allocations: 0 / 1.116 GB, free: 30.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001753/1.001, allocations: 3.906 kB / 1.116 GB, free: 30.05 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.0001393/1.001, allocations: 98.66 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001352/1.001, allocations: 17.28 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.001, allocations: 0 / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/1.001, allocations: 3.875 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.891e-05/1.002, allocations: 0 / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/1.002, allocations: 95.73 kB / 1.116 GB, free: 29.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/1.002, allocations: 0.6692 MB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.684e-05/1.002, allocations: 10.58 kB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/1.002, allocations: 7.438 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/1.002, allocations: 0 / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of Templates: time 0.001832/1.004, allocations: 220.2 kB / 1.117 GB, free: 29.11 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)