Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009802/0.0009803, allocations: 98.73 kB / 16.02 MB, free: 80 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.001036/0.001037, allocations: 178.2 kB / 16.92 MB, free: 6.922 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.442/1.442, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.799/0.799, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.000318, allocations: 13.09 kB / 495.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1824, allocations: 77.54 MB / 0.56 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008679/0.1833, allocations: 342.3 kB / 0.5603 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1857, allocations: 1.4 MB / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1858, allocations: 0 / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.321e-05/0.1858, allocations: 4 kB / 0.5617 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.1859, allocations: 0 / 0.5617 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.1866, allocations: 135.8 kB / 0.5618 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.1867, allocations: 47.91 kB / 0.5618 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.1868, allocations: 0 / 0.5618 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.1868, allocations: 23.92 kB / 0.5619 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.1869, allocations: 23.91 kB / 0.5619 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.187, allocations: 4 kB / 0.5619 GB, free: 7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004146/0.1874, allocations: 191.7 kB / 0.5621 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.1875, allocations: 11.98 kB / 0.5621 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1875, allocations: 49.52 kB / 0.5621 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1878, allocations: 187.6 kB / 0.5623 GB, free: 6.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1879, allocations: 0 / 0.5623 GB, free: 6.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1879, allocations: 0 / 0.5623 GB, free: 6.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1879, allocations: 0 / 0.5623 GB, free: 6.562 MB / 430.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.0005028/0.1884, allocations: 431 kB / 0.5627 GB, free: 6.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1884, allocations: 8.031 kB / 0.5627 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.1885, allocations: 12.78 kB / 0.5627 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.1887, allocations: 182.7 kB / 0.5629 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1887, allocations: 4.375 kB / 0.5629 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1887, allocations: 384 / 0.5629 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1889, allocations: 105.9 kB / 0.563 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1889, allocations: 0 / 0.563 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1889, allocations: 4 kB / 0.563 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1889, allocations: 0 / 0.563 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1891, allocations: 59.95 kB / 0.5631 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.1894, allocations: 173.7 kB / 0.5633 GB, free: 5.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1895, allocations: 82.47 kB / 0.5633 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.1896, allocations: 72.89 kB / 0.5634 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.1896, allocations: 4 kB / 0.5634 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1897, allocations: 34.5 kB / 0.5634 GB, free: 5.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1897, allocations: 0 / 0.5634 GB, free: 5.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006619/0.1903, allocations: 251.2 kB / 0.5637 GB, free: 4.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.1904, allocations: 85.05 kB / 0.5638 GB, free: 4.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1906, allocations: 141.8 kB / 0.5639 GB, free: 4.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1906, allocations: 29.7 kB / 0.5639 GB, free: 4.699 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.1907, allocations: 96.06 kB / 0.564 GB, free: 4.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1907, allocations: 11.84 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.1908, allocations: 17.72 kB / 0.564 GB, free: 4.566 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003421/0.1911, allocations: 326.8 kB / 0.5644 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1913, allocations: 99.94 kB / 0.5644 GB, free: 4.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.1915, allocations: 103.9 kB / 0.5645 GB, free: 4.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.1919, allocations: 281.7 kB / 0.5648 GB, free: 3.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.1919, allocations: 0 / 0.5648 GB, free: 3.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004617/0.1924, allocations: 324.7 kB / 0.5651 GB, free: 3.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.1925, allocations: 75.45 kB / 0.5652 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1925, allocations: 0 / 0.5652 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1925, allocations: 0 / 0.5652 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.1925, allocations: 4 kB / 0.5652 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1925, allocations: 0 / 0.5652 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.1927, allocations: 19.83 kB / 0.5652 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.1928, allocations: 4 kB / 0.5652 GB, free: 3.297 MB / 430.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.0001328/0.1929, allocations: 151.5 kB / 0.5654 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.1929, allocations: 11.84 kB / 0.5654 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.193, allocations: 8.25 kB / 0.5654 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.193, allocations: 0 / 0.5654 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.193, allocations: 0 / 0.5654 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.193, allocations: 144 / 0.5654 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1931, allocations: 173.6 kB / 0.5656 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1931, allocations: 0 / 0.5656 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-06/0.1931, allocations: 7.922 kB / 0.5656 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1932, allocations: 4 kB / 0.5656 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1932, allocations: 0 / 0.5656 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1932, allocations: 7.922 kB / 0.5656 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1932, allocations: 0 / 0.5656 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.1935, allocations: 230.6 kB / 0.5658 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1936, allocations: 92.94 kB / 0.5659 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1936, allocations: 0 / 0.5659 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.1937, allocations: 4 kB / 0.5659 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.1938, allocations: 11.98 kB / 0.5659 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1938, allocations: 4 kB / 0.5659 GB, free: 2.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1939, allocations: 109.5 kB / 0.566 GB, free: 2.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1939, allocations: 0 / 0.566 GB, free: 2.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.1943, allocations: 68 kB / 0.5661 GB, free: 2.32 MB / 430.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.0003816/0.1947, allocations: 151.1 kB / 0.5662 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1952, allocations: 370.7 kB / 0.5666 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1952, allocations: 0 / 0.5666 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.1955, allocations: 135.3 kB / 0.5667 GB, free: 1.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.1957, allocations: 15.88 kB / 0.5667 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.1963, allocations: 215.5 kB / 0.5669 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.197, allocations: 0.6926 MB / 0.5676 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.387e-06/0.1971, allocations: 0 / 0.5676 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.1971, allocations: 7.438 kB / 0.5676 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1971, allocations: 4 kB / 0.5676 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of Templates: time 0.006845/0.2039, allocations: 1.911 MB / 0.5695 GB, free: 14.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)