Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001663, allocations: 275 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 13.97 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1659, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006277/0.1666, allocations: 323.2 kB / 0.6848 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003156/0.1669, allocations: 152.8 kB / 0.6849 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.167, allocations: 3.938 kB / 0.6849 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.678e-06/0.167, allocations: 2.219 kB / 0.685 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.899e-05/0.167, allocations: 0 / 0.685 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.1672, allocations: 30.72 kB / 0.685 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.524e-05/0.1673, allocations: 15.92 kB / 0.685 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.445e-05/0.1673, allocations: 0 / 0.685 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.1674, allocations: 4 kB / 0.685 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.1674, allocations: 16.5 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1674, allocations: 6.469 kB / 0.685 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.1675, allocations: 27.97 kB / 0.685 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.1675, allocations: 7.938 kB / 0.6851 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.1676, allocations: 29.7 kB / 0.6851 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.531e-05/0.1676, allocations: 19.89 kB / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1676, allocations: 0 / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1676, allocations: 0 / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.1676, allocations: 1.812 kB / 0.6851 GB, free: 14.83 MB / 494.1 MB 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.0003186/0.168, allocations: 327.7 kB / 0.6854 GB, free: 14.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.168, allocations: 12.03 kB / 0.6854 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.168, allocations: 0.5625 kB / 0.6854 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.573e-05/0.1681, allocations: 168.8 kB / 0.6856 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1682, allocations: 4 kB / 0.6856 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1682, allocations: 4 kB / 0.6856 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.1683, allocations: 41.69 kB / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.1683, allocations: 0.8438 kB / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1683, allocations: 0 / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1683, allocations: 3.938 kB / 0.6856 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.1684, allocations: 12.55 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.1685, allocations: 172.9 kB / 0.6858 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.769e-05/0.1686, allocations: 42.62 kB / 0.6859 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.1687, allocations: 20.97 kB / 0.6859 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/0.1687, allocations: 81.11 kB / 0.686 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1688, allocations: 31.69 kB / 0.686 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1688, allocations: 3.938 kB / 0.686 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001084/0.1699, allocations: 488.7 kB / 0.6865 GB, free: 13.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1699, allocations: 56.03 kB / 0.6865 GB, free: 13.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.17, allocations: 91.67 kB / 0.6866 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.17, allocations: 29.7 kB / 0.6866 GB, free: 13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.17, allocations: 84.12 kB / 0.6867 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1701, allocations: 27.78 kB / 0.6867 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.1701, allocations: 0 / 0.6867 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.1702, allocations: 322.8 kB / 0.687 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.1702, allocations: 8 kB / 0.687 GB, free: 12.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.1702, allocations: 16.06 kB / 0.6871 GB, free: 12.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.1703, allocations: 16.14 kB / 0.6871 GB, free: 12.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1703, allocations: 0 / 0.6871 GB, free: 12.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.777e-05/0.1704, allocations: 73.56 kB / 0.6871 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1704, allocations: 8 kB / 0.6872 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1704, allocations: 0 / 0.6872 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.1704, allocations: 4 kB / 0.6872 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.1705, allocations: 15.98 kB / 0.6872 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1705, allocations: 0 / 0.6872 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.1705, allocations: 0 / 0.6872 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1706, allocations: 4 kB / 0.6872 GB, free: 12.42 MB / 494.1 MB 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 6.708e-05/0.1706, allocations: 118.4 kB / 0.6873 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1706, allocations: 7.906 kB / 0.6873 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.1708, allocations: 89.56 kB / 0.6874 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1708, allocations: 0 / 0.6874 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1708, allocations: 4 kB / 0.6874 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1708, allocations: 0 / 0.6874 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.1709, allocations: 165.6 kB / 0.6875 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.171, allocations: 0 / 0.6875 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.171, allocations: 12 kB / 0.6876 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.171, allocations: 0 / 0.6876 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1711, allocations: 4 kB / 0.6876 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1711, allocations: 3.984 kB / 0.6876 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1711, allocations: 192 / 0.6876 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.1712, allocations: 121 kB / 0.6877 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.1713, allocations: 89.05 kB / 0.6878 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1713, allocations: 4 kB / 0.6878 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.1713, allocations: 0 / 0.6878 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.1714, allocations: 4 kB / 0.6878 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1714, allocations: 7.984 kB / 0.6878 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.1714, allocations: 79.34 kB / 0.6879 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1714, allocations: 0 / 0.6879 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.1716, allocations: 32 kB / 0.6879 GB, free: 11.59 MB / 494.1 MB 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.0001727/0.1718, allocations: 123.2 kB / 0.688 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.245e-05/0.1719, allocations: 39.92 kB / 0.688 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1719, allocations: 4 kB / 0.688 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.172, allocations: 23.92 kB / 0.6881 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.1721, allocations: 15.89 kB / 0.6881 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.1724, allocations: 146.9 kB / 0.6882 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1726, allocations: 0.6809 MB / 0.6889 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.695e-05/0.1726, allocations: 8.719 kB / 0.6889 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.1726, allocations: 11.44 kB / 0.6889 GB, free: 10.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1726, allocations: 0 / 0.6889 GB, free: 10.48 MB / 494.1 MB Notification: Performance of Templates: time 0.002655/0.1753, allocations: 0.841 MB / 0.6897 GB, free: 9.676 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)