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.001003/0.001003, 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.001015/0.001015, allocations: 170.3 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.8997/0.8997, 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 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.7501/0.7501, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.954e-06/1.954e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.836e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Interpolate): time 0.002941/0.002969, allocations: 1.488 MB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004052, allocations: 0.7635 MB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.004097, allocations: 0 / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.004321, allocations: 135.7 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006298/0.00495, allocations: 186.9 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.005091, allocations: 67.8 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.005214, allocations: 75.8 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.005319, allocations: 7.938 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.005389, allocations: 51.86 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.005505, allocations: 83.89 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.005523, allocations: 4 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.00589, allocations: 239.6 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.006005, allocations: 111.8 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.006053, allocations: 47.78 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.006409, allocations: 382.8 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.006414, allocations: 0 / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.006416, allocations: 0 / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.006421, allocations: 4 kB / 0.6216 GB, free: 10.05 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.0006247/0.007045, allocations: 0.5468 MB / 0.6221 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.00709, allocations: 9.469 kB / 0.6221 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.007118, allocations: 30.75 kB / 0.6222 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.007166, allocations: 32.75 kB / 0.6222 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.007769, allocations: 0.8669 MB / 0.623 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.007783, allocations: 384 / 0.623 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.007798, allocations: 8.359 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.007987, allocations: 82.23 kB / 0.6231 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.007994, allocations: 4.188 kB / 0.6231 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.008005, allocations: 4.125 kB / 0.6231 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.008011, allocations: 0 / 0.6231 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.008135, allocations: 103.9 kB / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.008731, allocations: 0.535 MB / 0.6238 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.008887, allocations: 106.5 kB / 0.6239 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.008956, allocations: 60.83 kB / 0.6239 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.009009, allocations: 19.98 kB / 0.6239 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.009035, allocations: 38.5 kB / 0.624 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.776e-06/0.009037, allocations: 3.984 kB / 0.624 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003414/0.009379, allocations: 217.3 kB / 0.6242 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.00942, allocations: 55.41 kB / 0.6242 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.01023, allocations: 1.209 MB / 0.6254 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.01025, allocations: 29.64 kB / 0.6254 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.01034, allocations: 180.2 kB / 0.6256 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.01036, allocations: 7.891 kB / 0.6256 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.01039, allocations: 17.7 kB / 0.6256 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.01048, allocations: 346.8 kB / 0.626 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.01055, allocations: 51.95 kB / 0.626 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.01061, allocations: 47.97 kB / 0.6261 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.01072, allocations: 112.8 kB / 0.6262 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01072, allocations: 0 / 0.6262 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/0.01089, allocations: 173.3 kB / 0.6263 GB, free: 5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.0109, allocations: 4 kB / 0.6263 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01091, allocations: 0 / 0.6263 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.01092, allocations: 0 / 0.6263 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.011, allocations: 11.98 kB / 0.6264 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.011, allocations: 0 / 0.6264 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.01104, allocations: 8.031 kB / 0.6264 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.01105, allocations: 4 kB / 0.6264 GB, free: 4.973 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.0001006/0.01115, allocations: 158.8 kB / 0.6265 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.01118, allocations: 39.75 kB / 0.6266 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.0114, allocations: 184 kB / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.0114, allocations: 0 / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01141, allocations: 0 / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01141, allocations: 0 / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.0116, allocations: 256.7 kB / 0.627 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.0116, allocations: 7.938 kB / 0.627 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.01163, allocations: 4 kB / 0.627 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01164, allocations: 0 / 0.627 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01164, allocations: 3.984 kB / 0.627 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01165, allocations: 0 / 0.627 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01165, allocations: 4 kB / 0.627 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.01185, allocations: 255.3 kB / 0.6272 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.01192, allocations: 67.58 kB / 0.6273 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.01194, allocations: 0 / 0.6273 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/0.01199, allocations: 8 kB / 0.6273 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.01204, allocations: 3.984 kB / 0.6273 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.01204, allocations: 0 / 0.6273 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006239/0.01266, allocations: 0.9559 MB / 0.6282 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01266, allocations: 0 / 0.6282 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003145/0.01298, allocations: 71.88 kB / 0.6283 GB, free: 2.898 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.000635/0.01361, allocations: 0.8605 MB / 0.6292 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001925/0.0138, allocations: 103.9 kB / 0.6293 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01381, allocations: 4 kB / 0.6293 GB, free: 1.902 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.168e-05/0.01387, allocations: 59.89 kB / 0.6293 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.01422, allocations: 20.72 kB / 0.6293 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.01933, allocations: 6.812 MB / 0.636 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.01947, allocations: 174.1 kB / 0.6361 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.01953, allocations: 42.92 kB / 0.6362 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.01963, allocations: 96.47 kB / 0.6363 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of SimCode: time 1.593e-06/0.01963, allocations: 0 / 0.6363 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.04338, allocations: 7.911 MB / 0.644 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.081, allocations: 6.25 kB / 0.644 GB, free: 2.895 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 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: 9.846106133423746] Failed to read output from testmodel.py, exit status != 0: 7.169430261477828 7.182777188 7.174550763 Calling exit ...