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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.001062/0.001062, allocations: 181 kB / 377.1 MB, free: 1.492 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.541/1.541, allocations: 205.4 MB / 0.6367 GB, free: 8.508 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.0008656/0.0008656, allocations: 87.33 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004647, allocations: 11.98 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3092, allocations: 116.3 MB / 0.9884 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.779/1.088, allocations: 139 MB / 1.124 GB, free: 35.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/1.088, allocations: 78.31 kB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003471/1.092, allocations: 1.339 MB / 1.126 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.104e-06/1.092, allocations: 3.938 kB / 1.126 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.092, allocations: 0 / 1.126 GB, free: 34.47 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.0003179/1.092, allocations: 357 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.092, allocations: 12.02 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/1.092, allocations: 9.969 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/1.093, allocations: 167.8 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/1.093, allocations: 0 / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/1.093, allocations: 4 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/1.093, allocations: 64.33 kB / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/1.093, allocations: 0 / 1.126 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/1.093, allocations: 4 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/1.093, allocations: 0 / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/1.093, allocations: 42.97 kB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/1.093, allocations: 268.5 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/1.093, allocations: 45.38 kB / 1.126 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/1.094, allocations: 83.45 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/1.094, allocations: 34.56 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.094, allocations: 4.062 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003251/1.094, allocations: 96.3 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/1.094, allocations: 55.41 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/1.094, allocations: 93 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/1.094, allocations: 29.7 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/1.094, allocations: 87.56 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/1.094, allocations: 0 / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/1.094, allocations: 0 / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/1.094, allocations: 318.8 kB / 1.127 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.541e-05/1.094, allocations: 26.89 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/1.094, allocations: 27.41 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/1.094, allocations: 15.52 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.094, allocations: 8 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001622/1.095, allocations: 80.16 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.095, allocations: 8 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.095, allocations: 4.125 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/1.095, allocations: 0 / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/1.095, allocations: 12.03 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.095, allocations: 0.9375 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/1.095, allocations: 11.56 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/1.095, allocations: 0.625 kB / 1.127 GB, free: 32.43 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 5.517e-05/1.095, allocations: 109.8 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/1.095, allocations: 4 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/1.095, allocations: 90.78 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.095, allocations: 0 / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.095, allocations: 0 / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/1.095, allocations: 0 / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/1.095, allocations: 161.2 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.095, allocations: 0.5938 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/1.095, allocations: 19.56 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.095, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.095, allocations: 1.203 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.095, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/1.095, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/1.096, allocations: 182.4 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/1.096, allocations: 88.58 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/1.096, allocations: 0 / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/1.096, allocations: 4 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/1.096, allocations: 7.562 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/1.096, allocations: 4.531 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.201e-05/1.096, allocations: 84.28 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.096, allocations: 0 / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002459/1.096, allocations: 23.59 kB / 1.128 GB, free: 31.62 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.0002191/1.096, allocations: 103.8 kB / 1.128 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002228/1.096, allocations: 46.45 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.097, allocations: 4 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/1.097, allocations: 31.95 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/1.097, allocations: 3.469 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/1.097, allocations: 117.3 kB / 1.128 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/1.097, allocations: 0.6766 MB / 1.129 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.93e-05/1.097, allocations: 4 kB / 1.129 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/1.098, allocations: 8.375 kB / 1.129 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of SimCode: time 4.8e-07/1.098, allocations: 0 / 1.129 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.003104/1.101, allocations: 469.5 kB / 1.13 GB, free: 30.36 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)