Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 293 MB / 309 MB, free: 4.809 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.001149/0.001149, allocations: 173.6 kB / 378.7 MB, free: 1.004 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.584/1.584, allocations: 205.4 MB / 0.6383 GB, free: 9.184 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.0007215/0.0007216, allocations: 94.84 kB / 0.7527 GB, free: 62.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2216, allocations: 116.4 MB / 0.9904 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6223/0.8439, allocations: 139.1 MB / 1.126 GB, free: 34.85 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.8442, allocations: 75.34 kB / 1.126 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003319/0.8475, allocations: 1.359 MB / 1.128 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8475, allocations: 0 / 1.128 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8475, allocations: 4 kB / 1.128 GB, free: 33.74 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.0002635/0.8478, allocations: 353.7 kB / 1.128 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.8479, allocations: 12.03 kB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.8479, allocations: 0.9375 kB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.17e-05/0.848, allocations: 164.9 kB / 1.128 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.848, allocations: 5.062 kB / 1.128 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.848, allocations: 4.375 kB / 1.128 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.8482, allocations: 56.77 kB / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.8482, allocations: 192 / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.8482, allocations: 3.938 kB / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8482, allocations: 1.031 kB / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.8484, allocations: 51.06 kB / 1.128 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.8487, allocations: 271.1 kB / 1.129 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.8488, allocations: 46.12 kB / 1.129 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/0.8489, allocations: 27.91 kB / 1.129 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.849, allocations: 85.05 kB / 1.129 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.849, allocations: 38.56 kB / 1.129 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.849, allocations: 0 / 1.129 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002928/0.8493, allocations: 95.67 kB / 1.129 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.8493, allocations: 58.92 kB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.8494, allocations: 99.42 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.8494, allocations: 25.7 kB / 1.129 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.8494, allocations: 87.61 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.8494, allocations: 3.906 kB / 1.129 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.8495, allocations: 4 kB / 1.129 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.8495, allocations: 318.8 kB / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.05e-05/0.8496, allocations: 20.06 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.8496, allocations: 30.73 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.8498, allocations: 51.42 kB / 1.13 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.8498, allocations: 0 / 1.13 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001552/0.8499, allocations: 80.61 kB / 1.13 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.85, allocations: 8 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.85, allocations: 0 / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.85, allocations: 0.75 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.8501, allocations: 11.56 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8501, allocations: 0.5 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.8501, allocations: 11.61 kB / 1.13 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.8501, allocations: 0 / 1.13 GB, free: 31.65 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.515e-05/0.8502, allocations: 125.7 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.8502, allocations: 4 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.8504, allocations: 79.12 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8504, allocations: 5.875 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8504, allocations: 0 / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.8504, allocations: 0 / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.8506, allocations: 161.7 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8506, allocations: 3.562 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.8506, allocations: 8 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8506, allocations: 4 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.8506, allocations: 0.9375 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8506, allocations: 4.094 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8507, allocations: 0 / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.8508, allocations: 181.7 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.8509, allocations: 81.11 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.8509, allocations: 4.641 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.851, allocations: 7.969 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.851, allocations: 4 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.851, allocations: 0 / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.988e-05/0.851, allocations: 83.7 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.851, allocations: 0.8438 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002087/0.8513, allocations: 23.94 kB / 1.13 GB, free: 30.83 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.0001164/0.8514, allocations: 110.7 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.8516, allocations: 50.34 kB / 1.131 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.8516, allocations: 0 / 1.131 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.8516, allocations: 27.39 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.8519, allocations: 7.938 kB / 1.131 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.8521, allocations: 109.9 kB / 1.131 GB, free: 30.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.81e-05/0.8522, allocations: 0.6765 MB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.8522, allocations: 0 / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.8523, allocations: 15.5 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.8523, allocations: 0 / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.002174/0.8544, allocations: 490.3 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)