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.001233/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001639/0.001639, allocations: 197.8 kB / 16.14 MB, free: 6.695 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.816/0.816, allocations: 132.2 MB / 422.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 60.03 kB / 0.5011 GB, free: 9.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1853, allocations: 80.21 MB / 0.5794 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001934/0.1872, allocations: 0.6689 MB / 0.5801 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1891, allocations: 1.421 MB / 0.5815 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.1891, allocations: 4 kB / 0.5815 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.585e-05/0.1892, allocations: 7.938 kB / 0.5815 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.1893, allocations: 3.984 kB / 0.5815 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.1898, allocations: 130.3 kB / 0.5816 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.1899, allocations: 47.81 kB / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.1899, allocations: 4 kB / 0.5817 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.19, allocations: 15.98 kB / 0.5817 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.19, allocations: 27.91 kB / 0.5817 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1901, allocations: 8 kB / 0.5817 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.1904, allocations: 187.8 kB / 0.5819 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.1904, allocations: 15.91 kB / 0.5819 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1905, allocations: 23.86 kB / 0.5819 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1907, allocations: 183.6 kB / 0.5821 GB, free: 6.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1908, allocations: 3.984 kB / 0.5821 GB, free: 6.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1908, allocations: 0 / 0.5821 GB, free: 6.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1908, allocations: 0 / 0.5821 GB, free: 6.418 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.0004551/0.1912, allocations: 438.9 kB / 0.5825 GB, free: 5.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1913, allocations: 12.03 kB / 0.5825 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.1913, allocations: 8.938 kB / 0.5826 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1914, allocations: 172.2 kB / 0.5827 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1915, allocations: 8.312 kB / 0.5827 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1915, allocations: 384 / 0.5827 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1917, allocations: 97.95 kB / 0.5828 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1917, allocations: 0 / 0.5828 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1917, allocations: 4 kB / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1917, allocations: 0 / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.1918, allocations: 71.86 kB / 0.5829 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.192, allocations: 173.6 kB / 0.5831 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1921, allocations: 86.47 kB / 0.5831 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.1922, allocations: 64.89 kB / 0.5832 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1922, allocations: 0 / 0.5832 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1922, allocations: 46.48 kB / 0.5832 GB, free: 5.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1922, allocations: 0 / 0.5832 GB, free: 5.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003835/0.1926, allocations: 251.2 kB / 0.5835 GB, free: 4.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.1927, allocations: 81.14 kB / 0.5836 GB, free: 4.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1928, allocations: 144.5 kB / 0.5837 GB, free: 4.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1928, allocations: 25.7 kB / 0.5837 GB, free: 4.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.1929, allocations: 96.12 kB / 0.5838 GB, free: 4.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1929, allocations: 23.67 kB / 0.5838 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.193, allocations: 29.66 kB / 0.5839 GB, free: 4.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1931, allocations: 318.8 kB / 0.5842 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1932, allocations: 103.9 kB / 0.5843 GB, free: 3.973 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1934, allocations: 107.9 kB / 0.5844 GB, free: 3.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1936, allocations: 269.9 kB / 0.5846 GB, free: 3.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1936, allocations: 0 / 0.5846 GB, free: 3.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003298/0.194, allocations: 324.7 kB / 0.5849 GB, free: 3.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/0.194, allocations: 71.39 kB / 0.585 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.194, allocations: 0 / 0.585 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1941, allocations: 4 kB / 0.585 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.1941, allocations: 0 / 0.585 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1941, allocations: 4 kB / 0.585 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.1942, allocations: 19.84 kB / 0.585 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1943, allocations: 7.984 kB / 0.585 GB, free: 3.129 MB / 494.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.0001191/0.1944, allocations: 151.5 kB / 0.5852 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.1944, allocations: 7.938 kB / 0.5852 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.485e-05/0.1944, allocations: 4.25 kB / 0.5852 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1944, allocations: 0 / 0.5852 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.1945, allocations: 4 kB / 0.5852 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1945, allocations: 0 / 0.5852 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1946, allocations: 173.5 kB / 0.5854 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1946, allocations: 8 kB / 0.5854 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-06/0.1946, allocations: 3.938 kB / 0.5854 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1946, allocations: 3.938 kB / 0.5854 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1946, allocations: 0 / 0.5854 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1946, allocations: 0 / 0.5854 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1946, allocations: 4 kB / 0.5854 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.1949, allocations: 218.7 kB / 0.5856 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.195, allocations: 88.95 kB / 0.5857 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.195, allocations: 32 / 0.5857 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.852e-05/0.195, allocations: 11.98 kB / 0.5857 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.1951, allocations: 11.94 kB / 0.5857 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1951, allocations: 7.984 kB / 0.5857 GB, free: 2.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.701e-05/0.1952, allocations: 99.27 kB / 0.5858 GB, free: 2.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1952, allocations: 0 / 0.5858 GB, free: 2.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1955, allocations: 71.98 kB / 0.5859 GB, free: 2.16 MB / 494.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.0002791/0.1958, allocations: 143.2 kB / 0.586 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.1962, allocations: 378.6 kB / 0.5864 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1962, allocations: 0 / 0.5864 GB, free: 1.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1963, allocations: 139.3 kB / 0.5865 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1965, allocations: 11.88 kB / 0.5865 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.1968, allocations: 223.2 kB / 0.5867 GB, free: 1.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1971, allocations: 0.6966 MB / 0.5874 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.071e-06/0.1971, allocations: 0 / 0.5874 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-06/0.1971, allocations: 7.438 kB / 0.5874 GB, free: 488 kB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1971, allocations: 0 / 0.5874 GB, free: 488 kB / 494.1 MB Notification: Performance of Templates: time 0.004582/0.2017, allocations: 1.919 MB / 0.5893 GB, free: 14.57 MB / 0.4981 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)