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.001209/0.00121, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01199/0.01199, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.773/1.773, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4444/0.4444, allocations: 55.01 MB / 325.7 MB, free: 0.6406 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.000855/0.000855, allocations: 16 kB / 397.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4362, allocations: 60.71 MB / 458 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.001587/0.4379, allocations: 1.167 MB / 459.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004246/0.4383, allocations: 117.3 kB / 459.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.4383, allocations: 2.688 kB / 459.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.4384, allocations: 4.5 kB / 459.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/0.4385, allocations: 1.25 kB / 459.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.4387, allocations: 37.66 kB / 459.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.388e-05/0.4388, allocations: 38.05 kB / 459.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.4389, allocations: 19.25 kB / 459.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.439, allocations: 12.59 kB / 459.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.439, allocations: 17.94 kB / 459.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.439, allocations: 0 / 459.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.4391, allocations: 32.7 kB / 459.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.4392, allocations: 12.89 kB / 459.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.4392, allocations: 36.33 kB / 459.5 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.4393, allocations: 61.5 kB / 459.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4394, allocations: 4.75 kB / 459.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.861e-06/0.4394, allocations: 0 / 459.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.4394, allocations: 0 / 459.5 MB, free: 38.08 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.0004184/0.4398, allocations: 358.9 kB / 459.9 MB, free: 37.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4398, allocations: 9.281 kB / 459.9 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4409, allocations: 245.8 kB / 460.1 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.512e-05/0.441, allocations: 167.8 kB / 460.3 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.4411, allocations: 8.719 kB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.4411, allocations: 4.312 kB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.4416, allocations: 215.6 kB / 460.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4417, allocations: 0 / 460.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.4417, allocations: 8.359 kB / 460.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.4417, allocations: 0 / 460.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.4425, allocations: 316.7 kB / 460.8 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.4434, allocations: 458.8 kB / 461.3 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.4445, allocations: 343.8 kB / 461.6 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.4449, allocations: 125 kB / 461.7 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.4449, allocations: 0.9375 kB / 461.7 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.4449, allocations: 30.56 kB / 461.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.4449, allocations: 0 / 461.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001152/0.4461, allocations: 370 kB / 462.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.4461, allocations: 51.41 kB / 462.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.4462, allocations: 123.8 kB / 462.3 MB, free: 36.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4462, allocations: 29.27 kB / 462.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.4463, allocations: 90.23 kB / 462.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.4463, allocations: 7.781 kB / 462.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.4463, allocations: 9.719 kB / 462.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.4464, allocations: 321 kB / 462.7 MB, free: 36.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.4467, allocations: 115.5 kB / 462.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.4471, allocations: 114.9 kB / 463 MB, free: 36.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.4477, allocations: 213.7 kB / 463.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4477, allocations: 0 / 463.2 MB, free: 36.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007293/0.4485, allocations: 258.7 kB / 463.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4485, allocations: 5.906 kB / 463.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4485, allocations: 3.188 kB / 463.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4485, allocations: 0 / 463.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.4488, allocations: 46.39 kB / 463.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4488, allocations: 0.75 kB / 463.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.449, allocations: 44.36 kB / 463.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.449, allocations: 0 / 463.5 MB, free: 36.39 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 7.51e-05/0.4491, allocations: 118.1 kB / 463.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.4492, allocations: 6.875 kB / 463.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.4492, allocations: 7.406 kB / 463.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4492, allocations: 2.906 kB / 463.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4492, allocations: 1.188 kB / 463.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4492, allocations: 4.781 kB / 463.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.4494, allocations: 210.5 kB / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4494, allocations: 0 / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.4497, allocations: 50.12 kB / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4497, allocations: 0 / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4497, allocations: 0 / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4497, allocations: 0 / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4497, allocations: 0.75 kB / 463.9 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.4505, allocations: 360.8 kB / 464.3 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.4505, allocations: 84.58 kB / 464.4 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.4505, allocations: 0 / 464.4 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.4508, allocations: 45.92 kB / 464.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.4508, allocations: 7.281 kB / 464.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.4508, allocations: 4.75 kB / 464.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.813e-05/0.4509, allocations: 97.7 kB / 464.5 MB, free: 35.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4509, allocations: 0 / 464.5 MB, free: 35.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.4511, allocations: 13.25 kB / 464.5 MB, free: 35.73 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.41e-05/0.4512, allocations: 95 kB / 464.6 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007395/0.4519, allocations: 238 kB / 464.8 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.452, allocations: 0 / 464.8 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.4523, allocations: 121.5 kB / 465 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.4526, allocations: 4.078 kB / 465 MB, free: 35.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.4535, allocations: 301 kB / 465.3 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.4536, allocations: 0.6868 MB / 465.9 MB, free: 34.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.104e-05/0.4537, allocations: 21.53 kB / 466 MB, free: 34.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.4538, allocations: 14.38 kB / 466 MB, free: 34.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4538, allocations: 0 / 466 MB, free: 34.8 MB / 382.1 MB Notification: Performance of Templates: time 0.002864/0.4567, allocations: 0.8258 MB / 466.8 MB, free: 34.76 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: