Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.3 MB / 303.2 MB, free: 8.332 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.001282/0.001282, allocations: 178 kB / 371.8 MB, free: 10.26 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.769/1.769, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.001025/0.001025, allocations: 101.3 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 15.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2371, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8056/1.043, allocations: 138.5 MB / 1.115 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.043, allocations: 76.52 kB / 1.115 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004311/1.048, allocations: 1.088 MB / 1.116 GB, free: 32.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.048, allocations: 0 / 1.116 GB, free: 32.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.389e-05/1.048, allocations: 0 / 1.116 GB, free: 32.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004632/1.048, allocations: 339.3 kB / 1.116 GB, free: 31.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.048, allocations: 11.61 kB / 1.116 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/1.048, allocations: 11.72 kB / 1.116 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/1.048, allocations: 169.4 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/1.048, allocations: 0 / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.048, allocations: 0 / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/1.049, allocations: 59.75 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.049, allocations: 3.938 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.049, allocations: 0 / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.049, allocations: 6.734 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/1.049, allocations: 41.27 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/1.049, allocations: 275 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/1.049, allocations: 40.06 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/1.05, allocations: 84.8 kB / 1.117 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/1.05, allocations: 33.89 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/1.05, allocations: 4 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003413/1.05, allocations: 92.22 kB / 1.117 GB, free: 31.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/1.05, allocations: 59.44 kB / 1.117 GB, free: 31.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/1.05, allocations: 98.42 kB / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/1.05, allocations: 25.7 kB / 1.117 GB, free: 30.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/1.05, allocations: 84.05 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/1.05, allocations: 11.72 kB / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.05, allocations: 0 / 1.117 GB, free: 30.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.05, allocations: 317.7 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/1.05, allocations: 26.08 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/1.05, allocations: 21.34 kB / 1.117 GB, free: 30.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.211e-05/1.051, allocations: 25.14 kB / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.051, allocations: 0 / 1.118 GB, free: 30.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001678/1.051, allocations: 83.86 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.051, allocations: 3.812 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.051, allocations: 0 / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.051, allocations: 0 / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/1.051, allocations: 14.45 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.051, allocations: 5.594 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/1.051, allocations: 6.891 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/1.051, allocations: 0 / 1.118 GB, free: 30.44 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 (2): * Single equations (assignments): 2 * 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 8.233e-05/1.051, allocations: 117.6 kB / 1.118 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/1.051, allocations: 0 / 1.118 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/1.051, allocations: 88.62 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.051, allocations: 0 / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/1.051, allocations: 0 / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.051, allocations: 0 / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/1.051, allocations: 165.2 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.051, allocations: 0 / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/1.052, allocations: 18.28 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.052, allocations: 0 / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/1.052, allocations: 0 / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.052, allocations: 0 / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.052, allocations: 2.625 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/1.052, allocations: 193 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/1.052, allocations: 81.06 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/1.052, allocations: 3.625 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/1.052, allocations: 10.77 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/1.052, allocations: 0 / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/1.052, allocations: 2.859 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.556e-05/1.052, allocations: 87.09 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.052, allocations: 3.812 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002109/1.052, allocations: 3.875 kB / 1.118 GB, free: 29.76 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 (2): * Single equations (assignments): 2 * 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.0001499/1.052, allocations: 105 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002079/1.053, allocations: 50.19 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.053, allocations: 0 / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/1.053, allocations: 28.23 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/1.053, allocations: 7.25 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/1.053, allocations: 115.3 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/1.054, allocations: 0.6796 MB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.163e-05/1.054, allocations: 5.141 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/1.054, allocations: 8.656 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/1.054, allocations: 0 / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of Templates: time 0.002235/1.056, allocations: 476.3 kB / 1.12 GB, free: 28.79 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)