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.0008373/0.0008373, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002109, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006971/0.0006971, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008954/0.001592, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.004/1.004, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09544/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.8248/0.8248, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.285/1.11, allocations: 49.04 MB / 447.8 MB, free: 6.613 MB / 426.7 MB " [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.403e-06/1.403e-06, allocations: 0 / 449.2 MB, free: 5.281 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.191e-05, allocations: 5.766 kB / 449.2 MB, free: 5.277 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002137/0.002149, allocations: 1.574 MB / 450.7 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.005993, allocations: 0.6084 MB / 451.4 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.006036, allocations: 1.406 kB / 451.4 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.006059, allocations: 7.922 kB / 451.4 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.656e-05/0.006085, allocations: 2.953 kB / 451.4 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.006255, allocations: 52.56 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.006351, allocations: 29.64 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.006432, allocations: 16.89 kB / 451.5 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.006574, allocations: 29.67 kB / 451.5 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.006627, allocations: 9.734 kB / 451.5 MB, free: 2.996 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.006642, allocations: 4 kB / 451.5 MB, free: 2.992 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.00678, allocations: 60.81 kB / 451.6 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.006797, allocations: 6.188 kB / 451.6 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.006814, allocations: 6.375 kB / 451.6 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.006966, allocations: 58.89 kB / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.006978, allocations: 0 / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006979, allocations: 0 / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.006994, allocations: 0.6875 kB / 451.6 MB, free: 2.871 MB / 426.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.0003636/0.007358, allocations: 264.3 kB / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.007391, allocations: 8.031 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.007546, allocations: 90.03 kB / 452 MB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.007677, allocations: 128.5 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.007684, allocations: 384 / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.007695, allocations: 5 kB / 452.1 MB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.00778, allocations: 52.61 kB / 452.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.007786, allocations: 192 / 452.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.007793, allocations: 384 / 452.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.0078, allocations: 5.719 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.007819, allocations: 4 kB / 452.2 MB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.007997, allocations: 145.8 kB / 452.3 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.554e-05/0.008042, allocations: 27.05 kB / 452.3 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.008058, allocations: 12.89 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.00835, allocations: 77.75 kB / 452.4 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.00837, allocations: 35.19 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.008372, allocations: 3.312 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.008508, allocations: 42.56 kB / 452.5 MB, free: 1.891 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.008538, allocations: 55.39 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.008602, allocations: 114.7 kB / 452.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.008612, allocations: 25.7 kB / 452.7 MB, free: 1.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.008642, allocations: 80.14 kB / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.008659, allocations: 11.94 kB / 452.8 MB, free: 1.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.008686, allocations: 9.719 kB / 452.8 MB, free: 1.559 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.008769, allocations: 323.7 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-06/0.008776, allocations: 0.875 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.008786, allocations: 5.219 kB / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.008809, allocations: 8.859 kB / 453.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008811, allocations: 0 / 453.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.292e-05/0.008864, allocations: 42.38 kB / 453.2 MB, free: 1.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.008877, allocations: 4.5 kB / 453.2 MB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008881, allocations: 0.6875 kB / 453.2 MB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.008894, allocations: 3.938 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.008945, allocations: 12.55 kB / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.008947, allocations: 0 / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.008966, allocations: 4.562 kB / 453.2 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.00897, allocations: 4.609 kB / 453.2 MB, free: 1.145 MB / 426.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 4.824e-05/0.009019, allocations: 106.5 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.009037, allocations: 4 kB / 453.3 MB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.009109, allocations: 47.94 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009112, allocations: 7.938 kB / 453.4 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.009113, allocations: 5.656 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.009117, allocations: 3.984 kB / 453.4 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.009218, allocations: 65.89 kB / 453.4 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.009219, allocations: 0 / 453.4 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.009242, allocations: 8.891 kB / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.009249, allocations: 7.953 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.00925, allocations: 0 / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.009254, allocations: 1 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009256, allocations: 3.938 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.009256, allocations: 0 / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.593e-05/0.009332, allocations: 132.9 kB / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.009341, allocations: 0 / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.284e-05/0.009384, allocations: 0.6562 kB / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.00941, allocations: 15.92 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.009412, allocations: 1.219 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.866e-05/0.009431, allocations: 16.78 kB / 453.6 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009431, allocations: 0 / 453.6 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.009622, allocations: 19.92 kB / 453.6 MB, free: 0.6602 MB / 426.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.000121/0.009743, allocations: 93.41 kB / 453.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.009799, allocations: 17.95 kB / 453.8 MB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.009804, allocations: 0 / 453.8 MB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.009827, allocations: 13.58 kB / 453.8 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.009965, allocations: 10.86 kB / 453.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.01066, allocations: 134.6 kB / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.01069, allocations: 59.34 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.801e-05/0.01071, allocations: 4 kB / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.01074, allocations: 47.38 kB / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01074, allocations: 0.5625 kB / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of Templates: time 0.005368/0.01611, allocations: 0.7639 MB / 454.8 MB, free: 15.53 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.643994747661054]