Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.515/2.515, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001342/0.001342, allocations: 176.5 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.082/2.082, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008825/0.0008822, allocations: 96.45 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004757, allocations: 16.62 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9398/1.153, allocations: 137.9 MB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.154, allocations: 73.77 kB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005997/1.16, allocations: 1.352 MB / 1.115 GB, free: 31.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/1.16, allocations: 4 kB / 1.115 GB, free: 31.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.16, allocations: 0 / 1.115 GB, free: 31.41 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.0004679/1.16, allocations: 349.4 kB / 1.116 GB, free: 31.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.16, allocations: 11.53 kB / 1.116 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/1.16, allocations: 7.422 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.16, allocations: 173.1 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/1.16, allocations: 4.312 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/1.16, allocations: 4.375 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/1.161, allocations: 53.3 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.161, allocations: 4 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.161, allocations: 3.938 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.161, allocations: 0 / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/1.161, allocations: 48.31 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004796/1.161, allocations: 264.3 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/1.162, allocations: 54.09 kB / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/1.162, allocations: 25.77 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/1.162, allocations: 81.02 kB / 1.116 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.162, allocations: 37.75 kB / 1.116 GB, free: 30.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/1.162, allocations: 0 / 1.116 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005338/1.163, allocations: 99.11 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/1.163, allocations: 63.41 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/1.163, allocations: 104 kB / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/1.163, allocations: 25.7 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/1.163, allocations: 83.45 kB / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/1.163, allocations: 6.812 kB / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/1.163, allocations: 0 / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.163, allocations: 314.7 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/1.163, allocations: 24.72 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/1.163, allocations: 24.84 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/1.164, allocations: 47.28 kB / 1.117 GB, free: 29.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.164, allocations: 3.969 kB / 1.117 GB, free: 29.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003163/1.164, allocations: 78.97 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.164, allocations: 3.844 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.164, allocations: 7.969 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.164, allocations: 3.969 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.164, allocations: 10.59 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.164, allocations: 0 / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/1.164, allocations: 14.58 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/1.164, allocations: 0 / 1.117 GB, free: 29.65 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.72e-05/1.164, allocations: 117.8 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/1.164, allocations: 6.688 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/1.165, allocations: 76.34 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.165, allocations: 0 / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.165, allocations: 1.312 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.165, allocations: 4.031 kB / 1.117 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/1.165, allocations: 160.7 kB / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.165, allocations: 4.094 kB / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-05/1.165, allocations: 19.44 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.165, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/1.165, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.165, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.165, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/1.166, allocations: 181.2 kB / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/1.166, allocations: 77.11 kB / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/1.166, allocations: 1.312 kB / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/1.166, allocations: 16.45 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/1.166, allocations: 1.406 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/1.166, allocations: 5.094 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.03e-05/1.166, allocations: 80.41 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.166, allocations: 0 / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003201/1.166, allocations: 14.72 kB / 1.118 GB, free: 28.98 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.0001979/1.166, allocations: 113 kB / 1.118 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003496/1.167, allocations: 56.08 kB / 1.118 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.167, allocations: 0 / 1.118 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/1.167, allocations: 27.16 kB / 1.118 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/1.167, allocations: 12 kB / 1.118 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/1.168, allocations: 110.8 kB / 1.118 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.168, allocations: 0.6761 MB / 1.119 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.575e-05/1.168, allocations: 4.391 kB / 1.119 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/1.168, allocations: 7.438 kB / 1.119 GB, free: 28.05 MB / 0.698 GB Notification: Performance of SimCode: time 8.21e-07/1.168, allocations: 0 / 1.119 GB, free: 28.05 MB / 0.698 GB Notification: Performance of Templates: time 0.003028/1.171, allocations: 0.4893 MB / 1.119 GB, free: 27.99 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)