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.0009264/0.0009265, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001037/0.001037, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4321/0.4321, allocations: 54.98 MB / 325.4 MB, free: 0.7539 MB / 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.000564/0.0005642, allocations: 16 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3556, allocations: 60.71 MB / 457.3 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.001482/0.3572, allocations: 1.145 MB / 458.4 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.3575, allocations: 117.2 kB / 458.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.3575, allocations: 3.594 kB / 458.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.3576, allocations: 0.625 kB / 458.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.3576, allocations: 8.656 kB / 458.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.3578, allocations: 23.47 kB / 458.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.238e-05/0.3579, allocations: 26.11 kB / 458.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.358, allocations: 13.69 kB / 458.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.3581, allocations: 17.19 kB / 458.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.161e-05/0.3581, allocations: 18.3 kB / 458.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3581, allocations: 2.781 kB / 458.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.3582, allocations: 27.72 kB / 458.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.3582, allocations: 11.05 kB / 458.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.3583, allocations: 28.33 kB / 458.7 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.3584, allocations: 39.89 kB / 458.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3584, allocations: 0 / 458.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3584, allocations: 0 / 458.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3584, allocations: 0 / 458.8 MB, free: 38.41 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.0003947/0.3588, allocations: 363.2 kB / 459.1 MB, free: 38.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3588, allocations: 9.938 kB / 459.1 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.3599, allocations: 241.3 kB / 459.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.36, allocations: 169.8 kB / 459.5 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3601, allocations: 7.312 kB / 459.5 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3601, allocations: 7.938 kB / 459.5 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.3606, allocations: 215.1 kB / 459.8 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3607, allocations: 0 / 459.8 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3607, allocations: 2.812 kB / 459.8 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3607, allocations: 0 / 459.8 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.3615, allocations: 318.2 kB / 460.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.3624, allocations: 466.7 kB / 460.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3635, allocations: 345.2 kB / 460.9 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3635, allocations: 0 / 460.9 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.3636, allocations: 30.56 kB / 460.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3636, allocations: 1.312 kB / 460.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001205/0.3648, allocations: 367.9 kB / 461.3 MB, free: 37.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.3648, allocations: 54.22 kB / 461.3 MB, free: 37.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.3649, allocations: 115.4 kB / 461.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3649, allocations: 26.27 kB / 461.4 MB, free: 37.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.365, allocations: 93.34 kB / 461.5 MB, free: 37.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.365, allocations: 11.81 kB / 461.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.365, allocations: 0 / 461.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.669e-05/0.3651, allocations: 320.9 kB / 461.9 MB, free: 36.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.3654, allocations: 119.9 kB / 462 MB, free: 36.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.3658, allocations: 116.2 kB / 462.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.3661, allocations: 100.6 kB / 462.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3661, allocations: 0 / 462.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007264/0.3669, allocations: 255.6 kB / 462.4 MB, free: 36.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3669, allocations: 5.281 kB / 462.4 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3669, allocations: 5.016 kB / 462.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3669, allocations: 0 / 462.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3672, allocations: 43.88 kB / 462.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3672, allocations: 0 / 462.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.3674, allocations: 48.7 kB / 462.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3674, allocations: 2.719 kB / 462.5 MB, free: 36.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.3675, allocations: 112.2 kB / 462.7 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.3675, allocations: 11.55 kB / 462.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.3676, allocations: 10.34 kB / 462.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3676, allocations: 0 / 462.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3676, allocations: 4 kB / 462.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3676, allocations: 2.844 kB / 462.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3678, allocations: 210.5 kB / 462.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3678, allocations: 0 / 462.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.368, allocations: 46.5 kB / 462.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3681, allocations: 3.281 kB / 462.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3681, allocations: 0 / 462.9 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3681, allocations: 6.875 kB / 462.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3681, allocations: 0 / 462.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.3689, allocations: 352.4 kB / 463.3 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.3689, allocations: 80.58 kB / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3689, allocations: 8.422 kB / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3692, allocations: 30.94 kB / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.3692, allocations: 6.438 kB / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3692, allocations: 0 / 463.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.3693, allocations: 101.6 kB / 463.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.3693, allocations: 0 / 463.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.3695, allocations: 14.55 kB / 463.5 MB, free: 36.12 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 (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 9.462e-05/0.3696, allocations: 91.03 kB / 463.6 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007592/0.3704, allocations: 241.9 kB / 463.8 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3704, allocations: 0 / 463.8 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.3708, allocations: 120.9 kB / 464 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.371, allocations: 5.406 kB / 464 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009019/0.3719, allocations: 297.5 kB / 464.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.372, allocations: 0.6951 MB / 465 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.137e-05/0.3721, allocations: 19 kB / 465 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.3722, allocations: 13.58 kB / 465 MB, free: 35.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3722, allocations: 0 / 465 MB, free: 35.19 MB / 382.1 MB Notification: Performance of Templates: time 0.002648/0.3748, allocations: 0.7999 MB / 465.8 MB, free: 35.15 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: