Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001127/0.001127, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001352/0.001352, allocations: 181 kB / 23.36 MB, free: 1.133 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.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.7492/0.7492, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0.6562 kB / 480 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.131e-05, allocations: 2.312 kB / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002205/0.002226, allocations: 1.509 MB / 481.5 MB, free: 5.379 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.003089, allocations: 0.6095 MB / 482.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.003137, allocations: 5.281 kB / 482.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.003162, allocations: 4.922 kB / 482.1 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.003209, allocations: 2.297 kB / 482.1 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.003463, allocations: 57.08 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.091e-05/0.003554, allocations: 27.89 kB / 482.2 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.003747, allocations: 20.45 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.003861, allocations: 27.08 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.003902, allocations: 8.75 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.003913, allocations: 0.9375 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.004017, allocations: 51.95 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.004032, allocations: 14.06 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.004045, allocations: 1.844 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.004177, allocations: 77.16 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004179, allocations: 0.7188 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00418, allocations: 0 / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.004183, allocations: 0.8438 kB / 482.4 MB, free: 4.504 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003284/0.007466, allocations: 260.5 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.007498, allocations: 9.188 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.007601, allocations: 12.92 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.007718, allocations: 127.5 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.007726, allocations: 384 / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.007735, allocations: 384 / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.154e-05/0.007816, allocations: 54.94 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.007823, allocations: 4.188 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.007828, allocations: 384 / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.007835, allocations: 4.906 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.007854, allocations: 4 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.00802, allocations: 144.9 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.008057, allocations: 19.23 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.008071, allocations: 8.859 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.008365, allocations: 78.3 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.008385, allocations: 30.56 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.008386, allocations: 0.875 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001102/0.008496, allocations: 46.44 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.008525, allocations: 51.41 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.008587, allocations: 126.6 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.008596, allocations: 26.36 kB / 483.4 MB, free: 3.398 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.008623, allocations: 88.62 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.008639, allocations: 7.953 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.008665, allocations: 10.38 kB / 483.5 MB, free: 3.285 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.008738, allocations: 318.8 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.008746, allocations: 0.625 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-06/0.008755, allocations: 8.516 kB / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.008778, allocations: 9.453 kB / 483.8 MB, free: 2.945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.008781, allocations: 4.594 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.097e-05/0.008832, allocations: 42.44 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.008842, allocations: 4 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.008846, allocations: 1.781 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.008858, allocations: 3.938 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.008903, allocations: 8 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.008905, allocations: 0 / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.008921, allocations: 4 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.008925, allocations: 0.5312 kB / 483.9 MB, free: 2.875 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 (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 5.018e-05/0.008975, allocations: 110.6 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.008995, allocations: 4 kB / 484 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.009069, allocations: 51.23 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.009071, allocations: 3.938 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-06/0.009073, allocations: 4 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009076, allocations: 4.703 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.009179, allocations: 69.88 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.00918, allocations: 0 / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.009198, allocations: 4 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.009202, allocations: 0 / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.009207, allocations: 0.5938 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.009208, allocations: 1.219 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.009208, allocations: 4 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.987e-05/0.009278, allocations: 131.5 kB / 484.3 MB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.009283, allocations: 0.5938 kB / 484.3 MB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.009294, allocations: 9.891 kB / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.009335, allocations: 0 / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.009357, allocations: 7.875 kB / 484.3 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.00936, allocations: 0 / 484.3 MB, free: 2.438 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.655e-05/0.009376, allocations: 24.78 kB / 484.3 MB, free: 2.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009376, allocations: 0 / 484.3 MB, free: 2.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.009572, allocations: 16.69 kB / 484.3 MB, free: 2.395 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 (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.0001127/0.009685, allocations: 97.17 kB / 484.4 MB, free: 2.293 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.529e-05/0.00973, allocations: 10.02 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.009732, allocations: 0 / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.00975, allocations: 13.97 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.009879, allocations: 6.391 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.01025, allocations: 131.4 kB / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.378e-05/0.01028, allocations: 56.22 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.003e-05/0.0103, allocations: 8 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.01033, allocations: 48.78 kB / 484.7 MB, free: 1.98 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01033, allocations: 0 / 484.7 MB, free: 1.98 MB / 442.7 MB Notification: Performance of Templates: time 0.002386/0.01272, allocations: 0.7591 MB / 485.5 MB, free: 1.281 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.621189766097814]