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.001255/0.001255, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001487/0.001487, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.809 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.8433/0.8433, allocations: 134 MB / 446.4 MB, free: 9.996 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.001998/0.001998, allocations: 63.45 kB / 0.6185 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1859, allocations: 85.92 MB / 0.7024 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001916/0.1878, allocations: 0.5993 MB / 0.703 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1899, allocations: 1.385 MB / 0.7044 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.1899, allocations: 0 / 0.7044 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.19, allocations: 0 / 0.7044 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.19, allocations: 7.938 kB / 0.7044 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.1907, allocations: 182.7 kB / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.1908, allocations: 47.94 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.1908, allocations: 288 / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.745e-05/0.1909, allocations: 27.86 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.1909, allocations: 19.97 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.191, allocations: 4 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.1913, allocations: 215.6 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.1914, allocations: 12 kB / 0.7049 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.1914, allocations: 23.86 kB / 0.7049 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1917, allocations: 191.4 kB / 0.7051 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1917, allocations: 0 / 0.7051 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1917, allocations: 0 / 0.7051 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1918, allocations: 0 / 0.7051 GB, free: 14.32 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.0004904/0.1922, allocations: 373.2 kB / 0.7054 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1923, allocations: 12.03 kB / 0.7054 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.1923, allocations: 30.75 kB / 0.7055 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.1924, allocations: 8.891 kB / 0.7055 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1925, allocations: 118.5 kB / 0.7056 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1925, allocations: 8.375 kB / 0.7056 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1925, allocations: 4.375 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.1927, allocations: 131.5 kB / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1927, allocations: 3.938 kB / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1928, allocations: 0 / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1928, allocations: 0 / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.1929, allocations: 89.66 kB / 0.7058 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1931, allocations: 156.7 kB / 0.706 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1932, allocations: 100.2 kB / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1933, allocations: 98.53 kB / 0.7061 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.1933, allocations: 4 kB / 0.7062 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.1934, allocations: 38.5 kB / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1934, allocations: 0 / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004696/0.1938, allocations: 314.5 kB / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.1939, allocations: 89.09 kB / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1941, allocations: 140.3 kB / 0.7067 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1941, allocations: 25.7 kB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.1942, allocations: 96.08 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.1942, allocations: 7.891 kB / 0.7068 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.1942, allocations: 29.7 kB / 0.7069 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1944, allocations: 318.8 kB / 0.7072 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1946, allocations: 171.4 kB / 0.7073 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.1948, allocations: 175.3 kB / 0.7075 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.1951, allocations: 289.8 kB / 0.7078 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1951, allocations: 0 / 0.7078 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004531/0.1956, allocations: 399.9 kB / 0.7082 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.576e-05/0.1956, allocations: 71.39 kB / 0.7082 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1957, allocations: 3.938 kB / 0.7082 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1957, allocations: 0 / 0.7082 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1957, allocations: 0 / 0.7082 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1957, allocations: 3.984 kB / 0.7082 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.1958, allocations: 16.02 kB / 0.7082 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1958, allocations: 4 kB / 0.7082 GB, free: 10.73 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.0001397/0.196, allocations: 145.5 kB / 0.7084 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.196, allocations: 11.89 kB / 0.7084 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.196, allocations: 8.344 kB / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.196, allocations: 3.984 kB / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.196, allocations: 0 / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.196, allocations: 0 / 0.7084 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.1962, allocations: 136.8 kB / 0.7085 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1962, allocations: 3.938 kB / 0.7085 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-06/0.1962, allocations: 11.92 kB / 0.7086 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1962, allocations: 0 / 0.7086 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1962, allocations: 4 kB / 0.7086 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1962, allocations: 0 / 0.7086 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1962, allocations: 3.938 kB / 0.7086 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1965, allocations: 256.5 kB / 0.7088 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.1965, allocations: 27.81 kB / 0.7088 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1966, allocations: 4 kB / 0.7088 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.1966, allocations: 0 / 0.7088 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.1967, allocations: 11.98 kB / 0.7088 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.1967, allocations: 4 kB / 0.7089 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.668e-05/0.1968, allocations: 107.3 kB / 0.709 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1968, allocations: 4 kB / 0.709 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000277/0.197, allocations: 67.92 kB / 0.709 GB, free: 9.844 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.0008019/0.1978, allocations: 0.8342 MB / 0.7098 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.1984, allocations: 427.7 kB / 0.7102 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1984, allocations: 0 / 0.7102 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1985, allocations: 149 kB / 0.7104 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.1987, allocations: 10.5 kB / 0.7104 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.2014, allocations: 2.454 MB / 0.7128 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.482e-05/0.2015, allocations: 75.33 kB / 0.7129 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.372e-06/0.2015, allocations: 192 / 0.7129 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.2015, allocations: 19.42 kB / 0.7129 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.2015, allocations: 3.938 kB / 0.7129 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.2345, allocations: 3.888 MB / 0.7167 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.27, allocations: 5.359 kB / 0.7167 GB, free: 1.855 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.99274236895144] Failed to read output from testmodel.py, exit status != 0: 11.374855477828532 11.404528458 11.207510662 Calling exit ...