Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 293 MB / 309 MB, free: 4.824 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.0009471/0.0009471, allocations: 184.5 kB / 378.7 MB, free: 1.016 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.488/1.488, allocations: 205.4 MB / 0.6383 GB, free: 8.207 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.0008613/0.0008615, allocations: 90.64 kB / 0.7527 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6074/0.8218, allocations: 139.5 MB / 1.127 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.8221, allocations: 76.62 kB / 1.127 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002689/0.8248, allocations: 1.095 MB / 1.128 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8248, allocations: 0 / 1.128 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.8248, allocations: 0 / 1.128 GB, free: 33.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002812/0.8251, allocations: 341.2 kB / 1.128 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.8252, allocations: 8.031 kB / 1.128 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.8252, allocations: 12.38 kB / 1.128 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.96e-05/0.8253, allocations: 169.2 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.8253, allocations: 3.844 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.8253, allocations: 4.375 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.8255, allocations: 57.91 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8255, allocations: 192 / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.8255, allocations: 3.938 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.8255, allocations: 4 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.8257, allocations: 42.45 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.826, allocations: 271.7 kB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.8261, allocations: 46.78 kB / 1.129 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.8262, allocations: 32.14 kB / 1.129 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.369e-05/0.8263, allocations: 81.11 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.8263, allocations: 34.08 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8263, allocations: 0 / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002956/0.8266, allocations: 107.6 kB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.8267, allocations: 51.41 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/0.8267, allocations: 106.1 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.8268, allocations: 25.7 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.8268, allocations: 80.14 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.8268, allocations: 11.84 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.8268, allocations: 4.125 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.8269, allocations: 318.3 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.8269, allocations: 19.52 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.01e-05/0.827, allocations: 19.47 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.8271, allocations: 52.17 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8271, allocations: 0 / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001553/0.8273, allocations: 88.22 kB / 1.13 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.8273, allocations: 8 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.8273, allocations: 0 / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8274, allocations: 0.6094 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.8274, allocations: 12.17 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8275, allocations: 0.5 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.8275, allocations: 15.59 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.8275, allocations: 0 / 1.13 GB, free: 31.28 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 (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 4.212e-05/0.8276, allocations: 113.8 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.8276, allocations: 4 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.8278, allocations: 87.41 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8278, allocations: 5.156 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.8278, allocations: 0.75 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8278, allocations: 0 / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.8279, allocations: 160.7 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8279, allocations: 0.5 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.828, allocations: 15.55 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.828, allocations: 0 / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.828, allocations: 9.375 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.828, allocations: 0 / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.828, allocations: 0 / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.8282, allocations: 178 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.8282, allocations: 81.62 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.8283, allocations: 0.5625 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.8283, allocations: 7.469 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.8284, allocations: 7.562 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.8284, allocations: 0.5625 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.284e-05/0.8284, allocations: 84.72 kB / 1.13 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8284, allocations: 3.938 kB / 1.13 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002004/0.8286, allocations: 8 kB / 1.13 GB, free: 30.48 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 (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.0001222/0.8288, allocations: 106.7 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.8289, allocations: 43.12 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.8289, allocations: 0 / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.829, allocations: 31.19 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.8293, allocations: 9.672 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.8295, allocations: 109.1 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.8297, allocations: 0.6849 MB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.8297, allocations: 0 / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.8297, allocations: 7.438 kB / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/0.8297, allocations: 0 / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.002152/0.8319, allocations: 485.7 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)