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.0007705/0.0007705, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008583/0.0008583, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9032/0.9032, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7228/0.7228, allocations: 154.6 MB / 413.8 MB, free: 0.793 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.618e-05, allocations: 5.375 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.00209/0.002116, allocations: 1.519 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.003084, allocations: 0.7244 MB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.003135, allocations: 4 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.003351, allocations: 127.7 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.811e-05/0.003429, allocations: 63.84 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.004045, allocations: 201.9 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.004174, allocations: 63.81 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.004216, allocations: 3.984 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.004286, allocations: 43.94 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.004403, allocations: 87.83 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.004417, allocations: 0 / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.004778, allocations: 243.6 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.004869, allocations: 67.84 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.004906, allocations: 27.86 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.005231, allocations: 307.1 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005233, allocations: 0 / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/0.005234, allocations: 0 / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.00524, allocations: 0 / 0.6215 GB, free: 10.14 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.0005092/0.005749, allocations: 444.7 kB / 0.622 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.005788, allocations: 12.03 kB / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.005819, allocations: 30.75 kB / 0.622 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.005854, allocations: 28.8 kB / 0.622 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.00604, allocations: 209.9 kB / 0.6222 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.006052, allocations: 384 / 0.6222 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.006061, allocations: 4.312 kB / 0.6222 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.006204, allocations: 78.22 kB / 0.6223 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.006211, allocations: 192 / 0.6223 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.00622, allocations: 4.125 kB / 0.6223 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.006225, allocations: 0 / 0.6223 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.00634, allocations: 83.94 kB / 0.6224 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.00674, allocations: 359.9 kB / 0.6227 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.006859, allocations: 94.45 kB / 0.6228 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.006921, allocations: 52.83 kB / 0.6229 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.006975, allocations: 15.98 kB / 0.6229 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.006998, allocations: 38.5 kB / 0.6229 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.006999, allocations: 0 / 0.6229 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003025/0.007302, allocations: 181.4 kB / 0.6231 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.007334, allocations: 51.41 kB / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.007611, allocations: 364.4 kB / 0.6235 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.007626, allocations: 25.7 kB / 0.6235 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.007716, allocations: 136.1 kB / 0.6236 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.007731, allocations: 7.953 kB / 0.6237 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.007776, allocations: 25.7 kB / 0.6237 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.007888, allocations: 334.8 kB / 0.624 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.008069, allocations: 96.06 kB / 0.6241 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.008157, allocations: 99.94 kB / 0.6242 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.008336, allocations: 203.3 kB / 0.6244 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.008339, allocations: 0 / 0.6244 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002341/0.008573, allocations: 257.3 kB / 0.6246 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.00859, allocations: 11.94 kB / 0.6246 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.0086, allocations: 4 kB / 0.6246 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.008615, allocations: 0 / 0.6246 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.008686, allocations: 7.938 kB / 0.6246 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.008693, allocations: 3.984 kB / 0.6247 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.008732, allocations: 19.89 kB / 0.6247 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.008738, allocations: 0 / 0.6247 GB, free: 6.738 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.504e-05/0.008833, allocations: 142.8 kB / 0.6248 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.008863, allocations: 23.8 kB / 0.6248 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.009061, allocations: 150.7 kB / 0.625 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.009065, allocations: 4.078 kB / 0.625 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.00907, allocations: 0 / 0.625 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.009073, allocations: 0 / 0.625 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.009231, allocations: 204.7 kB / 0.6252 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.009233, allocations: 3.938 kB / 0.6252 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.009263, allocations: 7.984 kB / 0.6252 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.009266, allocations: 0 / 0.6252 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.009275, allocations: 8 kB / 0.6252 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.009276, allocations: 3.938 kB / 0.6252 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.009277, allocations: 4.031 kB / 0.6252 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.009457, allocations: 231.3 kB / 0.6254 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.009493, allocations: 31.78 kB / 0.6255 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.009508, allocations: 0 / 0.6255 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.009549, allocations: 4 kB / 0.6255 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.009592, allocations: 3.984 kB / 0.6255 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.009597, allocations: 4 kB / 0.6255 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001755/0.009772, allocations: 247 kB / 0.6257 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.009772, allocations: 7.969 kB / 0.6257 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002817/0.01005, allocations: 75.81 kB / 0.6258 GB, free: 5.527 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.000557/0.01061, allocations: 0.837 MB / 0.6266 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.01082, allocations: 135.9 kB / 0.6267 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01082, allocations: 3.938 kB / 0.6267 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.01089, allocations: 55.98 kB / 0.6268 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.01119, allocations: 12.66 kB / 0.6268 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.01337, allocations: 2.719 MB / 0.6294 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.747e-05/0.01347, allocations: 127.2 kB / 0.6296 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.388e-05/0.01351, allocations: 16.48 kB / 0.6296 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.01358, allocations: 56.48 kB / 0.6296 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of SimCode: time 1.833e-06/0.01358, allocations: 0 / 0.6296 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.03545, allocations: 4.974 MB / 0.6345 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/6.991, allocations: 8.266 kB / 0.6345 GB, free: 12.66 MB / 0.6042 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: 9.841403190977871] Failed to read output from testmodel.py, exit status != 0: 7.073465307243168 7.085746073 7.078202421 Calling exit ...