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.0009084/0.0009084, allocations: 92.22 kB / 19.65 MB, free: 276 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.001143/0.001143, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.621 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-545:108: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-545:116: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.7837/0.7837, allocations: 154.6 MB / 414.5 MB, free: 0.668 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: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 3.984 kB / 0.5204 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.424e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.094 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Interpolate): time 0.001967/0.001991, allocations: 1.552 MB / 0.5219 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.002919, allocations: 0.7407 MB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.002959, allocations: 0 / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.003166, allocations: 134 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.541e-05/0.003252, allocations: 72.27 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.003827, allocations: 181.4 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.00394, allocations: 72.42 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.003976, allocations: 0 / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.004053, allocations: 48.52 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.004147, allocations: 81.14 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.00416, allocations: 0 / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.004461, allocations: 243.6 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.004538, allocations: 71.7 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.004574, allocations: 29.67 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.004873, allocations: 295.2 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004875, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004876, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.00488, allocations: 0 / 0.5238 GB, free: 14.62 MB / 0.4948 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.0005074/0.005388, allocations: 0.5359 MB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.005423, allocations: 8.031 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.005474, allocations: 20.8 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005636, allocations: 192.7 kB / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-06/0.005643, allocations: 5.125 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.00565, allocations: 384 / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.317e-05/0.005733, allocations: 48.36 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.005738, allocations: 192 / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.005745, allocations: 4.359 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.005752, allocations: 7.938 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.005771, allocations: 5.344 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.006062, allocations: 331.8 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.00611, allocations: 32.75 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.006128, allocations: 11.75 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.006168, allocations: 19.98 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.006189, allocations: 49.25 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.00619, allocations: 2.188 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001299/0.00632, allocations: 61.45 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.00635, allocations: 51.41 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.006582, allocations: 362.3 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.006594, allocations: 25.7 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.006679, allocations: 199.3 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.00669, allocations: 4.516 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.006724, allocations: 35.36 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.006845, allocations: 0.5128 MB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.00687, allocations: 16 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.006886, allocations: 17.03 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.006937, allocations: 61.78 kB / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006938, allocations: 0 / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.034e-05/0.007029, allocations: 108.7 kB / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007041, allocations: 10.12 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007046, allocations: 0 / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.007056, allocations: 3.984 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.202e-05/0.007098, allocations: 8 kB / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.007104, allocations: 3.984 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.007128, allocations: 11.89 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.007132, allocations: 0 / 0.5265 GB, free: 11.7 MB / 0.4948 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 6.283e-05/0.007195, allocations: 163.6 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.007215, allocations: 23.8 kB / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.007293, allocations: 62.36 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.007295, allocations: 0 / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.007297, allocations: 0 / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.007299, allocations: 0 / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.007429, allocations: 188.5 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.007431, allocations: 5.484 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.007447, allocations: 4 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007448, allocations: 0 / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.007453, allocations: 3.938 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.007455, allocations: 4.5 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.007456, allocations: 2.688 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.823e-05/0.007544, allocations: 203.8 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.007567, allocations: 27.8 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.007579, allocations: 3.938 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.749e-05/0.007606, allocations: 0 / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.007634, allocations: 3.984 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.007637, allocations: 6.438 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001159/0.007753, allocations: 235 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007753, allocations: 0 / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002069/0.00796, allocations: 67.81 kB / 0.5274 GB, free: 10.66 MB / 0.4948 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.0001908/0.008151, allocations: 163.1 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.008236, allocations: 43.36 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.008238, allocations: 0 / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.008252, allocations: 15.67 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.008422, allocations: 13.97 kB / 0.5276 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.008941, allocations: 331.4 kB / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.735e-05/0.008988, allocations: 83.92 kB / 0.528 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.009016, allocations: 9.906 kB / 0.5281 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.009041, allocations: 12.5 kB / 0.5281 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.009041, allocations: 0 / 0.5281 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of Templates: time 0.004167/0.01321, allocations: 2.26 MB / 0.5303 GB, free: 7.801 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8515804917551577]