Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.007121/0.007121, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001202/0.001202, allocations: 196.3 kB / 16.67 MB, free: 5.52 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8643/0.8643, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 66.56 kB / 0.5814 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1801, allocations: 80.21 MB / 0.6597 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001754/0.1819, allocations: 0.5981 MB / 0.6603 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1838, allocations: 1.391 MB / 0.6617 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.1838, allocations: 0 / 0.6617 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.009e-05/0.1839, allocations: 7.922 kB / 0.6617 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.184, allocations: 4 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.1849, allocations: 179 kB / 0.6618 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1851, allocations: 59.84 kB / 0.6619 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.1852, allocations: 0 / 0.6619 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.1852, allocations: 15.98 kB / 0.6619 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.1853, allocations: 31.89 kB / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1853, allocations: 0 / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.1858, allocations: 203.7 kB / 0.6621 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.1859, allocations: 11.94 kB / 0.6622 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.186, allocations: 31.84 kB / 0.6622 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.1864, allocations: 187.5 kB / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1864, allocations: 0 / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.1864, allocations: 0 / 0.6624 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.1864, allocations: 4 kB / 0.6624 GB, free: 7.465 MB / 0.4981 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.0006483/0.1871, allocations: 434.7 kB / 0.6628 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1871, allocations: 8.031 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1872, allocations: 8.844 kB / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.1874, allocations: 176.2 kB / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1874, allocations: 8.359 kB / 0.663 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1874, allocations: 384 / 0.663 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.1876, allocations: 101.9 kB / 0.6631 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1876, allocations: 0 / 0.6631 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1877, allocations: 4 kB / 0.6631 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1877, allocations: 4 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1878, allocations: 63.95 kB / 0.6631 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.188, allocations: 169.6 kB / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1881, allocations: 86.5 kB / 0.6634 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.463e-05/0.1882, allocations: 68.84 kB / 0.6634 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.1882, allocations: 0 / 0.6634 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.1883, allocations: 42.5 kB / 0.6635 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1883, allocations: 0 / 0.6635 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0004542/0.1888, allocations: 251.2 kB / 0.6637 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1888, allocations: 77.11 kB / 0.6638 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1889, allocations: 155.6 kB / 0.664 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.189, allocations: 25.7 kB / 0.664 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.189, allocations: 92.12 kB / 0.6641 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.1891, allocations: 15.84 kB / 0.6641 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.1891, allocations: 29.75 kB / 0.6641 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1893, allocations: 314.8 kB / 0.6644 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1894, allocations: 99.94 kB / 0.6645 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1895, allocations: 107.9 kB / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.1898, allocations: 277.8 kB / 0.6649 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1898, allocations: 0 / 0.6649 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000338/0.1901, allocations: 320.8 kB / 0.6652 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.1902, allocations: 71.39 kB / 0.6652 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1902, allocations: 0 / 0.6652 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1902, allocations: 4.062 kB / 0.6652 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.1902, allocations: 7.938 kB / 0.6653 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1902, allocations: 3.984 kB / 0.6653 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1904, allocations: 15.83 kB / 0.6653 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1904, allocations: 4 kB / 0.6653 GB, free: 4.191 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.1906, allocations: 147.5 kB / 0.6654 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1906, allocations: 11.84 kB / 0.6654 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.1906, allocations: 8.25 kB / 0.6654 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1906, allocations: 0 / 0.6654 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1906, allocations: 4 kB / 0.6654 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1906, allocations: 4 kB / 0.6654 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.1908, allocations: 173.6 kB / 0.6656 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1908, allocations: 0 / 0.6656 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-06/0.1908, allocations: 7.938 kB / 0.6656 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1908, allocations: 0 / 0.6656 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1908, allocations: 7.922 kB / 0.6656 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1908, allocations: 0 / 0.6656 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1908, allocations: 0 / 0.6656 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.1911, allocations: 234.6 kB / 0.6658 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1911, allocations: 92.94 kB / 0.6659 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1912, allocations: 0 / 0.6659 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.1912, allocations: 4 kB / 0.6659 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.1913, allocations: 8.125 kB / 0.6659 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1913, allocations: 4 kB / 0.666 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.77e-05/0.1914, allocations: 109.1 kB / 0.6661 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1914, allocations: 0 / 0.6661 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003091/0.1917, allocations: 60 kB / 0.6661 GB, free: 3.219 MB / 0.4981 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 (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.0003314/0.1921, allocations: 155.2 kB / 0.6663 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.1925, allocations: 374.6 kB / 0.6666 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1925, allocations: 0 / 0.6666 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1927, allocations: 135.3 kB / 0.6667 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.1929, allocations: 14.88 kB / 0.6668 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.1933, allocations: 213.4 kB / 0.667 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1936, allocations: 0.6964 MB / 0.6676 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.131e-06/0.1936, allocations: 0 / 0.6676 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-06/0.1936, allocations: 7.438 kB / 0.6677 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1936, allocations: 0 / 0.6677 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.005283/0.1989, allocations: 2.028 MB / 0.6696 GB, free: 15.52 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)