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.001367/0.001367, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001625/0.001625, allocations: 169 kB / 23.28 MB, free: 1.215 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.105/1.105, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7969/0.7969, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.473e-06/1.473e-06, allocations: 0 / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.56e-05, allocations: 6.281 kB / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002258/0.002274, allocations: 1.507 MB / 0.5222 GB, free: 408 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009942/0.003268, allocations: 0.6022 MB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.003318, allocations: 4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.003339, allocations: 0 / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.003384, allocations: 8.375 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.003644, allocations: 60.83 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.003734, allocations: 23.88 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.641e-05/0.00381, allocations: 13.08 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.003929, allocations: 27.91 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.003972, allocations: 15.86 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.003985, allocations: 0.625 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.004101, allocations: 51.95 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.004115, allocations: 13.36 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.00413, allocations: 0 / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.004268, allocations: 75.73 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00427, allocations: 0.5625 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.41e-07/0.00427, allocations: 0 / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.004273, allocations: 0.625 kB / 0.5231 GB, free: 15.51 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.0002961/0.004569, allocations: 381.7 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.004602, allocations: 8.031 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.004713, allocations: 16.88 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.004816, allocations: 117.4 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.004825, allocations: 8.375 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-06/0.00483, allocations: 1.531 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.004911, allocations: 58.86 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-06/0.004916, allocations: 192 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004922, allocations: 1.125 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.004928, allocations: 7.938 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.004947, allocations: 4.625 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.005147, allocations: 232.4 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.715e-05/0.005194, allocations: 39.81 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.00521, allocations: 8.625 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/0.005555, allocations: 86.59 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005577, allocations: 41.38 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.005578, allocations: 0 / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.005704, allocations: 41.64 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.005732, allocations: 52.75 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.282e-05/0.005814, allocations: 169.8 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.005827, allocations: 25.7 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.00588, allocations: 147.4 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.005894, allocations: 0 / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.005928, allocations: 20.41 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.00605, allocations: 0.4884 MB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-06/0.006059, allocations: 1.219 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.006069, allocations: 4 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.006098, allocations: 16.25 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.006099, allocations: 0 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.186e-05/0.006161, allocations: 42.61 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.006173, allocations: 8 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006178, allocations: 4.906 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.006186, allocations: 3.938 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.006229, allocations: 6.75 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006232, allocations: 0 / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.006248, allocations: 0 / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.006253, allocations: 4 kB / 0.5251 GB, free: 13.31 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 (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 6.226e-05/0.006315, allocations: 156.6 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.006339, allocations: 7.953 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.006415, allocations: 52.84 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006417, allocations: 2.688 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006419, allocations: 0 / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006421, allocations: 0 / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.006542, allocations: 97.27 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.006545, allocations: 3.984 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.006565, allocations: 4 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006567, allocations: 3.938 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.006571, allocations: 9.188 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006572, allocations: 0 / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.006574, allocations: 3.938 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.442e-05/0.006669, allocations: 192.6 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.006676, allocations: 11.38 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.006686, allocations: 0 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.006734, allocations: 4 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.006758, allocations: 7.922 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.00676, allocations: 0 / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.006801, allocations: 131.2 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006801, allocations: 0 / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002291/0.00703, allocations: 19.92 kB / 0.5258 GB, free: 12.57 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.0001176/0.007148, allocations: 109.7 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.672e-05/0.007205, allocations: 23.61 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007206, allocations: 0 / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.007223, allocations: 11.69 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.007424, allocations: 4 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.007807, allocations: 136.2 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.007844, allocations: 59.3 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.007861, allocations: 0 / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.007899, allocations: 78.97 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of SimCode: time 6.22e-07/0.0079, allocations: 0 / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.002376/0.01028, allocations: 0.7686 MB / 0.5269 GB, free: 11.37 MB / 0.4948 GB " [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.6861851760186255]