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.001235/0.001235, allocations: 106.4 kB / 16.41 MB, free: 6.492 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.001289/0.00129, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7772/0.7772, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 68.75 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1768, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001781/0.1786, allocations: 0.5992 MB / 0.661 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1805, allocations: 1.391 MB / 0.6623 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.1805, allocations: 4 kB / 0.6623 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.318e-05/0.1806, allocations: 7.922 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.1807, allocations: 4 kB / 0.6623 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.1814, allocations: 171.6 kB / 0.6625 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1815, allocations: 55.83 kB / 0.6626 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.1816, allocations: 4 kB / 0.6626 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.1816, allocations: 15.98 kB / 0.6626 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.1817, allocations: 31.91 kB / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1817, allocations: 0 / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.1821, allocations: 207.7 kB / 0.6628 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.1821, allocations: 11.94 kB / 0.6628 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.1822, allocations: 23.86 kB / 0.6628 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.1825, allocations: 191.5 kB / 0.663 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1825, allocations: 0 / 0.663 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1825, allocations: 0 / 0.663 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1825, allocations: 0 / 0.663 GB, free: 7.516 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.0004836/0.183, allocations: 442.7 kB / 0.6634 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.183, allocations: 8.031 kB / 0.6635 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.1831, allocations: 8.844 kB / 0.6635 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1832, allocations: 177.9 kB / 0.6636 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1832, allocations: 384 / 0.6636 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1833, allocations: 4.375 kB / 0.6636 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1835, allocations: 101.9 kB / 0.6637 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1835, allocations: 0 / 0.6637 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1835, allocations: 0 / 0.6637 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.1835, allocations: 4 kB / 0.6637 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.1836, allocations: 63.95 kB / 0.6638 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1838, allocations: 177.6 kB / 0.664 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1839, allocations: 86.47 kB / 0.664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.184, allocations: 68.88 kB / 0.6641 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.184, allocations: 0 / 0.6641 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.184, allocations: 42.5 kB / 0.6642 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1841, allocations: 4 kB / 0.6642 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003816/0.1844, allocations: 247.1 kB / 0.6644 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1845, allocations: 85.11 kB / 0.6645 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1846, allocations: 151.7 kB / 0.6646 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1847, allocations: 25.7 kB / 0.6646 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1847, allocations: 92.12 kB / 0.6647 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.1847, allocations: 7.906 kB / 0.6647 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.1848, allocations: 25.72 kB / 0.6648 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1849, allocations: 322.9 kB / 0.6651 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.185, allocations: 99.94 kB / 0.6652 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1852, allocations: 103.9 kB / 0.6653 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.1854, allocations: 284 kB / 0.6655 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1854, allocations: 0 / 0.6655 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003403/0.1858, allocations: 324.7 kB / 0.6658 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.1859, allocations: 67.39 kB / 0.6659 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1859, allocations: 0 / 0.6659 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1859, allocations: 0 / 0.6659 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1859, allocations: 0 / 0.6659 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1859, allocations: 8.062 kB / 0.6659 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.186, allocations: 15.83 kB / 0.6659 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1861, allocations: 8 kB / 0.6659 GB, free: 4.238 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.0001076/0.1862, allocations: 147.5 kB / 0.6661 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.1862, allocations: 11.84 kB / 0.6661 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.577e-05/0.1862, allocations: 4.25 kB / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1862, allocations: 0 / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1862, allocations: 0 / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1862, allocations: 0 / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1864, allocations: 177.6 kB / 0.6663 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1864, allocations: 0 / 0.6663 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.1864, allocations: 3.938 kB / 0.6663 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.1864, allocations: 4 kB / 0.6663 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1864, allocations: 3.938 kB / 0.6663 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1864, allocations: 3.984 kB / 0.6663 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1864, allocations: 0 / 0.6663 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1867, allocations: 234.7 kB / 0.6665 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.1868, allocations: 96.97 kB / 0.6666 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1868, allocations: 0 / 0.6666 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.1868, allocations: 7.938 kB / 0.6666 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.1869, allocations: 11.98 kB / 0.6666 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1869, allocations: 0 / 0.6666 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.187, allocations: 111.2 kB / 0.6667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.187, allocations: 0 / 0.6667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002961/0.1873, allocations: 60 kB / 0.6668 GB, free: 3.262 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.0002853/0.1876, allocations: 159.2 kB / 0.6669 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.188, allocations: 370.7 kB / 0.6673 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.188, allocations: 0 / 0.6673 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1882, allocations: 139.3 kB / 0.6674 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.1883, allocations: 1.875 kB / 0.6674 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.1887, allocations: 243.2 kB / 0.6677 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.189, allocations: 0.6885 MB / 0.6683 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.189, allocations: 7.562 kB / 0.6683 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.189, allocations: 4 kB / 0.6683 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of Templates: time 0.003733/0.1928, allocations: 1.662 MB / 0.67 GB, free: 15.9 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)