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.0009431/0.0009431, allocations: 97.06 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.001914/0.001914, 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7777/0.7777, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.713e-06/1.713e-06, allocations: 0 / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.749e-05, allocations: 4.906 kB / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002087/0.002115, allocations: 1.497 MB / 0.5218 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.002978, allocations: 0.6155 MB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.003038, allocations: 0 / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.003072, allocations: 3.938 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.003124, allocations: 1.594 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.003465, allocations: 63.73 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.003579, allocations: 23.98 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.003673, allocations: 4.906 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.003815, allocations: 39.78 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.003871, allocations: 10.14 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.003887, allocations: 0 / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.003999, allocations: 55.95 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.004011, allocations: 7.922 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.00403, allocations: 8 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004182, allocations: 71.73 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004184, allocations: 0.75 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004185, allocations: 0 / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.004189, allocations: 0.7188 kB / 0.5227 GB, free: 15.8 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.0004194/0.004609, allocations: 377.3 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.004653, allocations: 8.031 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.004813, allocations: 18.31 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.00499, allocations: 132.4 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.005001, allocations: 384 / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.005011, allocations: 384 / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.005151, allocations: 55.72 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005161, allocations: 192 / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.005175, allocations: 1.156 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.005185, allocations: 3.938 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.005217, allocations: 7.125 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.005512, allocations: 255.8 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/0.005568, allocations: 27.12 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.005588, allocations: 11.69 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.005892, allocations: 80.38 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.005916, allocations: 42.17 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.005917, allocations: 4 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001563/0.006073, allocations: 42.38 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.006107, allocations: 60.38 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.006183, allocations: 169.9 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.006193, allocations: 26.48 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.006243, allocations: 134.8 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.00626, allocations: 4 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.006287, allocations: 20.19 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006412, allocations: 0.4923 MB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.006427, allocations: 0.5 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.006439, allocations: 5.031 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.006473, allocations: 11.69 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006475, allocations: 1.219 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.537e-05/0.00654, allocations: 49.58 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.006555, allocations: 14.44 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006559, allocations: 0 / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.006571, allocations: 1.625 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.006637, allocations: 4 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.006643, allocations: 0 / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.006661, allocations: 3.984 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.006668, allocations: 5.031 kB / 0.5247 GB, free: 13.58 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 8.438e-05/0.006752, allocations: 152.6 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.006783, allocations: 8.766 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.006924, allocations: 56.84 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.006927, allocations: 3.438 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006931, allocations: 0 / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006935, allocations: 0 / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.007084, allocations: 120.6 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.007087, allocations: 0 / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.007125, allocations: 7.984 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.007128, allocations: 0 / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.007137, allocations: 3.938 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.007139, allocations: 0 / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007141, allocations: 0 / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.007289, allocations: 190.9 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.007298, allocations: 3.953 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.007313, allocations: 7.938 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.007369, allocations: 0 / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.007404, allocations: 7.938 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.007411, allocations: 4 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.53e-05/0.007466, allocations: 135.5 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007466, allocations: 1.625 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002458/0.007712, allocations: 15.94 kB / 0.5254 GB, free: 12.82 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.0001894/0.007901, allocations: 119.1 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.008015, allocations: 17.05 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.008018, allocations: 4 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.008042, allocations: 10.44 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.008315, allocations: 6.109 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.008946, allocations: 142.1 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.008992, allocations: 55.34 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.009019, allocations: 6.281 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.009048, allocations: 8.5 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.009049, allocations: 0 / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.002773/0.01182, allocations: 0.7645 MB / 0.5265 GB, free: 11.68 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.6926678009331226]