Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008425/0.0008425, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001046/0.001046, allocations: 162 kB / 22.43 MB, free: 2.141 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.9136/0.9136, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.725/0.725, allocations: 154.7 MB / 413.9 MB, free: 0.7578 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.Interpolate,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Interpolate",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.001049/0.001049, allocations: 67.89 kB / 0.6184 GB, free: 13.57 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4966, allocations: 102 MB / 0.7179 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.001948/0.4985, allocations: 1.522 MB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.4995, allocations: 0.7152 MB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.4995, allocations: 1.188 kB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.4998, allocations: 125.9 kB / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.4999, allocations: 77.73 kB / 0.7203 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.5004, allocations: 189.8 kB / 0.7205 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.5005, allocations: 63.05 kB / 0.7206 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.5006, allocations: 2.688 kB / 0.7206 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.5006, allocations: 49.95 kB / 0.7206 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.5008, allocations: 94.05 kB / 0.7207 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.5008, allocations: 2.344 kB / 0.7207 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.5011, allocations: 239.1 kB / 0.7209 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.5012, allocations: 64.45 kB / 0.721 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.5013, allocations: 43.09 kB / 0.721 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.5016, allocations: 323.4 kB / 0.7213 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5016, allocations: 0 / 0.7213 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5016, allocations: 0 / 0.7213 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5016, allocations: 0 / 0.7213 GB, free: 21.49 MB / 0.6355 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.00045/0.5021, allocations: 447.9 kB / 0.7218 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5021, allocations: 8.844 kB / 0.7218 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.205e-05/0.5021, allocations: 36.98 kB / 0.7218 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.5022, allocations: 25.09 kB / 0.7218 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.5023, allocations: 207.4 kB / 0.722 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.5023, allocations: 1.5 kB / 0.722 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.5023, allocations: 1.5 kB / 0.722 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.5025, allocations: 79.72 kB / 0.7221 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5025, allocations: 0 / 0.7221 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.5025, allocations: 5.328 kB / 0.7221 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5025, allocations: 4 kB / 0.7221 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.5027, allocations: 84.67 kB / 0.7222 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.5031, allocations: 366.5 kB / 0.7226 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.5033, allocations: 90 kB / 0.7226 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.042e-05/0.5033, allocations: 45.28 kB / 0.7227 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/0.5034, allocations: 17.44 kB / 0.7227 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.5034, allocations: 39.78 kB / 0.7227 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.5034, allocations: 0 / 0.7227 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.00034/0.5037, allocations: 178.1 kB / 0.7229 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.5038, allocations: 52.47 kB / 0.723 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.5041, allocations: 354.9 kB / 0.7233 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.5041, allocations: 25.7 kB / 0.7233 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.5042, allocations: 143.3 kB / 0.7235 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.5042, allocations: 9.203 kB / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.5042, allocations: 27.94 kB / 0.7235 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.5043, allocations: 342.2 kB / 0.7238 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.5044, allocations: 94.39 kB / 0.7239 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.5045, allocations: 98.23 kB / 0.724 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.5047, allocations: 214 kB / 0.7242 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5047, allocations: 0 / 0.7242 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002907/0.505, allocations: 254.3 kB / 0.7244 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.505, allocations: 4.406 kB / 0.7245 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5051, allocations: 5.953 kB / 0.7245 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5051, allocations: 0 / 0.7245 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.5051, allocations: 9.359 kB / 0.7245 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5052, allocations: 1.188 kB / 0.7245 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.5052, allocations: 15.48 kB / 0.7245 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.5052, allocations: 1.344 kB / 0.7245 GB, free: 19.55 MB / 0.6355 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.72e-05/0.5053, allocations: 153.3 kB / 0.7246 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.5053, allocations: 19.92 kB / 0.7246 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.5056, allocations: 151.7 kB / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5056, allocations: 0.5625 kB / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5056, allocations: 0 / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5056, allocations: 2.016 kB / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.5058, allocations: 208.8 kB / 0.725 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5058, allocations: 0 / 0.725 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.5058, allocations: 8.75 kB / 0.725 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5058, allocations: 5.562 kB / 0.725 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5058, allocations: 0.75 kB / 0.725 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5058, allocations: 1.312 kB / 0.725 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5058, allocations: 0 / 0.725 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.506, allocations: 235.6 kB / 0.7252 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.506, allocations: 25.33 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.506, allocations: 1.281 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.5061, allocations: 5.844 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.5061, allocations: 10.62 kB / 0.7253 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5061, allocations: 1.156 kB / 0.7253 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001774/0.5063, allocations: 251.8 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5063, allocations: 0 / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000341/0.5066, allocations: 69.89 kB / 0.7256 GB, free: 18.89 MB / 0.6355 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.0005128/0.5072, allocations: 0.818 MB / 0.7264 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.5074, allocations: 151.9 kB / 0.7265 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5074, allocations: 0 / 0.7265 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.5075, allocations: 42.17 kB / 0.7266 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.5078, allocations: 17.72 kB / 0.7266 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.5099, allocations: 2.719 MB / 0.7292 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.51, allocations: 126 kB / 0.7294 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.03e-05/0.51, allocations: 18.27 kB / 0.7294 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.5101, allocations: 55.52 kB / 0.7294 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.001e-06/0.5101, allocations: 1.375 kB / 0.7294 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.5282, allocations: 4.97 MB / 0.7343 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/7.284, allocations: 3.938 kB / 0.7343 GB, free: 15.47 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_Interpolate.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.146384901017882] Failed to read output from testmodel.py, exit status != 0: 7.364460072014481 7.373259339 6.869815149 Calling exit ...