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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001287/0.001288, allocations: 194.4 kB / 16.14 MB, free: 6.637 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00278/0.002781, allocations: 278.7 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.5068 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002813, allocations: 102.4 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1686, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001857/0.1705, allocations: 0.664 MB / 0.6935 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004308/0.1709, allocations: 175.7 kB / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.1709, allocations: 0 / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.171, allocations: 0 / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.867e-05/0.171, allocations: 0 / 0.6936 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1713, allocations: 35.89 kB / 0.6937 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.1714, allocations: 11.94 kB / 0.6937 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.1714, allocations: 9.734 kB / 0.6937 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.006e-05/0.1715, allocations: 7.938 kB / 0.6937 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.1715, allocations: 7.984 kB / 0.6937 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1716, allocations: 4 kB / 0.6937 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.1716, allocations: 32.61 kB / 0.6937 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1717, allocations: 4 kB / 0.6937 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1717, allocations: 9.656 kB / 0.6937 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1718, allocations: 39.88 kB / 0.6938 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1718, allocations: 0 / 0.6938 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1718, allocations: 0 / 0.6938 GB, free: 3.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1718, allocations: 0 / 0.6938 GB, free: 3.855 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.0004041/0.1722, allocations: 327.6 kB / 0.6941 GB, free: 3.484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1723, allocations: 12.03 kB / 0.6941 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.1723, allocations: 4.844 kB / 0.6941 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1724, allocations: 164.6 kB / 0.6943 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1725, allocations: 4.375 kB / 0.6943 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1725, allocations: 4.375 kB / 0.6943 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1726, allocations: 42.25 kB / 0.6943 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1726, allocations: 4.125 kB / 0.6943 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1727, allocations: 7.938 kB / 0.6943 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1727, allocations: 0 / 0.6943 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.617e-05/0.1727, allocations: 19.98 kB / 0.6943 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.1729, allocations: 153.7 kB / 0.6945 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.173, allocations: 42.62 kB / 0.6945 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.1731, allocations: 24.95 kB / 0.6946 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.1732, allocations: 81.11 kB / 0.6946 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.1732, allocations: 38.5 kB / 0.6947 GB, free: 2.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1732, allocations: 0 / 0.6947 GB, free: 2.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001315/0.1745, allocations: 492.2 kB / 0.6951 GB, free: 2.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1746, allocations: 55.41 kB / 0.6952 GB, free: 2.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.1747, allocations: 89.86 kB / 0.6953 GB, free: 2.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1747, allocations: 29.7 kB / 0.6953 GB, free: 2.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.1747, allocations: 84.27 kB / 0.6954 GB, free: 1.922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1748, allocations: 23.66 kB / 0.6954 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1748, allocations: 21.7 kB / 0.6954 GB, free: 1.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.175, allocations: 314.8 kB / 0.6957 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.175, allocations: 19.92 kB / 0.6957 GB, free: 1.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.175, allocations: 8 kB / 0.6958 GB, free: 1.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.1751, allocations: 45 kB / 0.6958 GB, free: 1.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1751, allocations: 0 / 0.6958 GB, free: 1.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001181/0.1753, allocations: 73.58 kB / 0.6959 GB, free: 1.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1753, allocations: 15.94 kB / 0.6959 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1753, allocations: 0 / 0.6959 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1753, allocations: 3.938 kB / 0.6959 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.1754, allocations: 12 kB / 0.6959 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1754, allocations: 0 / 0.6959 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.1754, allocations: 0 / 0.6959 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1755, allocations: 7.984 kB / 0.6959 GB, free: 1.363 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.387e-05/0.1755, allocations: 113.8 kB / 0.696 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.1756, allocations: 3.938 kB / 0.696 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.1758, allocations: 85.64 kB / 0.6961 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1758, allocations: 0 / 0.6961 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1758, allocations: 0 / 0.6961 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1758, allocations: 0 / 0.6961 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.1759, allocations: 169.6 kB / 0.6963 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1759, allocations: 4 kB / 0.6963 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.176, allocations: 12.12 kB / 0.6963 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.176, allocations: 7.938 kB / 0.6963 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1761, allocations: 4 kB / 0.6963 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1761, allocations: 4 kB / 0.6963 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1761, allocations: 0 / 0.6963 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.1763, allocations: 113 kB / 0.6964 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1763, allocations: 85.08 kB / 0.6965 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1764, allocations: 3.984 kB / 0.6965 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.1764, allocations: 0 / 0.6965 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.1764, allocations: 4 kB / 0.6965 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1765, allocations: 4.062 kB / 0.6965 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.1765, allocations: 83.28 kB / 0.6966 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1765, allocations: 0 / 0.6966 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.1769, allocations: 31.98 kB / 0.6966 GB, free: 0.5469 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.0003113/0.1772, allocations: 143.1 kB / 0.6967 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1774, allocations: 35.98 kB / 0.6968 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1774, allocations: 0 / 0.6968 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.1774, allocations: 23.94 kB / 0.6968 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1776, allocations: 4.094 kB / 0.6968 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.178, allocations: 143.5 kB / 0.6969 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.1785, allocations: 0.6809 MB / 0.6976 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.1785, allocations: 8.531 kB / 0.6976 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.1786, allocations: 19.44 kB / 0.6976 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1786, allocations: 0 / 0.6976 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.004092/0.1827, allocations: 0.8612 MB / 0.6985 GB, free: 14.61 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)