Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009952/0.0009952, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009737/0.0009737, allocations: 212.6 kB / 22.25 MB, free: 3.574 MB / 13.93 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 1.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.8013/0.8013, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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.Functions.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.0008919/0.0008919, allocations: 65.55 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4991, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.001917/0.501, allocations: 1.526 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.5019, allocations: 0.7137 MB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.5019, allocations: 0 / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.5021, allocations: 132 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.375e-05/0.5022, allocations: 68.95 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.5028, allocations: 197.2 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.5029, allocations: 64.8 kB / 0.8205 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.5029, allocations: 5.156 kB / 0.8205 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.033e-05/0.503, allocations: 35.03 kB / 0.8205 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.5031, allocations: 88.95 kB / 0.8206 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.5031, allocations: 2.625 kB / 0.8206 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.5034, allocations: 243.8 kB / 0.8208 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.5035, allocations: 61.77 kB / 0.8209 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.5036, allocations: 41.22 kB / 0.8209 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.5039, allocations: 271.8 kB / 0.8212 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5039, allocations: 5.703 kB / 0.8212 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5039, allocations: 0 / 0.8212 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.5039, allocations: 0 / 0.8212 GB, free: 15.22 MB / 0.6198 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.0005117/0.5044, allocations: 456.6 kB / 0.8216 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5044, allocations: 10.72 kB / 0.8216 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.5045, allocations: 31.36 kB / 0.8217 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.5045, allocations: 20.59 kB / 0.8217 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.5047, allocations: 199 kB / 0.8219 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5047, allocations: 4.312 kB / 0.8219 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.5047, allocations: 5.844 kB / 0.8219 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.5049, allocations: 80.11 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5049, allocations: 3.938 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.5049, allocations: 4 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5049, allocations: 5.297 kB / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.505, allocations: 86.53 kB / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.5055, allocations: 365.5 kB / 0.8224 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.5056, allocations: 88.52 kB / 0.8225 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.5057, allocations: 50.12 kB / 0.8225 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.5058, allocations: 16.81 kB / 0.8225 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5058, allocations: 32.52 kB / 0.8226 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.5058, allocations: 1.406 kB / 0.8226 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003077/0.5061, allocations: 180.4 kB / 0.8227 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.5061, allocations: 57.12 kB / 0.8228 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.5064, allocations: 353.5 kB / 0.8231 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.5064, allocations: 28.14 kB / 0.8232 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.5065, allocations: 146 kB / 0.8233 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.5065, allocations: 1.75 kB / 0.8233 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.5065, allocations: 26.45 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.5066, allocations: 337.7 kB / 0.8237 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.5068, allocations: 95.03 kB / 0.8237 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.5069, allocations: 98.09 kB / 0.8238 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.5071, allocations: 209 kB / 0.824 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5071, allocations: 0 / 0.824 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002367/0.5073, allocations: 262.6 kB / 0.8243 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5073, allocations: 8.219 kB / 0.8243 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5073, allocations: 0 / 0.8243 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5073, allocations: 1.875 kB / 0.8243 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.5074, allocations: 8.672 kB / 0.8243 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5074, allocations: 4.656 kB / 0.8243 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.5074, allocations: 19.48 kB / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.5074, allocations: 0.9062 kB / 0.8243 GB, free: 13.27 MB / 0.6198 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.71e-05/0.5075, allocations: 144.3 kB / 0.8245 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.5076, allocations: 21.67 kB / 0.8245 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.5078, allocations: 150.4 kB / 0.8246 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.5078, allocations: 5.062 kB / 0.8246 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5078, allocations: 4.031 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5078, allocations: 1.891 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.508, allocations: 210 kB / 0.8248 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.508, allocations: 0 / 0.8248 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.508, allocations: 8.188 kB / 0.8248 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.508, allocations: 0.75 kB / 0.8248 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.508, allocations: 0.6562 kB / 0.8249 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.508, allocations: 1.094 kB / 0.8249 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.508, allocations: 3.938 kB / 0.8249 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.5082, allocations: 241.9 kB / 0.8251 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.5082, allocations: 26.75 kB / 0.8251 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5082, allocations: 3.406 kB / 0.8251 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.5083, allocations: 5.812 kB / 0.8251 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.5083, allocations: 1.172 kB / 0.8251 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.5083, allocations: 3 kB / 0.8251 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002035/0.5085, allocations: 249.3 kB / 0.8254 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5085, allocations: 1.031 kB / 0.8254 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000242/0.5088, allocations: 66.25 kB / 0.8254 GB, free: 12.6 MB / 0.6198 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.0005066/0.5093, allocations: 0.8177 MB / 0.8262 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.5095, allocations: 147.7 kB / 0.8264 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5095, allocations: 0 / 0.8264 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.5096, allocations: 43.34 kB / 0.8264 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.5098, allocations: 21.48 kB / 0.8264 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.5123, allocations: 2.731 MB / 0.8291 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.5124, allocations: 130.7 kB / 0.8292 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.5125, allocations: 14.14 kB / 0.8292 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.5125, allocations: 54.39 kB / 0.8293 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5126, allocations: 1.125 kB / 0.8293 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.5333, allocations: 4.848 MB / 0.834 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/7.231, allocations: 4.953 kB / 0.834 GB, free: 9.207 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Interpolate.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.230499303899705] Failed to read output from testmodel.py, exit status != 0: 7.310719009954482 7.323247548 6.816874693 Calling exit ...