Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001184/0.001184, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.001198/0.001198, allocations: 162 kB / 22.43 MB, free: 2.145 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.9053/0.9053, allocations: 177.2 MB / 202.8 MB, free: 5.785 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.6864/0.6864, allocations: 154.7 MB / 413.9 MB, free: 0.7539 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.Examples.Interpolate,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Interpolate,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.0008651/0.0008651, allocations: 66.16 kB / 0.6183 GB, free: 13.63 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.4438/0.4447, allocations: 101.9 MB / 0.7179 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.001914/0.4466, allocations: 1.495 MB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009825/0.4476, allocations: 0.7671 MB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.4476, allocations: 1.938 kB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.4478, allocations: 134.2 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005427/0.4484, allocations: 189.7 kB / 0.7204 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.4485, allocations: 78.09 kB / 0.7205 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.915e-05/0.4486, allocations: 65.52 kB / 0.7205 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.4487, allocations: 4.125 kB / 0.7205 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.4487, allocations: 45.98 kB / 0.7206 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.4489, allocations: 85.14 kB / 0.7207 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.4489, allocations: 7.656 kB / 0.7207 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.4492, allocations: 243.4 kB / 0.7209 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.4493, allocations: 115 kB / 0.721 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.4494, allocations: 73.39 kB / 0.7211 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.4498, allocations: 390.7 kB / 0.7215 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4498, allocations: 0 / 0.7215 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4498, allocations: 0 / 0.7215 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.4498, allocations: 1.125 kB / 0.7215 GB, free: 21.42 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.0005789/0.4504, allocations: 0.562 MB / 0.722 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4504, allocations: 10.42 kB / 0.722 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.4505, allocations: 34.69 kB / 0.7221 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.4505, allocations: 36.36 kB / 0.7221 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.4511, allocations: 0.8681 MB / 0.7229 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4511, allocations: 1.594 kB / 0.7229 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.4511, allocations: 5.344 kB / 0.7229 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.4513, allocations: 85.91 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4513, allocations: 0 / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.4513, allocations: 1 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4513, allocations: 3.938 kB / 0.723 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.4514, allocations: 98.72 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.4519, allocations: 0.5452 MB / 0.7237 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.4521, allocations: 102 kB / 0.7237 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.4521, allocations: 57.41 kB / 0.7238 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/0.4522, allocations: 21.56 kB / 0.7238 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.4522, allocations: 32.55 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4522, allocations: 0 / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003103/0.4525, allocations: 219.3 kB / 0.7241 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.4525, allocations: 53.59 kB / 0.7241 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.4535, allocations: 1.212 MB / 0.7253 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.4535, allocations: 25.7 kB / 0.7253 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.4535, allocations: 178.5 kB / 0.7255 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.4536, allocations: 5.953 kB / 0.7255 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.4536, allocations: 12.48 kB / 0.7255 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.4536, allocations: 353.6 kB / 0.7258 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.4537, allocations: 50.94 kB / 0.7259 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.4538, allocations: 51.78 kB / 0.7259 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4539, allocations: 106.9 kB / 0.726 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4539, allocations: 0 / 0.726 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001718/0.4541, allocations: 165.6 kB / 0.7262 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4541, allocations: 5.344 kB / 0.7262 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4541, allocations: 9.594 kB / 0.7262 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4541, allocations: 0 / 0.7262 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.4542, allocations: 9.359 kB / 0.7262 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4542, allocations: 0 / 0.7262 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.4542, allocations: 17.2 kB / 0.7262 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4542, allocations: 0.6562 kB / 0.7262 GB, free: 18.97 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 (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 prepare postOptimizeDAE: time 9.611e-05/0.4543, allocations: 165.8 kB / 0.7264 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.4544, allocations: 31.53 kB / 0.7264 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.4546, allocations: 184.2 kB / 0.7266 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4546, allocations: 0 / 0.7266 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4546, allocations: 0 / 0.7266 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4546, allocations: 2 kB / 0.7266 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.4548, allocations: 256.5 kB / 0.7269 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4548, allocations: 0 / 0.7269 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.4549, allocations: 9.266 kB / 0.7269 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4549, allocations: 1.188 kB / 0.7269 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4549, allocations: 0.6094 kB / 0.7269 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4549, allocations: 5.344 kB / 0.7269 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4549, allocations: 0 / 0.7269 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.4551, allocations: 265.8 kB / 0.7271 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.4551, allocations: 60 kB / 0.7272 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.4551, allocations: 0 / 0.7272 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.4552, allocations: 9.766 kB / 0.7272 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.4552, allocations: 5.297 kB / 0.7272 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.4552, allocations: 2.375 kB / 0.7272 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006657/0.4559, allocations: 0.9532 MB / 0.7281 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4559, allocations: 4 kB / 0.7281 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003643/0.4563, allocations: 73.83 kB / 0.7282 GB, free: 18.05 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.0004269/0.4567, allocations: 0.8454 MB / 0.729 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.4569, allocations: 107.8 kB / 0.7291 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4569, allocations: 5.469 kB / 0.7291 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.4569, allocations: 52.5 kB / 0.7292 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4572, allocations: 25.38 kB / 0.7292 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.4622, allocations: 6.766 MB / 0.7358 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.4624, allocations: 169.8 kB / 0.736 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.915e-05/0.4624, allocations: 45.64 kB / 0.736 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.4625, allocations: 96.84 kB / 0.7361 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of SimCode: time 1.353e-06/0.4625, allocations: 0 / 0.7361 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.487, allocations: 7.898 MB / 0.7438 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/7.364, allocations: 10.61 kB / 0.7438 GB, free: 13.31 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.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_Examples_Interpolate.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.08178875001613] Failed to read output from testmodel.py, exit status != 0: 7.444304186035879 7.453484952 7.002015842 Calling exit ...