Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001304/0.001304, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00128/0.00128, allocations: 192.1 kB / 16.25 MB, free: 6.621 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 / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9396/0.9396, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 69.08 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1545, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001775/0.1563, allocations: 0.6738 MB / 0.5852 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1582, allocations: 1.382 MB / 0.5865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.1583, allocations: 0 / 0.5865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.359e-05/0.1583, allocations: 0 / 0.5865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.1584, allocations: 3.938 kB / 0.5865 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.159, allocations: 167.5 kB / 0.5867 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1591, allocations: 47.95 kB / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.1591, allocations: 0 / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.1592, allocations: 23.92 kB / 0.5867 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.1592, allocations: 27.91 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1593, allocations: 4 kB / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.1596, allocations: 203.7 kB / 0.587 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.1596, allocations: 11.98 kB / 0.587 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.1597, allocations: 27.81 kB / 0.587 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1599, allocations: 183.9 kB / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1599, allocations: 0 / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.16, allocations: 0 / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.16, allocations: 0 / 0.5872 GB, free: 1.562 MB / 494.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.0005737/0.1605, allocations: 442.6 kB / 0.5876 GB, free: 1.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1606, allocations: 8.031 kB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.1606, allocations: 4.938 kB / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1609, allocations: 180.2 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1609, allocations: 4.375 kB / 0.5878 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1609, allocations: 4.375 kB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1611, allocations: 109.9 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1611, allocations: 0 / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1611, allocations: 4 kB / 0.5879 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1612, allocations: 0 / 0.5879 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1613, allocations: 59.95 kB / 0.588 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.1615, allocations: 177.5 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1616, allocations: 78.53 kB / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.349e-05/0.1617, allocations: 72.89 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.1617, allocations: 4 kB / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1617, allocations: 38.44 kB / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1617, allocations: 0 / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004317/0.1622, allocations: 251.2 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.1623, allocations: 81.09 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1624, allocations: 144.1 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1624, allocations: 33.73 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1625, allocations: 92.12 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1625, allocations: 15.81 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.1626, allocations: 33.64 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.1628, allocations: 314.8 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1629, allocations: 107.9 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1631, allocations: 99.94 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.1634, allocations: 281.6 kB / 0.5897 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1634, allocations: 4.031 kB / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003673/0.1638, allocations: 320.8 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/0.1638, allocations: 71.39 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1638, allocations: 3.984 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1639, allocations: 4 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1639, allocations: 0 / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1639, allocations: 0 / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.1641, allocations: 11.84 kB / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.1641, allocations: 4 kB / 0.5901 GB, free: 14.28 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.0001226/0.1642, allocations: 155.6 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1642, allocations: 7.938 kB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.1643, allocations: 8.234 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1643, allocations: 0 / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1643, allocations: 4 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1643, allocations: 0 / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1644, allocations: 177.5 kB / 0.5904 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1644, allocations: 3.938 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-06/0.1644, allocations: 3.938 kB / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1645, allocations: 4 kB / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1645, allocations: 0 / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1645, allocations: 4 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1645, allocations: 4 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.1648, allocations: 218.7 kB / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1648, allocations: 88.95 kB / 0.5908 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1649, allocations: 0 / 0.5908 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.1649, allocations: 7.938 kB / 0.5908 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.165, allocations: 11.98 kB / 0.5908 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.165, allocations: 8.031 kB / 0.5908 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.893e-05/0.1651, allocations: 105.3 kB / 0.5909 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1651, allocations: 0 / 0.5909 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002904/0.1654, allocations: 64 kB / 0.5909 GB, free: 13.3 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.0002796/0.1657, allocations: 155.1 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004333/0.1661, allocations: 374.7 kB / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1661, allocations: 0 / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1663, allocations: 139.4 kB / 0.5916 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.1664, allocations: 8 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.1668, allocations: 229.3 kB / 0.5918 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1672, allocations: 0.6924 MB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.602e-06/0.1672, allocations: 4 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/0.1672, allocations: 7.438 kB / 0.5925 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1672, allocations: 4.062 kB / 0.5925 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.005673/0.1729, allocations: 1.989 MB / 0.5944 GB, free: 9.629 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)