Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.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.0008633/0.0008633, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008828/0.0008828, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9101/0.9101, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7141/0.7141, allocations: 154.6 MB / 413.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.793e-05, allocations: 3.188 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.002044/0.002062, allocations: 1.511 MB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003065, allocations: 0.7205 MB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.003108, allocations: 4 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.003301, allocations: 127.7 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.003375, allocations: 71.83 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.0039, allocations: 190.8 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.561e-05/0.003996, allocations: 59.83 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.004033, allocations: 11.91 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.00409, allocations: 43.89 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.081e-05/0.00418, allocations: 83.89 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.004192, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.004483, allocations: 243.6 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.004563, allocations: 59.84 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.004599, allocations: 39.84 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.004889, allocations: 307.1 kB / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004891, allocations: 0 / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004892, allocations: 0 / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.004898, allocations: 0 / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006096/0.005507, allocations: 444.8 kB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.005564, allocations: 13.41 kB / 0.6219 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.005601, allocations: 34.75 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.005642, allocations: 20.8 kB / 0.622 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.00588, allocations: 213.9 kB / 0.6222 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.005893, allocations: 4.375 kB / 0.6222 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.005904, allocations: 4.375 kB / 0.6222 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.006057, allocations: 74.22 kB / 0.6222 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006067, allocations: 192 / 0.6222 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.00608, allocations: 4.125 kB / 0.6222 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.006086, allocations: 0 / 0.6222 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.006217, allocations: 87.88 kB / 0.6223 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.006662, allocations: 356 kB / 0.6227 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.006764, allocations: 90.52 kB / 0.6228 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.006825, allocations: 52.81 kB / 0.6228 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.006861, allocations: 19.98 kB / 0.6228 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.006879, allocations: 38.5 kB / 0.6229 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.00688, allocations: 0 / 0.6229 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002581/0.007138, allocations: 181.4 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.007166, allocations: 51.41 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.007405, allocations: 360.4 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.007415, allocations: 29.7 kB / 0.6235 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.007489, allocations: 136.1 kB / 0.6236 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.007499, allocations: 3.953 kB / 0.6236 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.007533, allocations: 37.69 kB / 0.6236 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.007627, allocations: 330.8 kB / 0.6239 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.007723, allocations: 95.94 kB / 0.624 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.007803, allocations: 100.1 kB / 0.6241 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.007977, allocations: 208 kB / 0.6243 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.007979, allocations: 3.938 kB / 0.6243 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002259/0.008205, allocations: 253.3 kB / 0.6246 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008218, allocations: 8 kB / 0.6246 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.008224, allocations: 0 / 0.6246 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008238, allocations: 0 / 0.6246 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.008318, allocations: 15.98 kB / 0.6246 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.008323, allocations: 0 / 0.6246 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.008357, allocations: 11.89 kB / 0.6246 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.008363, allocations: 3.938 kB / 0.6246 GB, free: 6.785 MB / 0.5886 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 9.702e-05/0.00846, allocations: 150.8 kB / 0.6248 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.008482, allocations: 23.8 kB / 0.6248 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.008663, allocations: 142.6 kB / 0.6249 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008666, allocations: 8.031 kB / 0.6249 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.008671, allocations: 0 / 0.6249 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.008676, allocations: 0 / 0.6249 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.008828, allocations: 204.7 kB / 0.6251 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.00883, allocations: 3.938 kB / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.008856, allocations: 11.98 kB / 0.6251 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.008857, allocations: 0 / 0.6251 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.008864, allocations: 0 / 0.6251 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.008864, allocations: 0 / 0.6251 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008865, allocations: 0 / 0.6251 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.00903, allocations: 235.3 kB / 0.6254 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.009059, allocations: 31.78 kB / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.009072, allocations: 3.938 kB / 0.6254 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.009113, allocations: 4 kB / 0.6254 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.009147, allocations: 7.984 kB / 0.6254 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.009149, allocations: 0 / 0.6254 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001609/0.00931, allocations: 251 kB / 0.6256 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.00931, allocations: 3.938 kB / 0.6256 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002523/0.009563, allocations: 71.86 kB / 0.6257 GB, free: 5.578 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000568/0.01013, allocations: 0.8254 MB / 0.6265 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.01034, allocations: 147.8 kB / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01034, allocations: 0 / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.0104, allocations: 52 kB / 0.6267 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.01064, allocations: 10.84 kB / 0.6267 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.01264, allocations: 2.719 MB / 0.6294 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.0128, allocations: 131.2 kB / 0.6295 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.01283, allocations: 12.48 kB / 0.6295 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.01288, allocations: 56.47 kB / 0.6296 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.01288, allocations: 0 / 0.6296 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.02932, allocations: 4.997 MB / 0.6344 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.269, allocations: 11.83 kB / 0.6345 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.046125800348818] Failed to read output from testmodel.py, exit status != 0: 7.353000758215785 7.361649052 7.3550463 Calling exit ...