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.01305/0.01305, allocations: 99.52 kB / 15.73 MB, free: 6.008 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.001934/0.001934, allocations: 197.9 kB / 16.68 MB, free: 5.93 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.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4166/0.4166, allocations: 54.94 MB / 324.8 MB, free: 15.96 MB / 270.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.001515/0.001515, allocations: 66.69 kB / 456.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1486, allocations: 59.59 MB / 0.5037 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.002507/0.1512, allocations: 1.421 MB / 0.5051 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003915/0.1516, allocations: 129.7 kB / 0.5052 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.1517, allocations: 1.688 kB / 0.5052 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.801e-05/0.1517, allocations: 3.938 kB / 0.5052 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.1518, allocations: 9.406 kB / 0.5052 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1521, allocations: 31.45 kB / 0.5053 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1522, allocations: 45.12 kB / 0.5053 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1524, allocations: 14.66 kB / 0.5053 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.1524, allocations: 19.27 kB / 0.5053 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.1525, allocations: 24.62 kB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1525, allocations: 12.28 kB / 0.5054 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.1526, allocations: 30.34 kB / 0.5054 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.1526, allocations: 9.5 kB / 0.5054 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.1526, allocations: 19.7 kB / 0.5054 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1528, allocations: 64.23 kB / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1528, allocations: 0 / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1528, allocations: 1.562 kB / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1528, allocations: 0 / 0.5055 GB, free: 8.199 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.0004391/0.1533, allocations: 358.7 kB / 0.5058 GB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1533, allocations: 14.47 kB / 0.5058 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009627/0.1543, allocations: 209 kB / 0.506 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.87e-05/0.1544, allocations: 182.9 kB / 0.5062 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1544, allocations: 1.75 kB / 0.5062 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.1544, allocations: 3.125 kB / 0.5062 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.1549, allocations: 198.4 kB / 0.5064 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1549, allocations: 1.375 kB / 0.5064 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.155, allocations: 0 / 0.5064 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.155, allocations: 1.375 kB / 0.5064 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007394/0.1557, allocations: 283.8 kB / 0.5067 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.1565, allocations: 443.7 kB / 0.5071 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009601/0.1575, allocations: 288.5 kB / 0.5074 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.1578, allocations: 100.5 kB / 0.5075 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1579, allocations: 1.062 kB / 0.5075 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1579, allocations: 31.88 kB / 0.5075 GB, free: 6.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1579, allocations: 0 / 0.5075 GB, free: 6.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001083/0.159, allocations: 310.1 kB / 0.5078 GB, free: 6.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.159, allocations: 57.19 kB / 0.5079 GB, free: 6.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.558e-05/0.1591, allocations: 120.6 kB / 0.508 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1591, allocations: 25.7 kB / 0.508 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.1592, allocations: 94.36 kB / 0.5081 GB, free: 6.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.1592, allocations: 9.281 kB / 0.5081 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1593, allocations: 18.08 kB / 0.5081 GB, free: 6.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.1594, allocations: 317.8 kB / 0.5084 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.1597, allocations: 91.22 kB / 0.5085 GB, free: 5.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.1601, allocations: 102.3 kB / 0.5086 GB, free: 5.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/0.1607, allocations: 172.5 kB / 0.5088 GB, free: 5.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1607, allocations: 3.938 kB / 0.5088 GB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006896/0.1614, allocations: 214 kB / 0.509 GB, free: 5.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1615, allocations: 4 kB / 0.509 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1615, allocations: 0 / 0.509 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.1615, allocations: 0 / 0.509 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.1618, allocations: 39.94 kB / 0.509 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.1618, allocations: 0 / 0.509 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.162, allocations: 43.73 kB / 0.5091 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.162, allocations: 7.984 kB / 0.5091 GB, free: 5.277 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 9.441e-05/0.1621, allocations: 113.8 kB / 0.5092 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.1622, allocations: 4 kB / 0.5092 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.533e-05/0.1622, allocations: 15.91 kB / 0.5092 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1623, allocations: 4.266 kB / 0.5092 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1623, allocations: 0 / 0.5092 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.1623, allocations: 3.938 kB / 0.5092 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.1625, allocations: 213.5 kB / 0.5094 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1625, allocations: 3.984 kB / 0.5094 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.1627, allocations: 35.94 kB / 0.5095 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1627, allocations: 0 / 0.5095 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1628, allocations: 0 / 0.5095 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1628, allocations: 4 kB / 0.5095 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1628, allocations: 0 / 0.5095 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.1635, allocations: 311.2 kB / 0.5098 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.1636, allocations: 81.11 kB / 0.5098 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1636, allocations: 11.98 kB / 0.5098 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.1638, allocations: 23.95 kB / 0.5099 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.1639, allocations: 7.938 kB / 0.5099 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1639, allocations: 0 / 0.5099 GB, free: 4.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.332e-05/0.1639, allocations: 99.2 kB / 0.51 GB, free: 4.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.164, allocations: 0 / 0.51 GB, free: 4.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1642, allocations: 16 kB / 0.51 GB, free: 4.246 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 0.0002194/0.1644, allocations: 95.25 kB / 0.5101 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007077/0.1652, allocations: 195.7 kB / 0.5103 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1652, allocations: 288 / 0.5103 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.1655, allocations: 99.88 kB / 0.5104 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.1658, allocations: 15.86 kB / 0.5104 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.1667, allocations: 269.1 kB / 0.5106 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.1668, allocations: 0.6885 MB / 0.5113 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.232e-05/0.1669, allocations: 19.98 kB / 0.5113 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.167, allocations: 11.44 kB / 0.5113 GB, free: 2.805 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.167, allocations: 0 / 0.5113 GB, free: 2.805 MB / 382.1 MB Notification: Performance of Templates: time 0.003096/0.1701, allocations: 0.9355 MB / 0.5122 GB, free: 1.879 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)