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.001236/0.001237, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.691/1.691, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4293/0.4293, allocations: 54.95 MB / 324.7 MB, free: 15.94 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.00173/0.001731, allocations: 72.5 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1465, allocations: 59.6 MB / 454.9 MB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.2873/0.4339, allocations: 1.417 MB / 456.3 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003777/0.4343, allocations: 134.3 kB / 456.5 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.4344, allocations: 0 / 456.5 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.027e-05/0.4345, allocations: 1.5 kB / 456.5 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.4346, allocations: 3.469 kB / 456.5 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.4348, allocations: 37.52 kB / 456.5 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.778e-05/0.4349, allocations: 41.83 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.4351, allocations: 24 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.4351, allocations: 17.86 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.4352, allocations: 23.23 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.4352, allocations: 5.062 kB / 456.6 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-05/0.4353, allocations: 26.94 kB / 456.7 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.4353, allocations: 13.52 kB / 456.7 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.4354, allocations: 20.78 kB / 456.7 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.4355, allocations: 62.3 kB / 456.7 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4355, allocations: 5.406 kB / 456.8 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4355, allocations: 2.875 kB / 456.8 MB, free: 39.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4355, allocations: 0.5312 kB / 456.8 MB, free: 39.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.0004311/0.436, allocations: 360.5 kB / 457.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.436, allocations: 11.38 kB / 457.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.4371, allocations: 217.3 kB / 457.3 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.43e-05/0.4372, allocations: 165 kB / 457.5 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4372, allocations: 6.625 kB / 457.5 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.4372, allocations: 3.25 kB / 457.5 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.4377, allocations: 195.2 kB / 457.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4378, allocations: 2.906 kB / 457.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.4378, allocations: 4.625 kB / 457.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4378, allocations: 0 / 457.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.4386, allocations: 281.7 kB / 458 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.4394, allocations: 441 kB / 458.4 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.4404, allocations: 291.9 kB / 458.7 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.4408, allocations: 95.42 kB / 458.8 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.4408, allocations: 7.078 kB / 458.8 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4408, allocations: 34.44 kB / 458.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.4409, allocations: 0.9062 kB / 458.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001145/0.442, allocations: 311 kB / 459.1 MB, free: 38.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.442, allocations: 52.16 kB / 459.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.4421, allocations: 122.3 kB / 459.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.4422, allocations: 27.27 kB / 459.3 MB, free: 37.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.4422, allocations: 86.8 kB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.4422, allocations: 7.656 kB / 459.4 MB, free: 37.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.4423, allocations: 18.7 kB / 459.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.4423, allocations: 320.6 kB / 459.8 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.4427, allocations: 93.91 kB / 459.8 MB, free: 37.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.443, allocations: 102.6 kB / 459.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.4436, allocations: 167.1 kB / 460.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4437, allocations: 3.469 kB / 460.1 MB, free: 37.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006866/0.4444, allocations: 219.6 kB / 460.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4444, allocations: 6.438 kB / 460.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4444, allocations: 0.6562 kB / 460.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4444, allocations: 1.969 kB / 460.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.4447, allocations: 36.73 kB / 460.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4447, allocations: 0 / 460.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.4449, allocations: 38.3 kB / 460.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.4449, allocations: 6.266 kB / 460.4 MB, free: 37.45 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.36e-05/0.445, allocations: 108.8 kB / 460.5 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.445, allocations: 11.56 kB / 460.5 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.4451, allocations: 12.12 kB / 460.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4451, allocations: 1.359 kB / 460.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4451, allocations: 0 / 460.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4451, allocations: 4.875 kB / 460.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.4453, allocations: 204.6 kB / 460.7 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4453, allocations: 2.906 kB / 460.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.4456, allocations: 36.84 kB / 460.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4456, allocations: 0 / 460.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4456, allocations: 6.672 kB / 460.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4456, allocations: 2.188 kB / 460.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4456, allocations: 0 / 460.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.4463, allocations: 314.3 kB / 461.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.4463, allocations: 84.34 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.4464, allocations: 0 / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.4466, allocations: 31.06 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.4466, allocations: 0 / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.4467, allocations: 11.19 kB / 461.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.4467, allocations: 96.72 kB / 461.3 MB, free: 36.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4467, allocations: 0 / 461.3 MB, free: 36.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000231/0.4469, allocations: 11.56 kB / 461.3 MB, free: 36.81 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.315e-05/0.447, allocations: 96.06 kB / 461.4 MB, free: 36.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007302/0.4478, allocations: 206.2 kB / 461.6 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4478, allocations: 1.875 kB / 461.6 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.4481, allocations: 100.7 kB / 461.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.4484, allocations: 2.875 kB / 461.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/0.4494, allocations: 267.5 kB / 462 MB, free: 36.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.4495, allocations: 0.6889 MB / 462.7 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.836e-05/0.4496, allocations: 18.89 kB / 462.7 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.4497, allocations: 10.34 kB / 462.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4497, allocations: 0 / 462.7 MB, free: 35.9 MB / 382.1 MB Notification: Performance of Templates: time 0.003301/0.453, allocations: 0.9134 MB / 463.6 MB, free: 35.86 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)