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.72/1.72, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001295/0.001295, allocations: 176.9 kB / 361.4 MB, free: 6.836 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.743/1.743, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008601/0.0008604, allocations: 96.42 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.929e-05, allocations: 8 kB / 0.8518 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7066, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.9, allocations: 136.5 MB / 1.098 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.9003, allocations: 71.95 kB / 1.098 GB, free: 3.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001383/0.9017, allocations: 0.5334 MB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9017, allocations: 0 / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.9017, allocations: 0 / 1.098 GB, free: 2.672 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.000297/0.902, allocations: 309.6 kB / 1.099 GB, free: 2.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.9021, allocations: 8.625 kB / 1.099 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.9023, allocations: 21.69 kB / 1.099 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.9024, allocations: 163 kB / 1.099 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.9025, allocations: 7.156 kB / 1.099 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.9025, allocations: 0 / 1.099 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.194e-05/0.9026, allocations: 4.5 kB / 1.099 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.9027, allocations: 30.22 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9027, allocations: 4.75 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.9027, allocations: 1.406 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.9027, allocations: 3.656 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.9029, allocations: 134.2 kB / 1.099 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.9029, allocations: 22.47 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.9029, allocations: 4.859 kB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.903, allocations: 4.094 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.903, allocations: 30.56 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.903, allocations: 1.875 kB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.9031, allocations: 29.7 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.9032, allocations: 55.39 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.044e-05/0.9032, allocations: 85 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.9032, allocations: 26.27 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.9033, allocations: 84.73 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.9033, allocations: 0.75 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.9033, allocations: 0 / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9035, allocations: 316.1 kB / 1.1 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.9035, allocations: 0 / 1.1 GB, free: 1.188 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.9035, allocations: 0.8438 kB / 1.1 GB, free: 1.188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/0.9035, allocations: 7.938 kB / 1.1 GB, free: 1.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9035, allocations: 0.5 kB / 1.1 GB, free: 1.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.102e-05/0.9036, allocations: 34.47 kB / 1.1 GB, free: 1.141 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.9036, allocations: 7.953 kB / 1.1 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9036, allocations: 0.625 kB / 1.1 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.9036, allocations: 0.6875 kB / 1.1 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.9037, allocations: 4 kB / 1.1 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.9037, allocations: 0.875 kB / 1.1 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.9038, allocations: 11.89 kB / 1.1 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.9038, allocations: 3.781 kB / 1.1 GB, free: 1.117 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 () * 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.101e-05/0.9039, allocations: 102.1 kB / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-06/0.9039, allocations: 0 / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.9039, allocations: 10.03 kB / 1.1 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.9039, allocations: 0 / 1.1 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9039, allocations: 4.688 kB / 1.1 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9039, allocations: 0 / 1.1 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.921e-05/0.904, allocations: 131.1 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.904, allocations: 0 / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.9041, allocations: 5.469 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9041, allocations: 0 / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.9041, allocations: 1.938 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.9041, allocations: 1.5 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.9041, allocations: 9.516 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.905e-05/0.9042, allocations: 57.12 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.9043, allocations: 80.25 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.9043, allocations: 0 / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.9043, allocations: 160 / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.9043, allocations: 11.98 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.9044, allocations: 3.953 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.837e-05/0.9044, allocations: 75.28 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9044, allocations: 0 / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001745/0.9046, allocations: 0 / 1.1 GB, free: 0.5664 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 () * 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.0001321/0.9047, allocations: 103 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.522e-05/0.9048, allocations: 4 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9048, allocations: 8.062 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-06/0.9048, allocations: 3.938 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.854e-05/0.9049, allocations: 4.125 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.9051, allocations: 48 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.9053, allocations: 0.6768 MB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.9054, allocations: 4.062 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.9054, allocations: 11.44 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9054, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of Templates: time 0.001695/0.9071, allocations: 207.8 kB / 1.101 GB, free: 15.48 MB / 0.7136 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)