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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.58/1.58, allocations: 288.4 MB / 303.7 MB, free: 8.203 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.001032/0.001032, allocations: 184.4 kB / 372.3 MB, free: 10.12 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.41/1.41, allocations: 205.4 MB / 0.631 GB, free: 9.777 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.0007629/0.0007629, allocations: 94.86 kB / 0.7444 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 13.72 kB / 0.8675 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1818, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0005836/0.1824, allocations: 347.7 kB / 0.9805 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1838, allocations: 1.379 MB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.1839, allocations: 0 / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.1839, allocations: 3.938 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.504e-05/0.184, allocations: 4 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.1844, allocations: 134.1 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.1844, allocations: 35.91 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.049e-05/0.1845, allocations: 8 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.1845, allocations: 15.98 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.1845, allocations: 31.89 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1846, allocations: 0 / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.1848, allocations: 183.7 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.1848, allocations: 12 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.1848, allocations: 45.56 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.185, allocations: 128 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.185, allocations: 3.984 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/0.185, allocations: 0 / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.105e-06/0.185, allocations: 8 kB / 0.9824 GB, free: 24.97 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.0002398/0.1852, allocations: 430.7 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.1853, allocations: 8.031 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.1853, allocations: 12.84 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.987e-05/0.1854, allocations: 172.2 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1854, allocations: 384 / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1854, allocations: 4.375 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1856, allocations: 97.95 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1856, allocations: 0 / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1856, allocations: 4 kB / 0.9831 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-06/0.1856, allocations: 0 / 0.9831 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.87e-05/0.1857, allocations: 63.89 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.374e-05/0.1858, allocations: 177.7 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.1859, allocations: 82.53 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.1859, allocations: 68.83 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.1859, allocations: 0 / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.186, allocations: 38.5 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.186, allocations: 0 / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002792/0.1862, allocations: 259.1 kB / 0.9838 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.1863, allocations: 85.11 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.1864, allocations: 147.5 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.1864, allocations: 25.7 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.1864, allocations: 92.05 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.1864, allocations: 3.906 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.1864, allocations: 4 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.1865, allocations: 326.9 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.156e-05/0.1866, allocations: 99.94 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.1867, allocations: 103.9 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.1869, allocations: 277.9 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1869, allocations: 0 / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002458/0.1871, allocations: 328.7 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.1872, allocations: 71.39 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1872, allocations: 0 / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1872, allocations: 0 / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1872, allocations: 4.062 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1872, allocations: 0 / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1873, allocations: 19.83 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1874, allocations: 11.92 kB / 0.9853 GB, free: 21.73 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 6.39e-05/0.1874, allocations: 149.1 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.1875, allocations: 11.98 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.007e-05/0.1875, allocations: 12.23 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1875, allocations: 0 / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1875, allocations: 4 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1875, allocations: 0 / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.729e-05/0.1875, allocations: 169.6 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1876, allocations: 0 / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.1876, allocations: 3.938 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.1876, allocations: 0 / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1876, allocations: 4 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1876, allocations: 0 / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1876, allocations: 3.984 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1878, allocations: 234.6 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.1878, allocations: 88.94 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1878, allocations: 4 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.1879, allocations: 4 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.1879, allocations: 11.98 kB / 0.986 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.1879, allocations: 3.938 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.188, allocations: 112.3 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.188, allocations: 0 / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002311/0.1882, allocations: 60 kB / 0.9861 GB, free: 20.77 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.0001951/0.1884, allocations: 155.2 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.1887, allocations: 370.6 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1887, allocations: 0 / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/0.1888, allocations: 143.3 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.189, allocations: 10.28 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.1892, allocations: 211.4 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.787e-05/0.1893, allocations: 0.6965 MB / 0.9877 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.235e-06/0.1893, allocations: 0 / 0.9877 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-06/0.1893, allocations: 7.438 kB / 0.9877 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1893, allocations: 0 / 0.9877 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.003268/0.1926, allocations: 1.864 MB / 0.9895 GB, free: 17.24 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)