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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 213 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8899/0.8899, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 61.75 kB / 0.6186 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1828, allocations: 85.91 MB / 0.7025 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002068/0.1849, allocations: 0.6211 MB / 0.7031 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.187, allocations: 1.447 MB / 0.7045 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.187, allocations: 0 / 0.7045 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.516e-05/0.1871, allocations: 0 / 0.7045 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.1871, allocations: 15.92 kB / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.1878, allocations: 180.9 kB / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1879, allocations: 47.95 kB / 0.7047 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.188, allocations: 288 / 0.7047 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.188, allocations: 23.92 kB / 0.7048 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.1881, allocations: 27.89 kB / 0.7048 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1881, allocations: 7.938 kB / 0.7048 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.1885, allocations: 223.7 kB / 0.705 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.1886, allocations: 11.98 kB / 0.705 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.1886, allocations: 31.8 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.189, allocations: 187.4 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.189, allocations: 3.984 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.189, allocations: 0 / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.189, allocations: 0 / 0.7052 GB, free: 14.55 MB / 0.5294 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.0004998/0.1895, allocations: 369.2 kB / 0.7056 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1895, allocations: 12.03 kB / 0.7056 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.1896, allocations: 34.75 kB / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.1896, allocations: 8.891 kB / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.1897, allocations: 108.6 kB / 0.7057 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1897, allocations: 4.375 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1897, allocations: 4.312 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1899, allocations: 97.77 kB / 0.7058 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.19, allocations: 0 / 0.7058 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.19, allocations: 0 / 0.7058 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.19, allocations: 4 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.1901, allocations: 63.94 kB / 0.7059 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1902, allocations: 152.7 kB / 0.706 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1903, allocations: 82.53 kB / 0.7061 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.1904, allocations: 72.81 kB / 0.7062 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1904, allocations: 0 / 0.7062 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.1905, allocations: 38.48 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.1905, allocations: 0 / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004179/0.1909, allocations: 251.2 kB / 0.7065 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.191, allocations: 81.14 kB / 0.7065 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1911, allocations: 141.8 kB / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1911, allocations: 29.7 kB / 0.7067 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1912, allocations: 92.08 kB / 0.7068 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1912, allocations: 19.88 kB / 0.7068 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.1913, allocations: 25.72 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1914, allocations: 326.8 kB / 0.7072 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1915, allocations: 107.9 kB / 0.7073 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1917, allocations: 107.9 kB / 0.7074 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.192, allocations: 273.1 kB / 0.7076 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.192, allocations: 0 / 0.7076 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003763/0.1923, allocations: 324.8 kB / 0.7079 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.892e-05/0.1924, allocations: 73.58 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1924, allocations: 4 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1924, allocations: 0 / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1924, allocations: 0 / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1924, allocations: 0 / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.1926, allocations: 12.02 kB / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1926, allocations: 7.984 kB / 0.708 GB, free: 11.43 MB / 0.5294 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.000127/0.1928, allocations: 155.5 kB / 0.7082 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.1928, allocations: 11.89 kB / 0.7082 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.521e-05/0.1928, allocations: 4.344 kB / 0.7082 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1928, allocations: 4 kB / 0.7082 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.1928, allocations: 0 / 0.7082 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.1928, allocations: 0 / 0.7082 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1929, allocations: 144.7 kB / 0.7083 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1929, allocations: 11.94 kB / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1929, allocations: 0 / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1929, allocations: 0 / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1929, allocations: 4 kB / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1929, allocations: 0 / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1929, allocations: 0 / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1932, allocations: 222.7 kB / 0.7086 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.1932, allocations: 19.83 kB / 0.7086 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1933, allocations: 4 kB / 0.7086 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.1933, allocations: 8.016 kB / 0.7086 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.1934, allocations: 8 kB / 0.7086 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1934, allocations: 7.938 kB / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.662e-05/0.1935, allocations: 103.2 kB / 0.7087 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1935, allocations: 0 / 0.7087 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003282/0.1938, allocations: 67.92 kB / 0.7088 GB, free: 10.58 MB / 0.5294 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.0007796/0.1946, allocations: 0.813 MB / 0.7096 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.195, allocations: 330.6 kB / 0.7099 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.195, allocations: 0 / 0.7099 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1951, allocations: 127.3 kB / 0.71 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.1953, allocations: 14.11 kB / 0.71 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.1976, allocations: 2.125 MB / 0.7121 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1979, allocations: 0.6963 MB / 0.7128 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.823e-06/0.1979, allocations: 4.031 kB / 0.7128 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.198, allocations: 15.58 kB / 0.7128 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.198, allocations: 0 / 0.7128 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.2286, allocations: 3.427 MB / 0.7161 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.98, allocations: 5.891 kB / 0.7161 GB, free: 2.984 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Functions_Examples_CubicHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.755022994002502] Failed to read output from testmodel.py, exit status != 0: 11.081722746996093 11.097985226 10.905874362 Calling exit ...