Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008263/0.0008263, 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.001212/0.001212, allocations: 169.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.9627/0.9627, allocations: 177.1 MB / 202.8 MB, free: 5.547 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.7296/0.7296, allocations: 154.6 MB / 413.8 MB, free: 0.7695 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.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.468e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.002501/0.002526, allocations: 1.483 MB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003591, allocations: 0.7595 MB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.003638, allocations: 4 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.003853, allocations: 131.7 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.004391, allocations: 191.9 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.004537, allocations: 75.67 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.00465, allocations: 67.81 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.004742, allocations: 15.98 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.004807, allocations: 43.88 kB / 0.6208 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.004914, allocations: 87.83 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.004929, allocations: 4 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.005287, allocations: 231.6 kB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.005405, allocations: 115.7 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.005454, allocations: 55.72 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.00585, allocations: 370.9 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.005853, allocations: 0 / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.005854, allocations: 0 / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.005859, allocations: 4 kB / 0.6216 GB, free: 10.09 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.0006312/0.00649, allocations: 0.5507 MB / 0.6221 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.00653, allocations: 9.469 kB / 0.6221 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.00656, allocations: 38.73 kB / 0.6222 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.006607, allocations: 28.75 kB / 0.6222 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.007185, allocations: 0.8669 MB / 0.623 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.007199, allocations: 8.375 kB / 0.623 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.007209, allocations: 384 / 0.623 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.007353, allocations: 90.16 kB / 0.6231 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.00736, allocations: 4.188 kB / 0.6231 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.007369, allocations: 4.125 kB / 0.6231 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.007374, allocations: 0 / 0.6231 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.007496, allocations: 99.92 kB / 0.6232 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.008018, allocations: 0.5388 MB / 0.6238 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.008158, allocations: 106.5 kB / 0.6239 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.008225, allocations: 64.83 kB / 0.6239 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.008271, allocations: 19.98 kB / 0.6239 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.008291, allocations: 34.56 kB / 0.624 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.008293, allocations: 0 / 0.624 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003112/0.008604, allocations: 213.4 kB / 0.6242 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.008636, allocations: 51.41 kB / 0.6242 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007648/0.009401, allocations: 1.216 MB / 0.6254 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.009413, allocations: 25.7 kB / 0.6254 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.009509, allocations: 180.2 kB / 0.6256 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.009528, allocations: 7.891 kB / 0.6256 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.009559, allocations: 17.7 kB / 0.6256 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.009666, allocations: 346.8 kB / 0.626 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.009737, allocations: 51.97 kB / 0.626 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/0.009793, allocations: 47.95 kB / 0.6261 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.009908, allocations: 108.9 kB / 0.6262 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.009911, allocations: 0 / 0.6262 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004731/0.01038, allocations: 169.3 kB / 0.6263 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.0104, allocations: 5.875 kB / 0.6263 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.0104, allocations: 0 / 0.6263 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01042, allocations: 0 / 0.6263 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.01049, allocations: 19.92 kB / 0.6264 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.0105, allocations: 0 / 0.6264 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.01054, allocations: 12.03 kB / 0.6264 GB, free: 5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.01055, allocations: 0 / 0.6264 GB, free: 5 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.0001149/0.01066, allocations: 162.8 kB / 0.6265 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.01069, allocations: 35.7 kB / 0.6266 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.0109, allocations: 176.1 kB / 0.6267 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.0109, allocations: 0 / 0.6267 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.0109, allocations: 0 / 0.6267 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01091, allocations: 0 / 0.6267 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.0111, allocations: 264.7 kB / 0.627 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.0111, allocations: 3.938 kB / 0.627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.01113, allocations: 4 kB / 0.627 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01113, allocations: 0 / 0.627 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.01114, allocations: 7.938 kB / 0.627 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.01114, allocations: 3.984 kB / 0.627 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01114, allocations: 0 / 0.627 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.01133, allocations: 255.2 kB / 0.6272 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.01139, allocations: 59.69 kB / 0.6273 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.01141, allocations: 8 kB / 0.6273 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.01147, allocations: 4 kB / 0.6273 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.0115, allocations: 3.984 kB / 0.6273 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.0115, allocations: 4 kB / 0.6273 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006035/0.01211, allocations: 0.9481 MB / 0.6282 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01211, allocations: 0 / 0.6282 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003046/0.01241, allocations: 75.88 kB / 0.6283 GB, free: 2.93 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.0005701/0.01298, allocations: 0.8643 MB / 0.6292 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001742/0.01316, allocations: 103.9 kB / 0.6293 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01316, allocations: 3.938 kB / 0.6293 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.01322, allocations: 51.95 kB / 0.6293 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01352, allocations: 29.64 kB / 0.6293 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.01856, allocations: 6.808 MB / 0.636 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.01868, allocations: 174.1 kB / 0.6362 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.002e-05/0.01874, allocations: 42.92 kB / 0.6362 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.01884, allocations: 96.47 kB / 0.6363 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.01884, allocations: 0 / 0.6363 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.04135, allocations: 7.911 MB / 0.644 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.306, allocations: 6.109 kB / 0.644 GB, free: 2.918 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_Interpolate.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.27569215465337] Failed to read output from testmodel.py, exit status != 0: 7.391921442933381 7.408150544 7.3991454039999995 Calling exit ...