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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 196.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4115/0.4115, allocations: 54.93 MB / 324.3 MB, free: 48 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 394.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1391, allocations: 59.59 MB / 454.3 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.2443/0.3834, allocations: 1.491 MB / 455.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003808/0.3839, allocations: 130.4 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.3839, allocations: 0 / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.384, allocations: 3.828 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.3841, allocations: 7.562 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3843, allocations: 24.66 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.3844, allocations: 43.89 kB / 456 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3845, allocations: 24.48 kB / 456 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.3846, allocations: 13.45 kB / 456 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.3846, allocations: 20.25 kB / 456 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3846, allocations: 2.844 kB / 456 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.3847, allocations: 27.16 kB / 456.1 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.3848, allocations: 11.28 kB / 456.1 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.3848, allocations: 23.45 kB / 456.1 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.3849, allocations: 52.73 kB / 456.1 MB, free: 39.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3849, allocations: 7.75 kB / 456.2 MB, free: 39.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3849, allocations: 0 / 456.2 MB, free: 39.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3849, allocations: 0 / 456.2 MB, free: 39.14 MB / 382.1 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.0003973/0.3853, allocations: 359 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3854, allocations: 8.906 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3864, allocations: 217.9 kB / 456.7 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.222e-05/0.3865, allocations: 169 kB / 456.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3865, allocations: 5.438 kB / 456.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3866, allocations: 2.875 kB / 456.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.3871, allocations: 199.4 kB / 457.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3871, allocations: 1.031 kB / 457.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3871, allocations: 2.25 kB / 457.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3871, allocations: 2.719 kB / 457.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.3879, allocations: 280 kB / 457.4 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.3887, allocations: 439.1 kB / 457.8 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.3896, allocations: 289.1 kB / 458.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.3899, allocations: 97.47 kB / 458.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.39, allocations: 0 / 458.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.39, allocations: 43.5 kB / 458.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.39, allocations: 0.9062 kB / 458.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001014/0.391, allocations: 307.5 kB / 458.5 MB, free: 38.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.3911, allocations: 52.16 kB / 458.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.3911, allocations: 126.4 kB / 458.7 MB, free: 38.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3912, allocations: 28.52 kB / 458.7 MB, free: 37.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.3912, allocations: 88.05 kB / 458.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3912, allocations: 5.312 kB / 458.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.3913, allocations: 22.22 kB / 458.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.3913, allocations: 322 kB / 459.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.3917, allocations: 92.05 kB / 459.2 MB, free: 37.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.392, allocations: 98.03 kB / 459.3 MB, free: 37.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005609/0.3925, allocations: 168.7 kB / 459.5 MB, free: 37.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3926, allocations: 1.875 kB / 459.5 MB, free: 37.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006319/0.3932, allocations: 220.3 kB / 459.7 MB, free: 37.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3932, allocations: 10.25 kB / 459.7 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3932, allocations: 0.625 kB / 459.7 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3933, allocations: 1.031 kB / 459.7 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.3935, allocations: 33.3 kB / 459.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3935, allocations: 3.234 kB / 459.8 MB, free: 37.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.3937, allocations: 28.36 kB / 459.8 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3937, allocations: 8.141 kB / 459.8 MB, free: 37.51 MB / 382.1 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 (3): * Single equations (assignments): 3 * 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.928e-05/0.3938, allocations: 121.2 kB / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.3938, allocations: 6.719 kB / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.3939, allocations: 13.61 kB / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3939, allocations: 0 / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3939, allocations: 0 / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3939, allocations: 0.5938 kB / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3941, allocations: 213 kB / 460.1 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3941, allocations: 0.5 kB / 460.1 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3943, allocations: 39.45 kB / 460.2 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3943, allocations: 0 / 460.2 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3944, allocations: 2.719 kB / 460.2 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3944, allocations: 1.031 kB / 460.2 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3944, allocations: 0.75 kB / 460.2 MB, free: 37.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.395, allocations: 320 kB / 460.5 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.3951, allocations: 83.92 kB / 460.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3951, allocations: 3.938 kB / 460.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3953, allocations: 30.31 kB / 460.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.3954, allocations: 2.656 kB / 460.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.3954, allocations: 0.5 kB / 460.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.439e-05/0.3954, allocations: 109.4 kB / 460.7 MB, free: 36.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3954, allocations: 0 / 460.7 MB, free: 36.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.3957, allocations: 11.78 kB / 460.7 MB, free: 36.87 MB / 382.1 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 (3): * Single equations (assignments): 3 * 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 9.489e-05/0.3958, allocations: 98.44 kB / 460.8 MB, free: 36.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.3965, allocations: 194.3 kB / 461 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3965, allocations: 2.938 kB / 461 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.3968, allocations: 101.9 kB / 461.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3971, allocations: 0.7031 kB / 461.1 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.3979, allocations: 266.5 kB / 461.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.398, allocations: 0.6917 MB / 462.1 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.304e-05/0.3981, allocations: 19.75 kB / 462.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.3981, allocations: 13.92 kB / 462.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3982, allocations: 0 / 462.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of Templates: time 0.002497/0.4007, allocations: 0.8339 MB / 462.9 MB, free: 35.91 MB / 382.1 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)