Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2801/0.2801, allocations: 54.39 MB / 61.67 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001135/0.001135, allocations: 184.5 kB / 75.37 MB, free: 1.504 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.464/1.464, allocations: 194.2 MB / 283.2 MB, free: 3.488 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001923/0.001923, allocations: 110.2 kB / 341.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-06/3.947e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 57.65 MB / 462.6 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/0.4756, allocations: 85.36 MB / 0.5351 GB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.4758, allocations: 71.41 kB / 0.5352 GB, free: 11.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.0038/0.4796, allocations: 1.019 MB / 0.5362 GB, free: 10.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.4797, allocations: 0 / 0.5362 GB, free: 10.79 MB / 378.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.0003345/0.48, allocations: 346.3 kB / 0.5365 GB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4801, allocations: 15.95 kB / 0.5365 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.4801, allocations: 0 / 0.5365 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.4802, allocations: 178.5 kB / 0.5367 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4803, allocations: 0.875 kB / 0.5367 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.4803, allocations: 0 / 0.5367 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.421e-05/0.4804, allocations: 11.06 kB / 0.5367 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.332e-05/0.4804, allocations: 33.69 kB / 0.5367 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.4804, allocations: 0 / 0.5367 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4805, allocations: 0 / 0.5367 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4805, allocations: 11.84 kB / 0.5367 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.4808, allocations: 232.5 kB / 0.537 GB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.4809, allocations: 26.08 kB / 0.537 GB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.4809, allocations: 8.797 kB / 0.537 GB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/0.4816, allocations: 477.5 kB / 0.5375 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.4816, allocations: 32.44 kB / 0.5375 GB, free: 9.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/0.4816, allocations: 0 / 0.5375 GB, free: 9.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.482, allocations: 93.89 kB / 0.5376 GB, free: 9.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.482, allocations: 55.41 kB / 0.5376 GB, free: 9.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.4821, allocations: 96.75 kB / 0.5377 GB, free: 8.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.4821, allocations: 25.7 kB / 0.5377 GB, free: 8.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.4822, allocations: 87.44 kB / 0.5378 GB, free: 8.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.4822, allocations: 7.844 kB / 0.5378 GB, free: 8.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.4822, allocations: 2.188 kB / 0.5378 GB, free: 8.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4823, allocations: 314.8 kB / 0.5381 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.4824, allocations: 11.28 kB / 0.5382 GB, free: 8.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.4824, allocations: 7.562 kB / 0.5382 GB, free: 8.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.4826, allocations: 47.81 kB / 0.5382 GB, free: 8.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4826, allocations: 64 / 0.5382 GB, free: 8.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002483/0.4828, allocations: 88.69 kB / 0.5383 GB, free: 8.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4829, allocations: 4 kB / 0.5383 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.4829, allocations: 0 / 0.5383 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.4829, allocations: 0 / 0.5383 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.483, allocations: 19.95 kB / 0.5383 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.483, allocations: 0 / 0.5383 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.483, allocations: 0 / 0.5383 GB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.483, allocations: 7.906 kB / 0.5383 GB, free: 8.371 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/0.4831, allocations: 101 kB / 0.5384 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.4831, allocations: 0 / 0.5384 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.4834, allocations: 104.2 kB / 0.5385 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4834, allocations: 0 / 0.5385 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4835, allocations: 4 kB / 0.5385 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.4835, allocations: 0 / 0.5385 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.4836, allocations: 144.2 kB / 0.5387 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4836, allocations: 4.031 kB / 0.5387 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.4837, allocations: 7.984 kB / 0.5387 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4837, allocations: 0 / 0.5387 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4837, allocations: 7.984 kB / 0.5387 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4837, allocations: 0 / 0.5387 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4837, allocations: 3.906 kB / 0.5387 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002758/0.484, allocations: 184.1 kB / 0.5389 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.484, allocations: 81.02 kB / 0.5389 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.484, allocations: 0 / 0.5389 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.4841, allocations: 4 kB / 0.5389 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.4842, allocations: 8.016 kB / 0.5389 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.4842, allocations: 0 / 0.5389 GB, free: 7.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.68e-05/0.4842, allocations: 86.91 kB / 0.539 GB, free: 7.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.4845, allocations: 23.94 kB / 0.5391 GB, free: 7.566 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.4846, allocations: 115.2 kB / 0.5392 GB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.4847, allocations: 16.06 kB / 0.5392 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4847, allocations: 0 / 0.5392 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.4847, allocations: 5.625 kB / 0.5392 GB, free: 7.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.4849, allocations: 12.53 kB / 0.5392 GB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.4851, allocations: 66.28 kB / 0.5393 GB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.4854, allocations: 0.6965 MB / 0.5399 GB, free: 6.609 MB / 378.7 MB Notification: Performance of SimCode: time 6.22e-07/0.4854, allocations: 4 kB / 0.5399 GB, free: 6.605 MB / 378.7 MB Notification: Performance of Templates: time 0.002477/0.4879, allocations: 0.6594 MB / 0.5406 GB, free: 5.957 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)