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.001382/0.001382, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001421/0.001421, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.511/1.511, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.8689/0.8689, allocations: 133.9 MB / 442.8 MB, free: 11.28 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.002017/0.002017, allocations: 72.72 kB / 0.6135 GB, free: 8.695 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1998, allocations: 85.86 MB / 0.6973 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.002476/0.2023, allocations: 0.6031 MB / 0.6979 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.2048, allocations: 1.443 MB / 0.6993 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.2048, allocations: 0 / 0.6993 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.45e-05/0.2049, allocations: 3.938 kB / 0.6993 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.2049, allocations: 7.984 kB / 0.6993 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007235/0.2056, allocations: 181.3 kB / 0.6995 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2058, allocations: 47.91 kB / 0.6995 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.2058, allocations: 288 / 0.6995 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.2059, allocations: 19.92 kB / 0.6996 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.206, allocations: 31.89 kB / 0.6996 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.206, allocations: 0 / 0.6996 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.2064, allocations: 211.7 kB / 0.6998 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.2064, allocations: 8 kB / 0.6998 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.2065, allocations: 27.8 kB / 0.6998 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.2068, allocations: 191.4 kB / 0.7 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2068, allocations: 0 / 0.7 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2069, allocations: 0 / 0.7 GB, free: 140 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2069, allocations: 0 / 0.7 GB, free: 140 kB / 0.5137 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.0006717/0.2075, allocations: 450.3 kB / 0.7004 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.2076, allocations: 9.109 kB / 0.7005 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.2076, allocations: 34.75 kB / 0.7005 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.2077, allocations: 12.89 kB / 0.7005 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.2079, allocations: 168.3 kB / 0.7007 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2079, allocations: 384 / 0.7007 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.2079, allocations: 4.375 kB / 0.7007 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.2082, allocations: 101.8 kB / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2082, allocations: 0 / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2082, allocations: 4 kB / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2082, allocations: 0 / 0.7008 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.2083, allocations: 59.95 kB / 0.7008 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.2085, allocations: 181.6 kB / 0.701 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2087, allocations: 82.47 kB / 0.7011 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.2088, allocations: 68.88 kB / 0.7011 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.2088, allocations: 0 / 0.7011 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.2088, allocations: 34.5 kB / 0.7012 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2088, allocations: 0 / 0.7012 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004476/0.2093, allocations: 255.2 kB / 0.7014 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.2093, allocations: 89.08 kB / 0.7015 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2095, allocations: 141.8 kB / 0.7016 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2095, allocations: 25.7 kB / 0.7017 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.2096, allocations: 96.08 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.2096, allocations: 11.89 kB / 0.7018 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.2097, allocations: 25.72 kB / 0.7018 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2099, allocations: 318.8 kB / 0.7021 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.21, allocations: 103.9 kB / 0.7022 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2101, allocations: 107.9 kB / 0.7023 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.2105, allocations: 283.5 kB / 0.7026 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2105, allocations: 0 / 0.7026 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004036/0.2109, allocations: 320.8 kB / 0.7029 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.211, allocations: 71.39 kB / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.211, allocations: 3.938 kB / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.211, allocations: 0 / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.211, allocations: 0 / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.211, allocations: 0 / 0.7029 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.2112, allocations: 15.94 kB / 0.703 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2112, allocations: 8.203 kB / 0.703 GB, free: 12.82 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.0001254/0.2113, allocations: 143.5 kB / 0.7031 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.2113, allocations: 15.88 kB / 0.7031 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2114, allocations: 12.25 kB / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2114, allocations: 0 / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2114, allocations: 0 / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2114, allocations: 0 / 0.7031 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2115, allocations: 169.6 kB / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2115, allocations: 3.938 kB / 0.7033 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.2115, allocations: 4 kB / 0.7033 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2115, allocations: 0 / 0.7033 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2115, allocations: 8 kB / 0.7033 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2116, allocations: 7.969 kB / 0.7033 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2116, allocations: 0 / 0.7033 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.2119, allocations: 226.6 kB / 0.7035 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.2119, allocations: 92.92 kB / 0.7036 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.212, allocations: 4 kB / 0.7036 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.212, allocations: 12.03 kB / 0.7036 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.2121, allocations: 7.984 kB / 0.7036 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.2121, allocations: 4 kB / 0.7036 GB, free: 12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.935e-05/0.2122, allocations: 105.6 kB / 0.7037 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2122, allocations: 4 kB / 0.7037 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003142/0.2125, allocations: 63.94 kB / 0.7038 GB, free: 11.84 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.0009209/0.2134, allocations: 0.8168 MB / 0.7046 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.2139, allocations: 334.6 kB / 0.7049 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2139, allocations: 0 / 0.7049 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.214, allocations: 127.3 kB / 0.705 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.2142, allocations: 4 kB / 0.705 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.2168, allocations: 2.138 MB / 0.7071 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.2172, allocations: 0.6924 MB / 0.7078 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.604e-06/0.2173, allocations: 0 / 0.7078 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.2173, allocations: 19.47 kB / 0.7078 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.2173, allocations: 0 / 0.7078 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.2441, allocations: 3.297 MB / 0.7111 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.047, allocations: 10.86 kB / 0.7111 GB, free: 4.328 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.733214252002654] Failed to read output from testmodel.py, exit status != 0: 8.1125733749941 8.127236491 7.917538469 Calling exit ...