Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.499/2.499, allocations: 287.5 MB / 303.2 MB, free: 8.328 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.001256/0.001256, allocations: 181.4 kB / 371.8 MB, free: 10.82 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.049/2.049, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0009011/0.0009007, allocations: 88.05 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004872, allocations: 13.8 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8758/1.089, allocations: 137.4 MB / 1.113 GB, free: 16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.09, allocations: 78.61 kB / 1.114 GB, free: 16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008822/1.098, allocations: 2.039 MB / 1.116 GB, free: 31.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.245e-06/1.098, allocations: 0 / 1.116 GB, free: 31.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.032e-05/1.098, allocations: 3.906 kB / 1.116 GB, free: 31.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003769/1.099, allocations: 337.7 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.099, allocations: 11.69 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/1.099, allocations: 5.438 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/1.099, allocations: 167.3 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/1.099, allocations: 384 / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/1.099, allocations: 8.25 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/1.099, allocations: 43.16 kB / 1.116 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.099, allocations: 4.172 kB / 1.116 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/1.099, allocations: 6.891 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.099, allocations: 4 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/1.099, allocations: 13.42 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/1.1, allocations: 166 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/1.1, allocations: 45.2 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/1.1, allocations: 19.23 kB / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/1.1, allocations: 83.64 kB / 1.116 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/1.1, allocations: 34.56 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/1.1, allocations: 0 / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001587/1.101, allocations: 483.5 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/1.102, allocations: 53.05 kB / 1.117 GB, free: 30.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/1.102, allocations: 92.61 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/1.102, allocations: 29.55 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/1.102, allocations: 84.08 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/1.102, allocations: 25.44 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.102, allocations: 8.094 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.102, allocations: 315.2 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/1.102, allocations: 12.36 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/1.102, allocations: 9.766 kB / 1.118 GB, free: 29.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/1.102, allocations: 35.16 kB / 1.118 GB, free: 29.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.102, allocations: 0 / 1.118 GB, free: 29.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001631/1.102, allocations: 69.75 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.102, allocations: 13 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.102, allocations: 3.938 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.102, allocations: 4 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/1.102, allocations: 17 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.103, allocations: 0 / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/1.103, allocations: 1.547 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/1.103, allocations: 3.906 kB / 1.118 GB, free: 29.59 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 (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 8.986e-05/1.103, allocations: 113.1 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/1.103, allocations: 7.75 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/1.103, allocations: 91.92 kB / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.103, allocations: 0 / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.103, allocations: 0 / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.103, allocations: 0 / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/1.103, allocations: 161.5 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.103, allocations: 0 / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/1.103, allocations: 17.02 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.103, allocations: 3.938 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.103, allocations: 4.547 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.103, allocations: 0 / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.103, allocations: 0.8906 kB / 1.118 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/1.104, allocations: 125.2 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/1.104, allocations: 90.38 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/1.104, allocations: 4 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/1.104, allocations: 3.188 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/1.104, allocations: 6.797 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/1.104, allocations: 3.844 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.764e-05/1.104, allocations: 75.34 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.4e-07/1.104, allocations: 4.094 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003205/1.104, allocations: 43.58 kB / 1.118 GB, free: 28.96 MB / 0.698 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.0002642/1.104, allocations: 138 kB / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001463/1.105, allocations: 44.55 kB / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.105, allocations: 0 / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/1.105, allocations: 16.45 kB / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/1.105, allocations: 10.53 kB / 1.119 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/1.105, allocations: 148.3 kB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/1.105, allocations: 0.6842 MB / 1.119 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.901e-05/1.106, allocations: 5.672 kB / 1.119 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/1.106, allocations: 12.91 kB / 1.119 GB, free: 28.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.106, allocations: 0 / 1.119 GB, free: 28.02 MB / 0.698 GB Notification: Performance of Templates: time 0.003796/1.109, allocations: 0.8048 MB / 1.12 GB, free: 27.94 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)