Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001144/0.001144, allocations: 177.1 kB / 377.1 MB, free: 1.523 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.687/1.687, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0009723/0.0009723, allocations: 87.3 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003917, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.281, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7002/0.9812, allocations: 138.5 MB / 1.124 GB, free: 35.97 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.9815, allocations: 84.12 kB / 1.124 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005078/0.9866, allocations: 2.023 MB / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9866, allocations: 0 / 1.126 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.9867, allocations: 4.562 kB / 1.126 GB, free: 34.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002729/0.9869, allocations: 331.8 kB / 1.126 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.987, allocations: 12.02 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.987, allocations: 7.469 kB / 1.126 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/0.9871, allocations: 167 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.9872, allocations: 2.062 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.9872, allocations: 9.625 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.9873, allocations: 40.56 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.9873, allocations: 6.281 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9874, allocations: 0 / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.9874, allocations: 0 / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.9874, allocations: 15.47 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.9876, allocations: 162.4 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.9877, allocations: 56.02 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.222e-05/0.9878, allocations: 81.66 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.9878, allocations: 34.69 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.9878, allocations: 4 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.001151/0.989, allocations: 476 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.989, allocations: 59.39 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.932e-05/0.9891, allocations: 89 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.9891, allocations: 29.7 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/0.9891, allocations: 80.14 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.9891, allocations: 27.08 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.9892, allocations: 0.5625 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.9892, allocations: 314.8 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.9892, allocations: 15.36 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.9893, allocations: 11.38 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.9893, allocations: 16.78 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.9893, allocations: 8.125 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.308e-05/0.9894, allocations: 67.14 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.9894, allocations: 4 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.9894, allocations: 3.938 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.9895, allocations: 0.75 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.9895, allocations: 15.28 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.9896, allocations: 0 / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.9896, allocations: 8.5 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.9896, allocations: 0 / 1.128 GB, free: 32.08 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 (8): * Single equations (assignments): 8 * 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.369e-05/0.9897, allocations: 117.8 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.9897, allocations: 7.859 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.9898, allocations: 85.72 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.9898, allocations: 4.844 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9899, allocations: 0.75 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9899, allocations: 0.5625 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.99, allocations: 164.6 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.99, allocations: 0 / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.9901, allocations: 16.56 kB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.9901, allocations: 7.953 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.9901, allocations: 0 / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9901, allocations: 0 / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9901, allocations: 4.938 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.9903, allocations: 121.3 kB / 1.128 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.9903, allocations: 78.28 kB / 1.128 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.9904, allocations: 3.953 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-05/0.9904, allocations: 4.031 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.9904, allocations: 7.625 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.9905, allocations: 8.75 kB / 1.128 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.736e-05/0.9905, allocations: 75.28 kB / 1.128 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9905, allocations: 4.969 kB / 1.128 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002215/0.9907, allocations: 39.94 kB / 1.128 GB, free: 31.28 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002389/0.991, allocations: 142.2 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.9911, allocations: 35.52 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9911, allocations: 4.094 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.9911, allocations: 31.53 kB / 1.129 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.9912, allocations: 3.938 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.9915, allocations: 145.8 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.9917, allocations: 0.6805 MB / 1.129 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.9917, allocations: 9.438 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.9918, allocations: 15.94 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/0.9918, allocations: 0 / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.002913/0.9947, allocations: 0.7145 MB / 1.13 GB, free: 29.8 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)