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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7705/0.7705, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.86 kB / 0.5019 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1891, allocations: 80.21 MB / 0.5802 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002111/0.1913, allocations: 0.6052 MB / 0.5808 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.1933, allocations: 1.382 MB / 0.5821 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.1933, allocations: 4 kB / 0.5821 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.856e-05/0.1934, allocations: 3.984 kB / 0.5822 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.1935, allocations: 3.938 kB / 0.5822 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000775/0.1943, allocations: 186 kB / 0.5823 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1944, allocations: 39.97 kB / 0.5824 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/0.1945, allocations: 11.94 kB / 0.5824 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.1945, allocations: 23.91 kB / 0.5824 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.1946, allocations: 27.91 kB / 0.5824 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1946, allocations: 4 kB / 0.5824 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.195, allocations: 191.7 kB / 0.5826 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.1951, allocations: 11.98 kB / 0.5826 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.1951, allocations: 31.78 kB / 0.5827 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1955, allocations: 183.8 kB / 0.5828 GB, free: 5.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1955, allocations: 0 / 0.5828 GB, free: 5.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1955, allocations: 0 / 0.5828 GB, free: 5.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1955, allocations: 0 / 0.5828 GB, free: 5.918 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.0005153/0.196, allocations: 450.6 kB / 0.5833 GB, free: 5.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1961, allocations: 8.031 kB / 0.5833 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.1961, allocations: 38.75 kB / 0.5833 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1962, allocations: 4.938 kB / 0.5833 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1963, allocations: 174.4 kB / 0.5835 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1963, allocations: 4.312 kB / 0.5835 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1964, allocations: 4.375 kB / 0.5835 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1965, allocations: 97.77 kB / 0.5836 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1966, allocations: 0 / 0.5836 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1966, allocations: 4 kB / 0.5836 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1966, allocations: 0 / 0.5836 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1967, allocations: 59.95 kB / 0.5836 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.1969, allocations: 177.6 kB / 0.5838 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.197, allocations: 82.47 kB / 0.5839 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.1971, allocations: 68.89 kB / 0.584 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.1971, allocations: 0 / 0.584 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1971, allocations: 38.5 kB / 0.584 GB, free: 4.551 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1972, allocations: 0 / 0.584 GB, free: 4.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004165/0.1976, allocations: 255.2 kB / 0.5842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.1976, allocations: 81.11 kB / 0.5843 GB, free: 4.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1978, allocations: 145.8 kB / 0.5845 GB, free: 4.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1978, allocations: 25.7 kB / 0.5845 GB, free: 4.008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.1979, allocations: 92.14 kB / 0.5846 GB, free: 3.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.1979, allocations: 7.812 kB / 0.5846 GB, free: 3.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.198, allocations: 37.67 kB / 0.5846 GB, free: 3.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1981, allocations: 330.7 kB / 0.5849 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1983, allocations: 99.94 kB / 0.585 GB, free: 3.434 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1984, allocations: 103.9 kB / 0.5851 GB, free: 3.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1987, allocations: 269.9 kB / 0.5854 GB, free: 3.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1987, allocations: 0 / 0.5854 GB, free: 3.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003627/0.1991, allocations: 328.7 kB / 0.5857 GB, free: 2.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.1992, allocations: 73.27 kB / 0.5858 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1992, allocations: 0 / 0.5858 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1992, allocations: 4.062 kB / 0.5858 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.1992, allocations: 144 / 0.5858 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1992, allocations: 0 / 0.5858 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.1995, allocations: 19.84 kB / 0.5858 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1995, allocations: 7.938 kB / 0.5858 GB, free: 2.594 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.0001435/0.1996, allocations: 151.5 kB / 0.5859 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1997, allocations: 11.92 kB / 0.5859 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.1997, allocations: 8.25 kB / 0.586 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1997, allocations: 0 / 0.586 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1997, allocations: 4 kB / 0.586 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1997, allocations: 0 / 0.586 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1998, allocations: 181.5 kB / 0.5861 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.1999, allocations: 3.938 kB / 0.5861 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.1999, allocations: 0 / 0.5861 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1999, allocations: 0 / 0.5861 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1999, allocations: 4 kB / 0.5861 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1999, allocations: 3.984 kB / 0.5861 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1999, allocations: 0 / 0.5861 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.2002, allocations: 226.7 kB / 0.5864 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2002, allocations: 84.95 kB / 0.5864 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.2002, allocations: 4 kB / 0.5864 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/0.2003, allocations: 3.984 kB / 0.5864 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.2004, allocations: 11.94 kB / 0.5865 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2004, allocations: 4 kB / 0.5865 GB, free: 1.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.57e-05/0.2005, allocations: 107.2 kB / 0.5866 GB, free: 1.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2005, allocations: 0 / 0.5866 GB, free: 1.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.2008, allocations: 63.98 kB / 0.5866 GB, free: 1.621 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.0007266/0.2015, allocations: 0.8092 MB / 0.5874 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.2019, allocations: 374.6 kB / 0.5878 GB, free: 392 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2019, allocations: 3.938 kB / 0.5878 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.2021, allocations: 131.5 kB / 0.5879 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.2023, allocations: 21.86 kB / 0.5879 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.2044, allocations: 2.13 MB / 0.59 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.2047, allocations: 0.6885 MB / 0.5907 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.694e-06/0.2047, allocations: 0 / 0.5907 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.2048, allocations: 27.42 kB / 0.5907 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.2048, allocations: 0 / 0.5907 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.2239, allocations: 3.257 MB / 0.5939 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.4, allocations: 8.516 kB / 0.5939 GB, free: 10.09 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)