Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.559/1.559, allocations: 288.4 MB / 303.7 MB, free: 8.176 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.0009142/0.0009141, allocations: 187.5 kB / 372.3 MB, free: 10.11 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.348/1.348, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0008052/0.0008053, allocations: 105.3 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 17.91 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2178, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007102/0.2185, allocations: 327.8 kB / 0.9805 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003536/0.2189, allocations: 143.7 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.219, allocations: 0 / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.219, allocations: 3.938 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.288e-05/0.219, allocations: 4 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.2193, allocations: 27.97 kB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.742e-05/0.2194, allocations: 11.98 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.2195, allocations: 4 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.2195, allocations: 11.94 kB / 0.9807 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.2195, allocations: 7.984 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.2196, allocations: 0 / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.2196, allocations: 35.91 kB / 0.9807 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.2197, allocations: 3.984 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.2197, allocations: 41.62 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.156e-05/0.2198, allocations: 11.98 kB / 0.9808 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2198, allocations: 4 kB / 0.9808 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2198, allocations: 4 kB / 0.9808 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2198, allocations: 0 / 0.9808 GB, free: 26.69 MB / 0.6198 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.0002926/0.2201, allocations: 319.6 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2201, allocations: 12.03 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.2202, allocations: 4.844 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.606e-05/0.2203, allocations: 168.6 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2203, allocations: 4.375 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.2203, allocations: 8.312 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2204, allocations: 42.25 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2204, allocations: 192 / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2205, allocations: 7.938 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.2205, allocations: 4 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.02e-05/0.2205, allocations: 11.98 kB / 0.9813 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.2206, allocations: 161.7 kB / 0.9815 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.2207, allocations: 46.5 kB / 0.9815 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.2208, allocations: 24.97 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.723e-05/0.2209, allocations: 85.09 kB / 0.9816 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2209, allocations: 30.56 kB / 0.9817 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2209, allocations: 0 / 0.9817 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001105/0.222, allocations: 484.2 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.222, allocations: 55.41 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.166e-05/0.2221, allocations: 93.86 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.2221, allocations: 25.7 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.2221, allocations: 88.12 kB / 0.9824 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.2222, allocations: 19.66 kB / 0.9824 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.2222, allocations: 4 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.92e-05/0.2222, allocations: 322.7 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.2223, allocations: 15.92 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.2223, allocations: 15.98 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.2223, allocations: 36.97 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2223, allocations: 0 / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.226e-05/0.2224, allocations: 73.59 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2225, allocations: 7.938 kB / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2225, allocations: 0 / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2225, allocations: 0 / 0.9828 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.2226, allocations: 15.94 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2226, allocations: 3.984 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.2226, allocations: 0 / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.2226, allocations: 8 kB / 0.9829 GB, free: 24.23 MB / 0.6198 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 4.962e-05/0.2227, allocations: 113.8 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.2227, allocations: 7.938 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.2229, allocations: 81.94 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2229, allocations: 4 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2229, allocations: 3.938 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2229, allocations: 0 / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.449e-05/0.223, allocations: 169.6 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.223, allocations: 256 / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.2231, allocations: 16 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2231, allocations: 7.938 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2231, allocations: 0 / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2231, allocations: 0 / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2231, allocations: 0 / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2233, allocations: 121 kB / 0.9834 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.2233, allocations: 85.03 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2233, allocations: 0 / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.2234, allocations: 8.062 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.2234, allocations: 0 / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.2234, allocations: 4 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.627e-05/0.2234, allocations: 83.27 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2234, allocations: 0 / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002067/0.2236, allocations: 28 kB / 0.9836 GB, free: 23.41 MB / 0.6198 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.0001886/0.2238, allocations: 139.2 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.673e-05/0.2239, allocations: 36.08 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.224, allocations: 0 / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.716e-05/0.224, allocations: 19.94 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.2241, allocations: 15.92 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.2244, allocations: 142.1 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.2245, allocations: 0.6823 MB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.2246, allocations: 11.75 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.2246, allocations: 11.44 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.2246, allocations: 0 / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.002777/0.2274, allocations: 0.8512 MB / 0.9854 GB, free: 21.48 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)