Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.4 MB / 303.3 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009803/0.0009802, allocations: 176.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 92.22 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 13.59 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1856, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006745/0.1864, allocations: 339.8 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1879, allocations: 1.379 MB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.188, allocations: 0 / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.766e-05/0.1881, allocations: 0 / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.1881, allocations: 7.984 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.1887, allocations: 135.8 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.1888, allocations: 35.91 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1888, allocations: 3.984 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.1889, allocations: 27.91 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.1889, allocations: 19.97 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.189, allocations: 4 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.1893, allocations: 179.8 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.1893, allocations: 11.92 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1893, allocations: 33.7 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1895, allocations: 124 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1895, allocations: 0 / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1895, allocations: 0 / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1896, allocations: 4 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB 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.0003405/0.1899, allocations: 430.5 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1899, allocations: 19.89 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.19, allocations: 30.56 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.19, allocations: 19.89 kB / 0.9824 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.467e-05/0.1901, allocations: 172.8 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1901, allocations: 4 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1902, allocations: 0 / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1903, allocations: 93.64 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1903, allocations: 0 / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1904, allocations: 4 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1904, allocations: 0 / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.1904, allocations: 59.95 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.1906, allocations: 193.5 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.218e-05/0.1907, allocations: 78.53 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.1908, allocations: 64.89 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.1908, allocations: 4 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.1908, allocations: 30.56 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1908, allocations: 0 / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003247/0.1911, allocations: 259.1 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1912, allocations: 89.12 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.1913, allocations: 145.9 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1913, allocations: 25.7 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.1914, allocations: 92.14 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1914, allocations: 11.81 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.1914, allocations: 0 / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.1915, allocations: 326.8 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.1916, allocations: 99.94 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.1917, allocations: 103.9 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1918, allocations: 167.3 kB / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1918, allocations: 0 / 0.9843 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002737/0.1921, allocations: 320.8 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.1921, allocations: 80.56 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1922, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1922, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.1922, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1922, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1924, allocations: 15.84 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1924, allocations: 4.031 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB 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 8.469e-05/0.1925, allocations: 155.5 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.1925, allocations: 7.906 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.1925, allocations: 12.23 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1925, allocations: 0 / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1925, allocations: 0 / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1925, allocations: 3.938 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.62e-05/0.1926, allocations: 177.6 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1926, allocations: 0 / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.1926, allocations: 0 / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1927, allocations: 4 kB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1927, allocations: 4 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1927, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1927, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1929, allocations: 230.6 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.1929, allocations: 81.06 kB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.193, allocations: 4 kB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.66e-05/0.193, allocations: 8.031 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.1931, allocations: 15.98 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.1931, allocations: 0 / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.1932, allocations: 104.3 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1932, allocations: 4 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002827/0.1935, allocations: 68 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB 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.0005311/0.194, allocations: 0.817 MB / 0.9863 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.1943, allocations: 366.6 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1943, allocations: 0 / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/0.1944, allocations: 139.3 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1946, allocations: 4 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1956, allocations: 1.011 MB / 0.9878 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.1958, allocations: 0.6965 MB / 0.9885 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.101e-06/0.1958, allocations: 0 / 0.9885 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.1958, allocations: 23.42 kB / 0.9885 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.1958, allocations: 0 / 0.9885 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.209, allocations: 2.942 MB / 0.9914 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/0.2092, allocations: 202.2 kB / 0.9916 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.871, allocations: 3.375 kB / 0.9916 GB, free: 14.91 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)