Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.494/2.494, allocations: 287.5 MB / 303.2 MB, free: 8.359 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.001329/0.001328, allocations: 176.8 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0009114/0.0009111, allocations: 101.9 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 10.88 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.202, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9049/1.107, allocations: 138.3 MB / 1.114 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.107, allocations: 76.56 kB / 1.114 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004744/1.112, allocations: 1.098 MB / 1.115 GB, free: 31.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/1.112, allocations: 0 / 1.115 GB, free: 31.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.723e-06/1.112, allocations: 0 / 1.115 GB, free: 31.6 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.0004423/1.112, allocations: 339.5 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.113, allocations: 7.844 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/1.113, allocations: 8.719 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/1.113, allocations: 170.9 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/1.113, allocations: 384 / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/1.113, allocations: 5.969 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/1.113, allocations: 50.62 kB / 1.116 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.113, allocations: 192 / 1.116 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.113, allocations: 3.938 kB / 1.116 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.113, allocations: 2.578 kB / 1.116 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/1.113, allocations: 50.77 kB / 1.116 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/1.114, allocations: 263.7 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/1.114, allocations: 50.72 kB / 1.116 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/1.114, allocations: 29.09 kB / 1.116 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/1.114, allocations: 79.73 kB / 1.117 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/1.114, allocations: 42.34 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/1.114, allocations: 0 / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005123/1.115, allocations: 104 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.115, allocations: 51.41 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/1.115, allocations: 100 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/1.115, allocations: 25.7 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/1.115, allocations: 87.55 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/1.115, allocations: 7.844 kB / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/1.115, allocations: 0 / 1.117 GB, free: 30.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.115, allocations: 313.6 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/1.116, allocations: 28.3 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/1.116, allocations: 17.7 kB / 1.117 GB, free: 29.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/1.116, allocations: 61.62 kB / 1.117 GB, free: 29.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.116, allocations: 0 / 1.117 GB, free: 29.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003161/1.116, allocations: 79.47 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.116, allocations: 3.906 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.116, allocations: 2.406 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.116, allocations: 3.844 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/1.116, allocations: 14.3 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/1.117, allocations: 0 / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/1.117, allocations: 10.75 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/1.117, allocations: 3.938 kB / 1.117 GB, free: 29.86 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 9.622e-05/1.117, allocations: 121.5 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/1.117, allocations: 3.844 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/1.117, allocations: 82.97 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.117, allocations: 4.031 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.117, allocations: 0 / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.117, allocations: 1.688 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/1.117, allocations: 162.7 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.117, allocations: 0 / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/1.118, allocations: 10.39 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/1.118, allocations: 0 / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/1.118, allocations: 0 / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.118, allocations: 0 / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.118, allocations: 5.188 kB / 1.118 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/1.118, allocations: 180.1 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/1.118, allocations: 82.31 kB / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/1.118, allocations: 3.984 kB / 1.118 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/1.118, allocations: 14.38 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/1.118, allocations: 5.422 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/1.118, allocations: 0 / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.636e-05/1.118, allocations: 85.3 kB / 1.118 GB, free: 29.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.118, allocations: 0 / 1.118 GB, free: 29.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003098/1.119, allocations: 7.656 kB / 1.118 GB, free: 29.18 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.0001634/1.119, allocations: 98.66 kB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003178/1.119, allocations: 53.23 kB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.119, allocations: 0 / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/1.119, allocations: 33.38 kB / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/1.12, allocations: 9.062 kB / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/1.12, allocations: 106.3 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.12, allocations: 0.6799 MB / 1.119 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.698e-05/1.12, allocations: 0.5469 kB / 1.119 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/1.12, allocations: 11.5 kB / 1.119 GB, free: 28.26 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.12, allocations: 0 / 1.119 GB, free: 28.26 MB / 0.698 GB Notification: Performance of Templates: time 0.003022/1.123, allocations: 485.5 kB / 1.12 GB, free: 28.21 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)