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.006292/0.006292, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001581/0.001581, allocations: 193.5 kB / 16.67 MB, free: 5.953 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8452/0.8452, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 64.73 kB / 0.5857 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.182, allocations: 80.93 MB / 0.6647 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001935/0.184, allocations: 0.6017 MB / 0.6653 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.186, allocations: 1.387 MB / 0.6666 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.1861, allocations: 4 kB / 0.6666 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.1861, allocations: 3.938 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.1862, allocations: 0 / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008588/0.1871, allocations: 179.5 kB / 0.6668 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1872, allocations: 51.91 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1873, allocations: 11.98 kB / 0.6669 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.1873, allocations: 19.97 kB / 0.6669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.1874, allocations: 19.92 kB / 0.6669 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1874, allocations: 4 kB / 0.6669 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.1878, allocations: 203.7 kB / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.1879, allocations: 15.86 kB / 0.6671 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.1879, allocations: 27.86 kB / 0.6671 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.1883, allocations: 191.5 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1883, allocations: 0 / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1883, allocations: 0 / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1883, allocations: 4 kB / 0.6673 GB, free: 3 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.0004939/0.1888, allocations: 434.7 kB / 0.6678 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1888, allocations: 13.11 kB / 0.6678 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.1889, allocations: 4.844 kB / 0.6678 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1891, allocations: 180.2 kB / 0.6679 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1891, allocations: 384 / 0.6679 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.1891, allocations: 4.375 kB / 0.6679 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.1893, allocations: 102 kB / 0.668 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1893, allocations: 0 / 0.668 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1893, allocations: 0 / 0.668 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1894, allocations: 4 kB / 0.668 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.1895, allocations: 63.89 kB / 0.6681 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1897, allocations: 173.7 kB / 0.6683 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1898, allocations: 74.53 kB / 0.6683 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.19, allocations: 76.83 kB / 0.6684 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.19, allocations: 0 / 0.6684 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.19, allocations: 38.5 kB / 0.6685 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.19, allocations: 0 / 0.6685 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000433/0.1905, allocations: 255.2 kB / 0.6687 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1905, allocations: 85.09 kB / 0.6688 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1907, allocations: 139.5 kB / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1907, allocations: 29.7 kB / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1908, allocations: 96.03 kB / 0.669 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1908, allocations: 11.89 kB / 0.669 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.1909, allocations: 29.7 kB / 0.6691 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.191, allocations: 318.9 kB / 0.6694 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.1912, allocations: 103.9 kB / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.1913, allocations: 99.94 kB / 0.6696 GB, free: 488 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.1916, allocations: 281.8 kB / 0.6698 GB, free: 184 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1916, allocations: 0 / 0.6698 GB, free: 184 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003769/0.192, allocations: 332.7 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/0.192, allocations: 75.38 kB / 0.6702 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.192, allocations: 0 / 0.6702 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1921, allocations: 0 / 0.6702 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1921, allocations: 4.062 kB / 0.6702 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1921, allocations: 0 / 0.6702 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1922, allocations: 15.84 kB / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1922, allocations: 3.938 kB / 0.6702 GB, free: 15.73 MB / 0.5137 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.0001463/0.1924, allocations: 147.5 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1924, allocations: 11.84 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.1925, allocations: 16.23 kB / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1925, allocations: 0 / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1925, allocations: 0 / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1925, allocations: 4 kB / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1926, allocations: 169.6 kB / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1927, allocations: 0 / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-06/0.1927, allocations: 3.938 kB / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1927, allocations: 0 / 0.6706 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1927, allocations: 8 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.1927, allocations: 0 / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1927, allocations: 3.938 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.193, allocations: 234.6 kB / 0.6708 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.1931, allocations: 84.95 kB / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1931, allocations: 4 kB / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.808e-05/0.1932, allocations: 0 / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.1933, allocations: 11.98 kB / 0.6709 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1933, allocations: 4 kB / 0.6709 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.647e-05/0.1934, allocations: 105.1 kB / 0.671 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1934, allocations: 0 / 0.671 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003146/0.1937, allocations: 64 kB / 0.6711 GB, free: 14.76 MB / 0.5137 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.0003437/0.1941, allocations: 156.6 kB / 0.6712 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.1946, allocations: 374.6 kB / 0.6716 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1946, allocations: 3.938 kB / 0.6716 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1947, allocations: 131.4 kB / 0.6717 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.1949, allocations: 8 kB / 0.6717 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.1954, allocations: 209.5 kB / 0.6719 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1958, allocations: 0.6925 MB / 0.6726 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.488e-06/0.1958, allocations: 4 kB / 0.6726 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.1958, allocations: 7.438 kB / 0.6726 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1958, allocations: 0 / 0.6726 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.005283/0.2011, allocations: 2.036 MB / 0.6746 GB, free: 11.06 MB / 0.5137 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)