Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001163/0.001163, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 284.1 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 90.44 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1854, allocations: 86.99 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001919/0.1874, allocations: 0.6754 MB / 0.6801 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1893, allocations: 1.42 MB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.1893, allocations: 0 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.365e-05/0.1894, allocations: 0 / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.1895, allocations: 7.984 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.19, allocations: 131.6 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.1901, allocations: 40.56 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.1902, allocations: 9.703 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.1902, allocations: 19.92 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.1903, allocations: 27.91 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1903, allocations: 0 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.1906, allocations: 187.7 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.1907, allocations: 16.84 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.1907, allocations: 27.81 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.191, allocations: 184.5 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.191, allocations: 4 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.191, allocations: 1.5 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.191, allocations: 0 / 0.6821 GB, free: 14.44 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000448/0.1915, allocations: 440.6 kB / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1916, allocations: 12.59 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.1916, allocations: 9.469 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1917, allocations: 180.2 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1918, allocations: 4.375 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1918, allocations: 4.375 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.192, allocations: 102 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.192, allocations: 3.938 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.192, allocations: 0 / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.192, allocations: 0 / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.1921, allocations: 59.95 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.1923, allocations: 173.7 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1924, allocations: 86.47 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.1925, allocations: 68.89 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.1926, allocations: 0 / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1926, allocations: 34.5 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1926, allocations: 0 / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000371/0.193, allocations: 255.2 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.193, allocations: 81.11 kB / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1931, allocations: 159.7 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1932, allocations: 29.7 kB / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.1932, allocations: 88.14 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1932, allocations: 7.891 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1933, allocations: 29.7 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.1934, allocations: 322.8 kB / 0.6842 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.1935, allocations: 99.94 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1936, allocations: 103.9 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.1939, allocations: 273.8 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1939, allocations: 8.031 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003361/0.1943, allocations: 320.8 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.1943, allocations: 75.38 kB / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1943, allocations: 0 / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1944, allocations: 0 / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1944, allocations: 3.938 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1944, allocations: 0 / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.1945, allocations: 15.84 kB / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.1946, allocations: 8 kB / 0.685 GB, free: 11.16 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001121/0.1947, allocations: 152.9 kB / 0.6852 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1947, allocations: 15.83 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.678e-05/0.1947, allocations: 8.25 kB / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1947, allocations: 0 / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1947, allocations: 0 / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1948, allocations: 0 / 0.6852 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1949, allocations: 173.6 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1949, allocations: 0 / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-06/0.1949, allocations: 3.938 kB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1949, allocations: 0 / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1949, allocations: 8 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1949, allocations: 0 / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1949, allocations: 3.938 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.1952, allocations: 230.7 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.1952, allocations: 88.94 kB / 0.6857 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1953, allocations: 4 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-05/0.1953, allocations: 3.984 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1954, allocations: 8 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1954, allocations: 8.031 kB / 0.6857 GB, free: 10.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.1955, allocations: 109.9 kB / 0.6858 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1955, allocations: 0 / 0.6858 GB, free: 10.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.1958, allocations: 63.98 kB / 0.6859 GB, free: 10.18 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: 1 (i) * Number of discrete states: 1 (i) * 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.000268/0.196, allocations: 155.2 kB / 0.686 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.1964, allocations: 370.6 kB / 0.6864 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1964, allocations: 0 / 0.6864 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1966, allocations: 139.4 kB / 0.6865 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.1967, allocations: 7.938 kB / 0.6865 GB, free: 9.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.1971, allocations: 219.3 kB / 0.6867 GB, free: 9.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.1973, allocations: 0.6887 MB / 0.6874 GB, free: 8.523 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.234e-06/0.1973, allocations: 0 / 0.6874 GB, free: 8.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-06/0.1973, allocations: 7.5 kB / 0.6874 GB, free: 8.516 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1973, allocations: 4 kB / 0.6874 GB, free: 8.512 MB / 494.1 MB Notification: Performance of Templates: time 0.004202/0.2015, allocations: 1.925 MB / 0.6893 GB, free: 6.594 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)