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.0007951/0.000795, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005022/0.005022, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001608/0.001609, allocations: 273.6 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9282/0.9282, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 18.98 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.168, allocations: 88.54 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0005882/0.1686, allocations: 327.8 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003474/0.169, allocations: 169.2 kB / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.184e-05/0.169, allocations: 0 / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.169, allocations: 3.938 kB / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.537e-05/0.169, allocations: 0 / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.1692, allocations: 27.97 kB / 0.6856 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.012e-05/0.1693, allocations: 16.7 kB / 0.6857 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.1693, allocations: 4.734 kB / 0.6857 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.1694, allocations: 7.938 kB / 0.6857 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.1694, allocations: 5.812 kB / 0.6857 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1694, allocations: 0 / 0.6857 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.1695, allocations: 35.95 kB / 0.6857 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1695, allocations: 7.984 kB / 0.6857 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.1696, allocations: 33.64 kB / 0.6858 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8e-05/0.1696, allocations: 37.06 kB / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1697, allocations: 0 / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1697, allocations: 0 / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.1697, allocations: 0 / 0.6858 GB, free: 14.36 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.0002832/0.17, allocations: 329.5 kB / 0.6861 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.17, allocations: 12.03 kB / 0.6861 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.17, allocations: 2.031 kB / 0.6861 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.415e-05/0.1701, allocations: 168.3 kB / 0.6863 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1701, allocations: 8.359 kB / 0.6863 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1702, allocations: 6.344 kB / 0.6863 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.043e-05/0.1703, allocations: 42.25 kB / 0.6863 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.1703, allocations: 192 / 0.6863 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1703, allocations: 3.938 kB / 0.6863 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1703, allocations: 0 / 0.6863 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.1703, allocations: 18.45 kB / 0.6864 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.1705, allocations: 161.6 kB / 0.6865 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.276e-05/0.1706, allocations: 46.56 kB / 0.6866 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.1706, allocations: 17.48 kB / 0.6866 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-05/0.1707, allocations: 86.25 kB / 0.6867 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1707, allocations: 30.56 kB / 0.6867 GB, free: 13.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1707, allocations: 1.5 kB / 0.6867 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001088/0.1718, allocations: 493.5 kB / 0.6872 GB, free: 12.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.1719, allocations: 51.41 kB / 0.6872 GB, free: 12.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.793e-05/0.1719, allocations: 93.84 kB / 0.6873 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1719, allocations: 35.42 kB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.172, allocations: 80.14 kB / 0.6874 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.172, allocations: 23.64 kB / 0.6874 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.172, allocations: 13.72 kB / 0.6874 GB, free: 12.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.1721, allocations: 320 kB / 0.6877 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.1722, allocations: 8 kB / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.1722, allocations: 16.86 kB / 0.6878 GB, free: 12.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.762e-05/0.1722, allocations: 36.8 kB / 0.6878 GB, free: 12.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1723, allocations: 0.625 kB / 0.6878 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.939e-05/0.1724, allocations: 75.03 kB / 0.6879 GB, free: 11.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1724, allocations: 7.938 kB / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.1724, allocations: 0 / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.1724, allocations: 0 / 0.6879 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.1725, allocations: 16.64 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.1725, allocations: 0 / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.1725, allocations: 4.125 kB / 0.6879 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1725, allocations: 4 kB / 0.6879 GB, free: 11.91 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.1726, allocations: 111.2 kB / 0.688 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.1726, allocations: 11.84 kB / 0.688 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.1728, allocations: 85.86 kB / 0.6881 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1728, allocations: 7.984 kB / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1728, allocations: 0 / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1728, allocations: 0 / 0.6881 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1729, allocations: 165.7 kB / 0.6883 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1729, allocations: 0 / 0.6883 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.859e-05/0.173, allocations: 15.98 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.173, allocations: 3.938 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.173, allocations: 0 / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.173, allocations: 3.938 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.173, allocations: 4 kB / 0.6883 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.1732, allocations: 117 kB / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.1732, allocations: 89.02 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1732, allocations: 4.219 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.455e-05/0.1733, allocations: 11.98 kB / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.1733, allocations: 7.984 kB / 0.6885 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1733, allocations: 0 / 0.6885 GB, free: 11.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.968e-05/0.1734, allocations: 75.28 kB / 0.6886 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1734, allocations: 0 / 0.6886 GB, free: 11.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.1736, allocations: 32 kB / 0.6886 GB, free: 11.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001755/0.1738, allocations: 131.3 kB / 0.6887 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1739, allocations: 39.92 kB / 0.6888 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1739, allocations: 3.938 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.1739, allocations: 23.98 kB / 0.6888 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.1741, allocations: 8 kB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.1743, allocations: 152.8 kB / 0.689 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1746, allocations: 0.6848 MB / 0.6896 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.412e-05/0.1746, allocations: 7.984 kB / 0.6896 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.1746, allocations: 11.44 kB / 0.6896 GB, free: 9.961 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1746, allocations: 0 / 0.6896 GB, free: 9.961 MB / 494.1 MB Notification: Performance of Templates: time 0.002776/0.1774, allocations: 0.8483 MB / 0.6905 GB, free: 9.148 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)