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.0008276/0.0008276, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 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.001086/0.001086, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9377/0.9377, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7492/0.7492, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate") translateModel(IDEAS.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate") [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.0008899/0.0008899, allocations: 66.97 kB / 0.6196 GB, free: 11.98 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5558/0.5567, allocations: 102 MB / 0.7192 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.002188/0.5588, allocations: 1.505 MB / 0.7206 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.5599, allocations: 0.719 MB / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.5599, allocations: 0 / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.5602, allocations: 135.7 kB / 0.7215 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.5602, allocations: 71.83 kB / 0.7215 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.5608, allocations: 191.4 kB / 0.7217 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.5609, allocations: 63.86 kB / 0.7218 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.561, allocations: 4 kB / 0.7218 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.561, allocations: 43.88 kB / 0.7218 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.5611, allocations: 95.81 kB / 0.7219 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.5612, allocations: 0 / 0.7219 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.5615, allocations: 239.6 kB / 0.7222 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.766e-05/0.5616, allocations: 59.83 kB / 0.7222 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.5616, allocations: 43.61 kB / 0.7223 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.5619, allocations: 282.9 kB / 0.7225 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5619, allocations: 0 / 0.7225 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5619, allocations: 4 kB / 0.7225 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5619, allocations: 0 / 0.7225 GB, free: 10.24 MB / 0.6042 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.0005468/0.5625, allocations: 444.8 kB / 0.7229 GB, free: 9.773 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5625, allocations: 12.03 kB / 0.723 GB, free: 9.762 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.5626, allocations: 24.73 kB / 0.723 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.5628, allocations: 206.7 kB / 0.7232 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.5628, allocations: 384 / 0.7232 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.5628, allocations: 8.375 kB / 0.7232 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.563, allocations: 77.91 kB / 0.7233 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.563, allocations: 0 / 0.7233 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.563, allocations: 0 / 0.7233 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.563, allocations: 0 / 0.7233 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.5631, allocations: 91.92 kB / 0.7234 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.5635, allocations: 336.5 kB / 0.7237 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.5637, allocations: 94.41 kB / 0.7238 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.5637, allocations: 48.89 kB / 0.7238 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.5638, allocations: 15.98 kB / 0.7238 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.5638, allocations: 38.55 kB / 0.7239 GB, free: 8.762 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.5638, allocations: 4 kB / 0.7239 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003148/0.5641, allocations: 169.5 kB / 0.724 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5642, allocations: 55.41 kB / 0.7241 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.5644, allocations: 360.4 kB / 0.7244 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.5644, allocations: 25.7 kB / 0.7244 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.5647, allocations: 136.1 kB / 0.7246 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.5647, allocations: 7.938 kB / 0.7246 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.5648, allocations: 33.69 kB / 0.7246 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.5648, allocations: 338.9 kB / 0.7249 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.565, allocations: 95.94 kB / 0.725 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.565, allocations: 94.77 kB / 0.7251 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.5652, allocations: 208.7 kB / 0.7253 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5652, allocations: 0 / 0.7253 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000234/0.5655, allocations: 257.3 kB / 0.7256 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5655, allocations: 12 kB / 0.7256 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5655, allocations: 3.984 kB / 0.7256 GB, free: 6.941 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5655, allocations: 0 / 0.7256 GB, free: 6.941 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.5656, allocations: 15.92 kB / 0.7256 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5656, allocations: 0 / 0.7256 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.5656, allocations: 15.88 kB / 0.7256 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5656, allocations: 4.094 kB / 0.7256 GB, free: 6.906 MB / 0.6042 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.405e-05/0.5657, allocations: 142.7 kB / 0.7258 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.5658, allocations: 35.72 kB / 0.7258 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.566, allocations: 150.7 kB / 0.7259 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.566, allocations: 0 / 0.7259 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.566, allocations: 0 / 0.7259 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.566, allocations: 0 / 0.7259 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.5661, allocations: 185.2 kB / 0.7261 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5661, allocations: 3.938 kB / 0.7261 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.5662, allocations: 7.984 kB / 0.7261 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5662, allocations: 0 / 0.7261 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.5662, allocations: 8.031 kB / 0.7261 GB, free: 6.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5662, allocations: 3.938 kB / 0.7261 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5662, allocations: 0 / 0.7261 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.5664, allocations: 231.3 kB / 0.7263 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.5664, allocations: 27.8 kB / 0.7264 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.5664, allocations: 0 / 0.7264 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.5664, allocations: 7.984 kB / 0.7264 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.5665, allocations: 0 / 0.7264 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.5665, allocations: 8 kB / 0.7264 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001622/0.5667, allocations: 255 kB / 0.7266 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.5667, allocations: 0 / 0.7266 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002628/0.5669, allocations: 63.88 kB / 0.7267 GB, free: 5.738 MB / 0.6042 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.0002418/0.5672, allocations: 151.1 kB / 0.7268 GB, free: 5.582 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.5674, allocations: 143.8 kB / 0.727 GB, free: 5.441 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5674, allocations: 0 / 0.727 GB, free: 5.441 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/0.5675, allocations: 47.97 kB / 0.727 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.5678, allocations: 27.05 kB / 0.727 GB, free: 5.371 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.5683, allocations: 379.6 kB / 0.7274 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.882e-05/0.5684, allocations: 131.3 kB / 0.7275 GB, free: 4.824 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.5684, allocations: 12.5 kB / 0.7275 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.5684, allocations: 12.5 kB / 0.7276 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.5684, allocations: 0 / 0.7276 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of Templates: time 0.004287/0.5727, allocations: 2.134 MB / 0.7296 GB, free: 2.68 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.371708501013927] Failed to read output from testmodel.py, exit status != 0: 0.5791844219202176 0.589076958 0.025279525 Calling exit ...