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.0007756/0.0007754, allocations: 91.92 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.0008015/0.0008016, 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.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.001889, allocations: 286.4 kB / 291.4 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.000486, allocations: 18.41 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1833, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.000658/0.184, allocations: 339.2 kB / 0.6848 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1856, allocations: 1.337 MB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.1856, allocations: 4 kB / 0.6861 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.464e-05/0.1857, allocations: 0.6562 kB / 0.6861 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.1858, allocations: 0 / 0.6861 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.1863, allocations: 149 kB / 0.6863 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.1864, allocations: 27.97 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.1864, allocations: 0 / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.1865, allocations: 25.86 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.1866, allocations: 27.89 kB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1866, allocations: 4 kB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.1868, allocations: 183.7 kB / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.1869, allocations: 12 kB / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1869, allocations: 34.23 kB / 0.6866 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1871, allocations: 124 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1871, allocations: 0.5625 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1871, allocations: 0.5 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1871, allocations: 1.688 kB / 0.6867 GB, free: 13.19 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.000412/0.1876, allocations: 430.6 kB / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1876, allocations: 12.03 kB / 0.6871 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.1876, allocations: 7.906 kB / 0.6871 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1878, allocations: 175.9 kB / 0.6873 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1878, allocations: 3.984 kB / 0.6873 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1878, allocations: 4.625 kB / 0.6873 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.188, allocations: 98.3 kB / 0.6874 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.188, allocations: 3.984 kB / 0.6874 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.188, allocations: 1.594 kB / 0.6874 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.188, allocations: 0 / 0.6874 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.159e-05/0.1881, allocations: 63.89 kB / 0.6875 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.1883, allocations: 176.9 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1884, allocations: 82.56 kB / 0.6877 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.1885, allocations: 72.84 kB / 0.6878 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.1885, allocations: 0 / 0.6878 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1885, allocations: 30.56 kB / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1885, allocations: 0 / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003945/0.1889, allocations: 256.4 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.189, allocations: 81.11 kB / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1891, allocations: 148.4 kB / 0.6883 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1892, allocations: 29.7 kB / 0.6883 GB, free: 11.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1892, allocations: 92.98 kB / 0.6884 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.1893, allocations: 15.81 kB / 0.6884 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.1893, allocations: 0.625 kB / 0.6884 GB, free: 11.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1894, allocations: 320.5 kB / 0.6887 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1896, allocations: 103.9 kB / 0.6888 GB, free: 10.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1897, allocations: 99.94 kB / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1898, allocations: 167.3 kB / 0.6891 GB, free: 10.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1898, allocations: 4 kB / 0.6891 GB, free: 10.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003413/0.1902, allocations: 320.8 kB / 0.6894 GB, free: 10.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.1903, allocations: 71.39 kB / 0.6894 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1903, allocations: 3.938 kB / 0.6894 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1903, allocations: 0 / 0.6894 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1903, allocations: 3.938 kB / 0.6894 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1903, allocations: 0 / 0.6894 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1905, allocations: 15.92 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1905, allocations: 8 kB / 0.6895 GB, free: 10.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1906, allocations: 160.2 kB / 0.6896 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.1906, allocations: 7.906 kB / 0.6896 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.549e-05/0.1906, allocations: 4.25 kB / 0.6896 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1906, allocations: 0 / 0.6896 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1907, allocations: 0 / 0.6896 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1907, allocations: 0 / 0.6896 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1908, allocations: 177.6 kB / 0.6898 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1908, allocations: 0 / 0.6898 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1908, allocations: 0 / 0.6898 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1908, allocations: 4 kB / 0.6898 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1908, allocations: 4 kB / 0.6898 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1908, allocations: 0 / 0.6898 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1908, allocations: 3.984 kB / 0.6898 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1911, allocations: 230.5 kB / 0.69 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.1911, allocations: 85 kB / 0.6901 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1911, allocations: 4 kB / 0.6901 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.1912, allocations: 4 kB / 0.6901 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.1913, allocations: 16.02 kB / 0.6901 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1913, allocations: 0 / 0.6901 GB, free: 9.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.094e-05/0.1913, allocations: 113.6 kB / 0.6902 GB, free: 9.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1914, allocations: 0 / 0.6902 GB, free: 9.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.1916, allocations: 60 kB / 0.6903 GB, free: 9.109 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 (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.0002578/0.1919, allocations: 147.2 kB / 0.6904 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.1923, allocations: 370.6 kB / 0.6908 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1923, allocations: 64 / 0.6908 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1924, allocations: 147.2 kB / 0.6909 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1925, allocations: 8 kB / 0.6909 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.1929, allocations: 207.3 kB / 0.6911 GB, free: 8.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1931, allocations: 0.7044 MB / 0.6918 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.468e-06/0.1931, allocations: 0 / 0.6918 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-06/0.1931, allocations: 11.5 kB / 0.6918 GB, free: 7.434 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1931, allocations: 0 / 0.6918 GB, free: 7.434 MB / 494.1 MB Notification: Performance of Templates: time 0.003926/0.1971, allocations: 1.865 MB / 0.6937 GB, free: 5.578 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)