Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 108 kB / 15.6 MB, free: 132 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.001108/0.001108, allocations: 193.7 kB / 16.53 MB, free: 6.391 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: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002121, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9634/0.9634, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 96.11 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1696, allocations: 86.99 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002035/0.1717, allocations: 0.6081 MB / 0.6808 GB, free: 84 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1737, allocations: 1.43 MB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.1737, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.1738, allocations: 3.984 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.1739, allocations: 4.75 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.1746, allocations: 212.7 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1747, allocations: 39.95 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.1748, allocations: 11.03 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.1748, allocations: 15.92 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.1749, allocations: 15.98 kB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1749, allocations: 0 / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.1753, allocations: 255.6 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.1754, allocations: 4 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.1754, allocations: 15.88 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.1757, allocations: 216.3 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1758, allocations: 4 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1758, allocations: 1.719 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1758, allocations: 3.938 kB / 0.6829 GB, free: 13.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004291/0.1762, allocations: 397.1 kB / 0.6833 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1763, allocations: 8.031 kB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1763, allocations: 13.48 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1764, allocations: 168.8 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1765, allocations: 4.375 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1765, allocations: 1.25 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1766, allocations: 78.5 kB / 0.6836 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1767, allocations: 7.875 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1767, allocations: 5.047 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1767, allocations: 0 / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.091e-05/0.1767, allocations: 35.97 kB / 0.6836 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1769, allocations: 162.7 kB / 0.6838 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.177, allocations: 62.56 kB / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.027e-05/0.1771, allocations: 52.86 kB / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.1771, allocations: 0 / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1771, allocations: 38.5 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1771, allocations: 0 / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003027/0.1774, allocations: 187.2 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1775, allocations: 81.09 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.1776, allocations: 121.9 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1776, allocations: 29.7 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.1777, allocations: 88.12 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.1777, allocations: 27.64 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.1778, allocations: 17.72 kB / 0.6845 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1779, allocations: 318.8 kB / 0.6848 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.376e-05/0.1779, allocations: 35.98 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.178, allocations: 35.97 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1781, allocations: 148.8 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1781, allocations: 0 / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001804/0.1783, allocations: 147.3 kB / 0.6851 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.1784, allocations: 41.62 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1784, allocations: 0 / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1784, allocations: 0 / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1784, allocations: 4 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1784, allocations: 0 / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1785, allocations: 7.984 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.1786, allocations: 12 kB / 0.6852 GB, free: 11.31 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.292e-05/0.1787, allocations: 152.9 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.1787, allocations: 11.84 kB / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.198e-05/0.1787, allocations: 4.375 kB / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1787, allocations: 0 / 0.6853 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1787, allocations: 3.938 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1787, allocations: 0 / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.1789, allocations: 177.6 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1789, allocations: 0 / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-06/0.1789, allocations: 0 / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1789, allocations: 7.875 kB / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1789, allocations: 8 kB / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1789, allocations: 0 / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1789, allocations: 0 / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1791, allocations: 194.7 kB / 0.6857 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.1792, allocations: 88.89 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1792, allocations: 7.984 kB / 0.6858 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.1793, allocations: 4 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.1793, allocations: 4.031 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1793, allocations: 8 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.1794, allocations: 95.25 kB / 0.6859 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1794, allocations: 0 / 0.6859 GB, free: 10.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.1797, allocations: 75.98 kB / 0.686 GB, free: 10.38 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002936/0.18, allocations: 159.2 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.1802, allocations: 199.2 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1802, allocations: 0 / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1804, allocations: 159.4 kB / 0.6865 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.1806, allocations: 4.75 kB / 0.6865 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.1809, allocations: 161 kB / 0.6866 GB, free: 9.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1812, allocations: 0.6885 MB / 0.6873 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.031e-06/0.1812, allocations: 0 / 0.6873 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.1812, allocations: 7.438 kB / 0.6873 GB, free: 8.926 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1812, allocations: 4.062 kB / 0.6873 GB, free: 8.922 MB / 494.1 MB Notification: Performance of Templates: time 0.005247/0.1865, allocations: 2.045 MB / 0.6893 GB, free: 6.887 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)