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.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001094/0.001094, allocations: 183.4 kB / 377.1 MB, free: 1.516 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.616/1.616, allocations: 205.4 MB / 0.6367 GB, free: 9.566 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.0008545/0.0008543, allocations: 93.83 kB / 0.751 GB, free: 62.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 8 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2881, allocations: 116.3 MB / 0.9884 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7991/1.087, allocations: 138.2 MB / 1.123 GB, free: 36.26 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.088, allocations: 74.41 kB / 1.123 GB, free: 36.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001737/1.089, allocations: 0.5367 MB / 1.124 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.206e-06/1.089, allocations: 0.5 kB / 1.124 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.183e-06/1.089, allocations: 1.062 kB / 1.124 GB, free: 35.73 MB / 0.7292 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.00026/1.09, allocations: 318.4 kB / 1.124 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 9.197e-05/1.09, allocations: 12.58 kB / 1.124 GB, free: 35.37 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/1.09, allocations: 17.81 kB / 1.124 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.79e-05/1.09, allocations: 164.7 kB / 1.124 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/1.09, allocations: 0 / 1.124 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.09, allocations: 0 / 1.124 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/1.09, allocations: 36.8 kB / 1.125 GB, free: 35.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.09, allocations: 2.5 kB / 1.125 GB, free: 35.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/1.09, allocations: 1.078 kB / 1.125 GB, free: 35.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.09, allocations: 1.719 kB / 1.125 GB, free: 35.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/1.091, allocations: 15.45 kB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/1.091, allocations: 153.2 kB / 1.125 GB, free: 34.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.505e-05/1.091, allocations: 22.61 kB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/1.091, allocations: 0 / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/1.091, allocations: 30.56 kB / 1.125 GB, free: 34.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/1.091, allocations: 64 / 1.125 GB, free: 34.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002561/1.091, allocations: 48.58 kB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/1.091, allocations: 59 kB / 1.125 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.259e-05/1.091, allocations: 85 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/1.091, allocations: 29.7 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/1.091, allocations: 84.14 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/1.091, allocations: 0.9375 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.091, allocations: 0.5469 kB / 1.125 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/1.091, allocations: 310.8 kB / 1.125 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/1.091, allocations: 4 kB / 1.125 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/1.091, allocations: 12.12 kB / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/1.092, allocations: 3.375 kB / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.092, allocations: 7.938 kB / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001229/1.092, allocations: 45.11 kB / 1.125 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.092, allocations: 4 kB / 1.125 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.092, allocations: 0 / 1.125 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.092, allocations: 0 / 1.125 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/1.092, allocations: 13.62 kB / 1.125 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.092, allocations: 0 / 1.125 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/1.092, allocations: 7.75 kB / 1.125 GB, free: 34.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/1.092, allocations: 0 / 1.125 GB, free: 34.13 MB / 0.7292 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.188e-05/1.092, allocations: 109.8 kB / 1.126 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/1.092, allocations: 3.953 kB / 1.126 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/1.092, allocations: 6.688 kB / 1.126 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1.092, allocations: 0.75 kB / 1.126 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.092, allocations: 8 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.092, allocations: 0.5 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.44e-05/1.092, allocations: 141.7 kB / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.092, allocations: 0 / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/1.092, allocations: 8.172 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.092, allocations: 0 / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.092, allocations: 3.953 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.092, allocations: 0.75 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.092, allocations: 0 / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/1.092, allocations: 76.3 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/1.092, allocations: 78.92 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/1.092, allocations: 0 / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/1.092, allocations: 3.953 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/1.092, allocations: 7.562 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/1.092, allocations: 0 / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.525e-05/1.092, allocations: 75.84 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.092, allocations: 4.031 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001996/1.093, allocations: 0 / 1.126 GB, free: 33.54 MB / 0.7292 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.0001174/1.093, allocations: 99.25 kB / 1.126 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001264/1.093, allocations: 15.38 kB / 1.126 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.093, allocations: 0 / 1.126 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/1.093, allocations: 12.02 kB / 1.126 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.756e-05/1.093, allocations: 4.125 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/1.093, allocations: 84.44 kB / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.859e-05/1.093, allocations: 0.6765 MB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.857e-05/1.093, allocations: 4.594 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/1.094, allocations: 12.38 kB / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/1.094, allocations: 0 / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.001964/1.095, allocations: 201.2 kB / 1.127 GB, free: 32.49 MB / 0.7292 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)