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.001008/0.001008, allocations: 108 kB / 15.61 MB, free: 144 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 194 kB / 16.53 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 290.5 kB / 290.7 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9651/0.9651, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 101.2 kB / 0.5952 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1596, allocations: 86.98 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001926/0.1615, allocations: 0.6011 MB / 0.6808 GB, free: 88 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.1619, allocations: 159.4 kB / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.162, allocations: 0 / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.066e-05/0.162, allocations: 3.938 kB / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.861e-05/0.162, allocations: 3 kB / 0.6809 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1623, allocations: 43.89 kB / 0.681 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.942e-05/0.1624, allocations: 12 kB / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.1624, allocations: 3.984 kB / 0.681 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.1625, allocations: 7.938 kB / 0.681 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.1625, allocations: 11.94 kB / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1625, allocations: 0 / 0.681 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.1626, allocations: 39.94 kB / 0.681 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.1627, allocations: 0.7812 kB / 0.681 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1627, allocations: 11.94 kB / 0.6811 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.979e-05/0.1628, allocations: 32.52 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1628, allocations: 0.875 kB / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1628, allocations: 0 / 0.6811 GB, free: 15.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1628, allocations: 0 / 0.6811 GB, free: 15.77 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.000357/0.1632, allocations: 333.4 kB / 0.6814 GB, free: 15.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1632, allocations: 8.031 kB / 0.6814 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.1633, allocations: 4.938 kB / 0.6814 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1634, allocations: 165.4 kB / 0.6816 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1634, allocations: 384 / 0.6816 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1635, allocations: 8.375 kB / 0.6816 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1636, allocations: 46.25 kB / 0.6816 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1636, allocations: 192 / 0.6816 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1636, allocations: 3.938 kB / 0.6816 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1636, allocations: 0 / 0.6816 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.1637, allocations: 15.92 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.1639, allocations: 165.6 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.164, allocations: 46.62 kB / 0.6819 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.164, allocations: 20.97 kB / 0.6819 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.1641, allocations: 81.11 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1642, allocations: 30.56 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1642, allocations: 0 / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001323/0.1655, allocations: 496.2 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1656, allocations: 55.39 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.1656, allocations: 97.86 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1656, allocations: 29.7 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.1657, allocations: 80.14 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1657, allocations: 23.66 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.1658, allocations: 21.7 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.1658, allocations: 310.8 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.1659, allocations: 19.92 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.1659, allocations: 12.12 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.166, allocations: 32.86 kB / 0.6831 GB, free: 13.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.166, allocations: 15.86 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.951e-05/0.1661, allocations: 69.67 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1661, allocations: 7.938 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1661, allocations: 0 / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1661, allocations: 0 / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.1662, allocations: 12 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1662, allocations: 0 / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.1663, allocations: 4 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1663, allocations: 8 kB / 0.6832 GB, free: 13.28 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 7.33e-05/0.1664, allocations: 119.1 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.1664, allocations: 11.83 kB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.1665, allocations: 81.95 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1666, allocations: 0 / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1666, allocations: 0 / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1666, allocations: 0 / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1667, allocations: 161.7 kB / 0.6836 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1667, allocations: 4 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.1668, allocations: 15.98 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1668, allocations: 3.938 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1668, allocations: 192 / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1668, allocations: 8 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1668, allocations: 4.016 kB / 0.6836 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.167, allocations: 117.1 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.167, allocations: 84.95 kB / 0.6838 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1671, allocations: 8.094 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.447e-05/0.1671, allocations: 3.984 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.1671, allocations: 4 kB / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.1671, allocations: 0 / 0.6838 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.1672, allocations: 83.28 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1672, allocations: 0 / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.1674, allocations: 27.98 kB / 0.6839 GB, free: 12.45 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.000207/0.1676, allocations: 131.2 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1678, allocations: 48.06 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1678, allocations: 0 / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.1678, allocations: 23.88 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.168, allocations: 4 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.1684, allocations: 146.8 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.1686, allocations: 0.6807 MB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.1686, allocations: 15.92 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1687, allocations: 11.44 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1687, allocations: 0 / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of Templates: time 0.003384/0.1721, allocations: 0.8744 MB / 0.6858 GB, free: 10.5 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)