Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007707/0.0007706, 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.0008281/0.0008283, 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.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 271.1 kB / 291.3 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9629/0.9629, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 11.66 kB / 0.598 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00143/0.1725, allocations: 1.148 MB / 0.6856 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.1729, allocations: 182.7 kB / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1729, allocations: 0 / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.1729, allocations: 0 / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.173, allocations: 7.938 kB / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1732, allocations: 23.95 kB / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.1733, allocations: 19.94 kB / 0.6858 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.08e-05/0.1734, allocations: 15.06 kB / 0.6858 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.1734, allocations: 7.875 kB / 0.6858 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.1735, allocations: 11.98 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1735, allocations: 0 / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.1736, allocations: 35.97 kB / 0.6859 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.1736, allocations: 0 / 0.6859 GB, free: 14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.1736, allocations: 33.64 kB / 0.6859 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.919e-05/0.1737, allocations: 29.25 kB / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1737, allocations: 0 / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1737, allocations: 0 / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1738, allocations: 0 / 0.686 GB, free: 13.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004215/0.1742, allocations: 343 kB / 0.6863 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1742, allocations: 12.03 kB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.1743, allocations: 7.906 kB / 0.6863 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1744, allocations: 171 kB / 0.6865 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1744, allocations: 0 / 0.6865 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1744, allocations: 2.281 kB / 0.6865 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1746, allocations: 53.67 kB / 0.6865 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1746, allocations: 0 / 0.6865 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1746, allocations: 0.5 kB / 0.6865 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1747, allocations: 0 / 0.6865 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1748, allocations: 50.41 kB / 0.6866 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.1752, allocations: 250.4 kB / 0.6868 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1753, allocations: 42.75 kB / 0.6868 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.1754, allocations: 28.91 kB / 0.6869 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.1755, allocations: 81.09 kB / 0.6869 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1755, allocations: 34.56 kB / 0.687 GB, free: 12.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.1756, allocations: 4.594 kB / 0.687 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003704/0.1759, allocations: 96.89 kB / 0.6871 GB, free: 12.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.176, allocations: 59.39 kB / 0.6871 GB, free: 12.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.1761, allocations: 101.9 kB / 0.6872 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1761, allocations: 25.7 kB / 0.6873 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.1761, allocations: 84.12 kB / 0.6873 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1762, allocations: 15.84 kB / 0.6874 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.1762, allocations: 3.938 kB / 0.6874 GB, free: 12.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1763, allocations: 310.8 kB / 0.6877 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.1764, allocations: 27.92 kB / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/0.1765, allocations: 23.97 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.391e-05/0.1765, allocations: 23.98 kB / 0.6877 GB, free: 11.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1765, allocations: 4.062 kB / 0.6877 GB, free: 11.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.1767, allocations: 77.52 kB / 0.6878 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1768, allocations: 5.562 kB / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1768, allocations: 3.984 kB / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1768, allocations: 0 / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.1769, allocations: 16.03 kB / 0.6878 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1769, allocations: 0 / 0.6878 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.1769, allocations: 11.94 kB / 0.6878 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.177, allocations: 256 / 0.6878 GB, free: 11.78 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 (2): * Single equations (assignments): 2 * 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 7.762e-05/0.177, allocations: 114.5 kB / 0.6879 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1771, allocations: 0 / 0.6879 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.1773, allocations: 84.72 kB / 0.688 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1773, allocations: 7.984 kB / 0.688 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1773, allocations: 0 / 0.688 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1773, allocations: 4 kB / 0.688 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1775, allocations: 157.6 kB / 0.6882 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1775, allocations: 0 / 0.6882 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.1775, allocations: 20.02 kB / 0.6882 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1775, allocations: 0 / 0.6882 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1776, allocations: 0 / 0.6882 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1776, allocations: 0 / 0.6882 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1776, allocations: 4 kB / 0.6882 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1778, allocations: 171.5 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.1778, allocations: 84.95 kB / 0.6885 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1779, allocations: 0 / 0.6885 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.1779, allocations: 15.98 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.178, allocations: 3.984 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.178, allocations: 4.031 kB / 0.6885 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.178, allocations: 83.27 kB / 0.6886 GB, free: 10.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.178, allocations: 0 / 0.6886 GB, free: 10.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1782, allocations: 12 kB / 0.6886 GB, free: 10.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001577/0.1784, allocations: 111.2 kB / 0.6887 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1786, allocations: 51.95 kB / 0.6887 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1786, allocations: 0 / 0.6887 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.1787, allocations: 19.98 kB / 0.6887 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.179, allocations: 11.95 kB / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.1792, allocations: 116.8 kB / 0.6889 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1795, allocations: 0.6809 MB / 0.6895 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.23e-05/0.1795, allocations: 0 / 0.6895 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.1795, allocations: 11.44 kB / 0.6895 GB, free: 9.871 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1795, allocations: 0 / 0.6895 GB, free: 9.871 MB / 494.1 MB Notification: Performance of Templates: time 0.002526/0.1821, allocations: 0.4921 MB / 0.69 GB, free: 9.383 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)