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.001281/0.001281, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001484/0.001484, allocations: 192.7 kB / 16.25 MB, free: 6.629 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002414/0.002414, allocations: 282.8 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.507 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 104.4 kB / 0.6059 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1619, allocations: 89.14 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001871/0.1639, allocations: 0.662 MB / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004042/0.1643, allocations: 165.3 kB / 0.6938 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.1643, allocations: 0.9375 kB / 0.6938 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.1643, allocations: 0 / 0.6938 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.902e-05/0.1644, allocations: 0 / 0.6938 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1646, allocations: 43.34 kB / 0.6938 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.545e-05/0.1647, allocations: 15.98 kB / 0.6939 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.1647, allocations: 0 / 0.6939 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.135e-05/0.1648, allocations: 7.938 kB / 0.6939 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.1648, allocations: 15.97 kB / 0.6939 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1649, allocations: 0 / 0.6939 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/0.1649, allocations: 31.97 kB / 0.6939 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1649, allocations: 0 / 0.6939 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.165, allocations: 15.92 kB / 0.6939 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.898e-05/0.1651, allocations: 32.52 kB / 0.694 GB, free: 3.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1651, allocations: 0.6562 kB / 0.694 GB, free: 3.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1651, allocations: 0 / 0.694 GB, free: 3.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1651, allocations: 0.8438 kB / 0.694 GB, free: 3.695 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.0003987/0.1655, allocations: 328.5 kB / 0.6943 GB, free: 3.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1656, allocations: 8.031 kB / 0.6943 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.1656, allocations: 9.5 kB / 0.6943 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1657, allocations: 168.6 kB / 0.6944 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1658, allocations: 8.375 kB / 0.6945 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1658, allocations: 8.312 kB / 0.6945 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1659, allocations: 46.25 kB / 0.6945 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1659, allocations: 192 / 0.6945 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.166, allocations: 3.938 kB / 0.6945 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.166, allocations: 0 / 0.6945 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.465e-05/0.166, allocations: 15.92 kB / 0.6945 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.1662, allocations: 161.7 kB / 0.6947 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1663, allocations: 50.56 kB / 0.6947 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.1664, allocations: 16.98 kB / 0.6947 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.1665, allocations: 85.09 kB / 0.6948 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1666, allocations: 30.56 kB / 0.6949 GB, free: 2.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1666, allocations: 0 / 0.6949 GB, free: 2.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001418/0.168, allocations: 484.5 kB / 0.6953 GB, free: 2.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.168, allocations: 55.41 kB / 0.6954 GB, free: 1.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.1681, allocations: 93.86 kB / 0.6955 GB, free: 1.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1681, allocations: 29.7 kB / 0.6955 GB, free: 1.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.1682, allocations: 84.12 kB / 0.6956 GB, free: 1.758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.1682, allocations: 23.66 kB / 0.6956 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.1683, allocations: 17.72 kB / 0.6956 GB, free: 1.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1684, allocations: 322.8 kB / 0.6959 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.1685, allocations: 16.12 kB / 0.6959 GB, free: 1.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.1685, allocations: 19.92 kB / 0.6959 GB, free: 1.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.884e-05/0.1686, allocations: 36.84 kB / 0.696 GB, free: 1.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1686, allocations: 0 / 0.696 GB, free: 1.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001122/0.1687, allocations: 69.59 kB / 0.6961 GB, free: 1.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1687, allocations: 7.938 kB / 0.6961 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1688, allocations: 0 / 0.6961 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1688, allocations: 4 kB / 0.6961 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.1689, allocations: 15.92 kB / 0.6961 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1689, allocations: 0 / 0.6961 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.1689, allocations: 8 kB / 0.6961 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1689, allocations: 0 / 0.6961 GB, free: 1.203 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 8.961e-05/0.169, allocations: 113.8 kB / 0.6962 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.169, allocations: 7.922 kB / 0.6962 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.1692, allocations: 89.92 kB / 0.6963 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1692, allocations: 0 / 0.6963 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1692, allocations: 3.938 kB / 0.6963 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1692, allocations: 0 / 0.6963 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1694, allocations: 169.7 kB / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1694, allocations: 0 / 0.6965 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.1695, allocations: 15.98 kB / 0.6965 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1695, allocations: 3.938 kB / 0.6965 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1695, allocations: 4 kB / 0.6965 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1695, allocations: 0 / 0.6965 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1695, allocations: 0 / 0.6965 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1697, allocations: 117 kB / 0.6966 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.1698, allocations: 85.11 kB / 0.6967 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1698, allocations: 4.031 kB / 0.6967 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.1699, allocations: 3.938 kB / 0.6967 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.1699, allocations: 7.984 kB / 0.6967 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1699, allocations: 0 / 0.6967 GB, free: 500 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.1699, allocations: 83.28 kB / 0.6968 GB, free: 416 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.17, allocations: 0 / 0.6968 GB, free: 416 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1702, allocations: 28 kB / 0.6968 GB, free: 388 kB / 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.0002206/0.1704, allocations: 135.3 kB / 0.6969 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1705, allocations: 47.86 kB / 0.697 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1706, allocations: 0 / 0.697 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.1706, allocations: 19.98 kB / 0.697 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.1708, allocations: 8.875 kB / 0.697 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.1711, allocations: 141.6 kB / 0.6971 GB, free: 0 / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1714, allocations: 0.6847 MB / 0.6978 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.1715, allocations: 7.938 kB / 0.6978 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.1715, allocations: 11.44 kB / 0.6978 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1715, allocations: 3.938 kB / 0.6978 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.003478/0.175, allocations: 0.885 MB / 0.6987 GB, free: 14.41 MB / 0.4981 GB 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)