Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001165/0.001165, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001664/0.001664, allocations: 181 kB / 23.36 MB, free: 1.129 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.107/1.107, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.9147/0.9147, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 480.1 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.906e-05, allocations: 4.656 kB / 480.1 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00247/0.002499, allocations: 0.6816 MB / 480.8 MB, free: 6.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.004911, allocations: 1.478 MB / 482.3 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.004948, allocations: 0 / 482.3 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.179e-05/0.005009, allocations: 1.156 kB / 482.3 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.005063, allocations: 1.312 kB / 482.3 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.005902, allocations: 190.6 kB / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.006007, allocations: 41.56 kB / 482.5 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.006054, allocations: 3.938 kB / 482.5 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.006108, allocations: 18.08 kB / 482.5 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.00617, allocations: 21.06 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.006185, allocations: 1.625 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.006797, allocations: 294 kB / 482.8 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.006837, allocations: 5.75 kB / 482.8 MB, free: 4.215 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.006873, allocations: 14.86 kB / 482.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.007296, allocations: 269.8 kB / 483.1 MB, free: 3.941 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.0073, allocations: 1.062 kB / 483.1 MB, free: 3.941 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.007302, allocations: 0 / 483.1 MB, free: 3.941 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.007308, allocations: 0 / 483.1 MB, free: 3.941 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000465/0.007773, allocations: 310.8 kB / 483.4 MB, free: 3.613 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.007829, allocations: 8.031 kB / 483.4 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.007873, allocations: 8.344 kB / 483.4 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.007998, allocations: 117.7 kB / 483.5 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.008014, allocations: 4.375 kB / 483.5 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.008025, allocations: 4.312 kB / 483.5 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.008183, allocations: 86.69 kB / 483.6 MB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.008194, allocations: 4.188 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.008205, allocations: 384 / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.008213, allocations: 3.938 kB / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.008255, allocations: 38.27 kB / 483.7 MB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.008359, allocations: 67.8 kB / 483.7 MB, free: 3.227 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.008439, allocations: 61.56 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/0.008481, allocations: 46.58 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-06/0.008485, allocations: 0 / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.008516, allocations: 35.19 kB / 483.9 MB, free: 3.055 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.008517, allocations: 0 / 483.9 MB, free: 3.055 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002147/0.008732, allocations: 163.6 kB / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.008777, allocations: 89.66 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.008862, allocations: 114.8 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.008876, allocations: 26.33 kB / 484.3 MB, free: 2.609 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.008909, allocations: 92.12 kB / 484.4 MB, free: 2.516 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.008946, allocations: 20.44 kB / 484.4 MB, free: 2.496 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.00899, allocations: 26.31 kB / 484.4 MB, free: 2.465 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.009089, allocations: 318.8 kB / 484.7 MB, free: 2.145 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/0.009133, allocations: 45.14 kB / 484.8 MB, free: 2.094 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.009167, allocations: 37.69 kB / 484.8 MB, free: 2.051 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.636e-05/0.009264, allocations: 99.98 kB / 484.9 MB, free: 1.938 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009266, allocations: 0 / 484.9 MB, free: 1.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001348/0.0094, allocations: 126.7 kB / 485 MB, free: 1.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.009451, allocations: 37.69 kB / 485.1 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.009455, allocations: 0 / 485.1 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.009468, allocations: 0 / 485.1 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-06/0.009473, allocations: 4 kB / 485.1 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.009476, allocations: 0.9062 kB / 485.1 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.009538, allocations: 15.86 kB / 485.1 MB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.009558, allocations: 5 kB / 485.1 MB, free: 1.73 MB / 442.7 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.57e-05/0.009654, allocations: 150.4 kB / 485.2 MB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.009671, allocations: 8.531 kB / 485.2 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.009686, allocations: 5.938 kB / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.009688, allocations: 3.938 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.009693, allocations: 3.984 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.009697, allocations: 0 / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.00979, allocations: 73.83 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.009791, allocations: 1.688 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.009793, allocations: 0 / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009795, allocations: 0 / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.009804, allocations: 4 kB / 485.3 MB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009805, allocations: 0.625 kB / 485.3 MB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.009807, allocations: 0 / 485.3 MB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.009986, allocations: 175.9 kB / 485.5 MB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.009997, allocations: 7.953 kB / 485.5 MB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.01001, allocations: 0 / 485.5 MB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.01005, allocations: 19.98 kB / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.01006, allocations: 0 / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.01007, allocations: 5.125 kB / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.01011, allocations: 20.83 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01011, allocations: 0 / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003203/0.01043, allocations: 68.75 kB / 485.6 MB, free: 1.129 MB / 442.7 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003405/0.01077, allocations: 161.6 kB / 485.8 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.01096, allocations: 164.2 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.01096, allocations: 4 kB / 485.9 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.01105, allocations: 126.7 kB / 486.1 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.01116, allocations: 12.47 kB / 486.1 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.01147, allocations: 181.7 kB / 486.3 MB, free: 416 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.01152, allocations: 60.78 kB / 486.3 MB, free: 336 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.883e-06/0.01152, allocations: 0 / 486.3 MB, free: 336 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.01162, allocations: 63.38 kB / 486.4 MB, free: 272 kB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01162, allocations: 0.9375 kB / 486.4 MB, free: 272 kB / 442.7 MB Notification: Performance of Templates: time 0.005715/0.01733, allocations: 2.363 MB / 488.7 MB, free: 14.05 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8705117567442358]