Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.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.001309/0.001309, 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.001663/0.001663, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.781 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.8366/0.8366, allocations: 134 MB / 446.4 MB, free: 9.914 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.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite",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.002069/0.002069, allocations: 69.44 kB / 0.6185 GB, free: 6.824 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1937, allocations: 85.92 MB / 0.7024 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001787/0.1954, allocations: 0.6265 MB / 0.703 GB, free: 384 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004519/0.1959, allocations: 175.6 kB / 0.7032 GB, free: 208 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.1959, allocations: 0 / 0.7032 GB, free: 208 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.196, allocations: 3.938 kB / 0.7032 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1961, allocations: 15.92 kB / 0.7032 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1963, allocations: 71.77 kB / 0.7033 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.1964, allocations: 27.91 kB / 0.7033 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.1965, allocations: 0 / 0.7033 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.1965, allocations: 19.92 kB / 0.7033 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.1966, allocations: 15.91 kB / 0.7034 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1966, allocations: 8 kB / 0.7034 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1967, allocations: 51.95 kB / 0.7034 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.1967, allocations: 3.938 kB / 0.7034 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.1968, allocations: 15.92 kB / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1969, allocations: 95.86 kB / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1969, allocations: 0 / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1969, allocations: 0 / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1969, allocations: 0 / 0.7035 GB, free: 15.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005507/0.1975, allocations: 290.1 kB / 0.7038 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1975, allocations: 12.03 kB / 0.7038 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.1976, allocations: 34.75 kB / 0.7038 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.1976, allocations: 4.891 kB / 0.7038 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1977, allocations: 122.5 kB / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1978, allocations: 384 / 0.704 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1978, allocations: 12.3 kB / 0.704 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1979, allocations: 54.22 kB / 0.704 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.198, allocations: 3.938 kB / 0.704 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.198, allocations: 0 / 0.704 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.198, allocations: 4 kB / 0.704 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1981, allocations: 35.97 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.1984, allocations: 216 kB / 0.7043 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1986, allocations: 74.41 kB / 0.7043 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.1987, allocations: 20.94 kB / 0.7044 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1987, allocations: 3.938 kB / 0.7044 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.1988, allocations: 42.5 kB / 0.7044 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.1988, allocations: 4 kB / 0.7044 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02669/0.2255, allocations: 1.605 MB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2255, allocations: 51.41 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2256, allocations: 121.8 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/0.2257, allocations: 25.7 kB / 0.7062 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.2258, allocations: 84.14 kB / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/0.2258, allocations: 35.73 kB / 0.7063 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.226, allocations: 25.7 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2262, allocations: 322.8 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.2267, allocations: 143.9 kB / 0.7068 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.2272, allocations: 139.9 kB / 0.7069 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009932/0.2282, allocations: 296.8 kB / 0.7072 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2282, allocations: 0 / 0.7072 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001193/0.2293, allocations: 338 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2294, allocations: 4 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2294, allocations: 0 / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.2294, allocations: 4.094 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.2309, allocations: 67.86 kB / 0.7076 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2309, allocations: 0 / 0.7076 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.2322, allocations: 51.94 kB / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.2323, allocations: 4 kB / 0.7076 GB, free: 11.48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001919/0.2325, allocations: 119.7 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.2326, allocations: 7.953 kB / 0.7077 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.2327, allocations: 16.38 kB / 0.7078 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2327, allocations: 4 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2327, allocations: 4 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.2327, allocations: 3.984 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/0.2384, allocations: 0.7312 MB / 0.7085 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2384, allocations: 0 / 0.7085 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.2395, allocations: 51.94 kB / 0.7085 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/0.2395, allocations: 7.938 kB / 0.7085 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.2395, allocations: 7.875 kB / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2395, allocations: 0 / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2395, allocations: 4 kB / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.2405, allocations: 321.6 kB / 0.7089 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.2405, allocations: 11.94 kB / 0.7089 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.2405, allocations: 3.938 kB / 0.7089 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.2416, allocations: 43.95 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.2416, allocations: 7.969 kB / 0.7089 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2416, allocations: 7.938 kB / 0.7089 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.75e-05/0.2417, allocations: 95.27 kB / 0.709 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2417, allocations: 0 / 0.709 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000388/0.2421, allocations: 91.94 kB / 0.7091 GB, free: 9.867 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.00143/0.2435, allocations: 0.8663 MB / 0.71 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009794/0.2445, allocations: 243.8 kB / 0.7102 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2445, allocations: 480 / 0.7102 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.2449, allocations: 95.88 kB / 0.7103 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.2452, allocations: 9.75 kB / 0.7103 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/0.252, allocations: 2.691 MB / 0.7129 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.2521, allocations: 71.33 kB / 0.713 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004306/0.2526, allocations: 48.31 kB / 0.713 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.253, allocations: 23.42 kB / 0.7131 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/0.253, allocations: 0 / 0.7131 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.2936, allocations: 11.28 MB / 0.7241 GB, free: 10.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.77, allocations: 8.047 kB / 0.7241 GB, free: 10.45 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_IDEAS_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.449027318973094] Failed to read output from testmodel.py, exit status != 0: 11.884211644995958 11.914856415 11.712672551 Calling exit ...