Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin") translateModel(Annex60.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin") [: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.2909/0.2909, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001352/0.001352, allocations: 185 kB / 75.37 MB, free: 1.492 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.439/1.439, allocations: 194.2 MB / 283.2 MB, free: 3.523 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.002045/0.002045, allocations: 116 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.12e-05/1.123e-05, allocations: 4 kB / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 57.65 MB / 462.6 MB, free: 2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.4561, allocations: 84.85 MB / 0.5346 GB, free: 12.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.4564, allocations: 68.83 kB / 0.5347 GB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.003292/0.4597, allocations: 0.8373 MB / 0.5355 GB, free: 11.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4597, allocations: 0 / 0.5355 GB, free: 11.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004004/0.4601, allocations: 350.8 kB / 0.5358 GB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4602, allocations: 15.97 kB / 0.5358 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008343/0.461, allocations: 167.7 kB / 0.536 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.4612, allocations: 175 kB / 0.5362 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.4612, allocations: 0 / 0.5362 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.4612, allocations: 7.938 kB / 0.5362 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002153/0.4614, allocations: 122 kB / 0.5363 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4616, allocations: 116.7 kB / 0.5364 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4616, allocations: 0 / 0.5364 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.4616, allocations: 0 / 0.5364 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4617, allocations: 2.25 kB / 0.5364 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009074/0.4626, allocations: 448.5 kB / 0.5368 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.463, allocations: 163.3 kB / 0.537 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.4631, allocations: 48.62 kB / 0.537 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4631, allocations: 7.984 kB / 0.537 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4631, allocations: 46.08 kB / 0.5371 GB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4631, allocations: 0 / 0.5371 GB, free: 10.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000242/0.4634, allocations: 107.1 kB / 0.5372 GB, free: 9.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.4634, allocations: 59.28 kB / 0.5372 GB, free: 9.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.4635, allocations: 96.75 kB / 0.5373 GB, free: 9.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4635, allocations: 27.78 kB / 0.5374 GB, free: 9.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.4636, allocations: 92.03 kB / 0.5374 GB, free: 9.656 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.4636, allocations: 7.406 kB / 0.5375 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-06/0.4636, allocations: 0 / 0.5375 GB, free: 9.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4637, allocations: 314.8 kB / 0.5378 GB, free: 9.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.4638, allocations: 46.53 kB / 0.5378 GB, free: 9.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.4639, allocations: 42.47 kB / 0.5378 GB, free: 9.273 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.4639, allocations: 36.28 kB / 0.5379 GB, free: 9.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4639, allocations: 0 / 0.5379 GB, free: 9.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002328/0.4642, allocations: 110.9 kB / 0.538 GB, free: 9.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.4642, allocations: 4 kB / 0.538 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4642, allocations: 0 / 0.538 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.4642, allocations: 0 / 0.538 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.4645, allocations: 52.69 kB / 0.538 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.4645, allocations: 4 kB / 0.538 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.4647, allocations: 40.53 kB / 0.5381 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4648, allocations: 11.83 kB / 0.5381 GB, free: 9.043 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 (3): * Single equations (assignments): 3 * 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 8.158e-05/0.4649, allocations: 105.5 kB / 0.5382 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.4649, allocations: 3.938 kB / 0.5382 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.465, allocations: 9.625 kB / 0.5382 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.465, allocations: 3.906 kB / 0.5382 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.465, allocations: 0.875 kB / 0.5382 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.465, allocations: 4 kB / 0.5382 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.4652, allocations: 188.3 kB / 0.5384 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4652, allocations: 0 / 0.5384 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.4655, allocations: 48.95 kB / 0.5384 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4655, allocations: 0 / 0.5384 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4655, allocations: 0.875 kB / 0.5384 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4655, allocations: 3.906 kB / 0.5384 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4655, allocations: 0 / 0.5384 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002459/0.4658, allocations: 207.4 kB / 0.5386 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.4658, allocations: 85.02 kB / 0.5387 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.4658, allocations: 0 / 0.5387 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.4661, allocations: 45.2 kB / 0.5388 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.4661, allocations: 7.938 kB / 0.5388 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4662, allocations: 3.984 kB / 0.5388 GB, free: 8.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.65e-05/0.4662, allocations: 82.41 kB / 0.5389 GB, free: 8.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000237/0.4665, allocations: 19.91 kB / 0.5389 GB, free: 8.207 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 (3): * Single equations (assignments): 3 * 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.0001032/0.4666, allocations: 91.75 kB / 0.539 GB, free: 8.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.4668, allocations: 97.05 kB / 0.5391 GB, free: 8.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4668, allocations: 8.438 kB / 0.5391 GB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.4669, allocations: 49.16 kB / 0.5391 GB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.467, allocations: 2.094 kB / 0.5391 GB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.4677, allocations: 189.9 kB / 0.5393 GB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.4681, allocations: 0.7116 MB / 0.54 GB, free: 7.066 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4681, allocations: 0 / 0.54 GB, free: 7.066 MB / 378.7 MB Notification: Performance of Templates: time 0.003039/0.4712, allocations: 1.158 MB / 0.5411 GB, free: 5.922 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe 2>&1)