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.0007736/0.0007736, 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.0008463/0.0008463, allocations: 165.9 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.9172/0.9172, 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.7225/0.7225, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.702e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.001921/0.001938, allocations: 1.484 MB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003164, allocations: 0.7712 MB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.003223, allocations: 0 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.00346, allocations: 135.7 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.003984, allocations: 186.1 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.004105, allocations: 75.73 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.004198, allocations: 71.8 kB / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.004289, allocations: 4 kB / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.004344, allocations: 47.88 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.004456, allocations: 87.81 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.004472, allocations: 4 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.00478, allocations: 239.6 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.004893, allocations: 111.7 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.004938, allocations: 47.78 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.00528, allocations: 374.9 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.005281, allocations: 0 / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.91e-07/0.005282, allocations: 0 / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.005288, allocations: 4 kB / 0.6216 GB, free: 10.02 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.0006664/0.005954, allocations: 0.5584 MB / 0.6222 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.006002, allocations: 12.03 kB / 0.6222 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.006036, allocations: 30.75 kB / 0.6222 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.006083, allocations: 32.75 kB / 0.6222 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.006735, allocations: 0.8708 MB / 0.6231 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.006751, allocations: 384 / 0.6231 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.006762, allocations: 384 / 0.6231 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.006927, allocations: 82.22 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.006937, allocations: 8.188 kB / 0.6232 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.00695, allocations: 4.125 kB / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006957, allocations: 0 / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.007099, allocations: 103.9 kB / 0.6233 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.007733, allocations: 0.5349 MB / 0.6238 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.00788, allocations: 106.5 kB / 0.6239 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.007953, allocations: 60.83 kB / 0.624 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.008001, allocations: 19.98 kB / 0.624 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.008033, allocations: 34.56 kB / 0.624 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.008034, allocations: 0 / 0.624 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003417/0.008376, allocations: 217.3 kB / 0.6242 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.008415, allocations: 51.41 kB / 0.6243 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008529/0.009268, allocations: 1.212 MB / 0.6255 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.009285, allocations: 29.7 kB / 0.6255 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.009399, allocations: 176.2 kB / 0.6257 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.009421, allocations: 3.953 kB / 0.6257 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.009455, allocations: 17.7 kB / 0.6257 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.009572, allocations: 342.8 kB / 0.626 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.987e-05/0.009642, allocations: 51.97 kB / 0.6261 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.009702, allocations: 55.95 kB / 0.6261 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.009818, allocations: 104.9 kB / 0.6262 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.00982, allocations: 0 / 0.6262 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001651/0.009985, allocations: 173.3 kB / 0.6264 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01, allocations: 13.5 kB / 0.6264 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.01, allocations: 3.938 kB / 0.6264 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.01002, allocations: 0 / 0.6264 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.01008, allocations: 7.984 kB / 0.6264 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.01008, allocations: 0 / 0.6264 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.01012, allocations: 12.03 kB / 0.6264 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.01013, allocations: 4 kB / 0.6264 GB, free: 4.934 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 (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 0.0001057/0.01024, allocations: 166.8 kB / 0.6266 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.01027, allocations: 39.7 kB / 0.6266 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.01047, allocations: 184 kB / 0.6268 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01047, allocations: 0 / 0.6268 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01048, allocations: 4 kB / 0.6268 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01048, allocations: 0 / 0.6268 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.01066, allocations: 256.7 kB / 0.627 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01066, allocations: 3.938 kB / 0.627 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.01068, allocations: 8 kB / 0.627 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01069, allocations: 0 / 0.627 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.01069, allocations: 0 / 0.627 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01069, allocations: 0 / 0.627 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.0107, allocations: 3.984 kB / 0.6271 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.01087, allocations: 251.3 kB / 0.6273 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.01093, allocations: 67.69 kB / 0.6274 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.01094, allocations: 0 / 0.6274 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.01099, allocations: 4 kB / 0.6274 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.01103, allocations: 7.984 kB / 0.6274 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.01103, allocations: 3.938 kB / 0.6274 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006193/0.01165, allocations: 0.9559 MB / 0.6283 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01165, allocations: 0 / 0.6283 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002732/0.01192, allocations: 71.88 kB / 0.6284 GB, free: 2.852 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.0005762/0.0125, allocations: 0.8604 MB / 0.6292 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.01267, allocations: 99.94 kB / 0.6293 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01268, allocations: 3.938 kB / 0.6293 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.01274, allocations: 59.89 kB / 0.6294 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.01299, allocations: 21.66 kB / 0.6294 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/0.01782, allocations: 6.815 MB / 0.636 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.01794, allocations: 178.1 kB / 0.6362 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.198e-05/0.01799, allocations: 38.94 kB / 0.6363 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.064e-05/0.01808, allocations: 88.47 kB / 0.6363 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.01808, allocations: 0 / 0.6363 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.03921, allocations: 7.908 MB / 0.6441 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/7.123, allocations: 3.609 kB / 0.6441 GB, free: 2.855 MB / 0.6042 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: 9.987863869406283] Failed to read output from testmodel.py, exit status != 0: 7.204379117116332 7.213346267 7.206128989 Calling exit ...