Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.008544/0.008544, allocations: 103.2 kB / 15.73 MB, free: 6.055 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.002502/0.002502, allocations: 198.1 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8065/0.8065, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 66.92 kB / 0.5856 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1736, allocations: 80.92 MB / 0.6646 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002712/0.1763, allocations: 1.462 MB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.1768, allocations: 144.4 kB / 0.6662 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.1768, allocations: 0 / 0.6662 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.1769, allocations: 3.938 kB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.177, allocations: 15.88 kB / 0.6662 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1773, allocations: 31.89 kB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1774, allocations: 39.91 kB / 0.6663 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1776, allocations: 23.94 kB / 0.6663 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.1776, allocations: 19.98 kB / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.1777, allocations: 19.86 kB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1777, allocations: 4 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.1778, allocations: 35.95 kB / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1778, allocations: 8 kB / 0.6664 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1779, allocations: 23.86 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.178, allocations: 59.86 kB / 0.6665 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.1781, allocations: 3.938 kB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1781, allocations: 3.938 kB / 0.6665 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1781, allocations: 0 / 0.6665 GB, free: 3.875 MB / 0.4981 GB 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.0005128/0.1786, allocations: 363.3 kB / 0.6668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1786, allocations: 13.11 kB / 0.6668 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1798, allocations: 212.5 kB / 0.667 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1799, allocations: 168.3 kB / 0.6672 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.18, allocations: 8.375 kB / 0.6672 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.18, allocations: 4.375 kB / 0.6672 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.1806, allocations: 186 kB / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1806, allocations: 192 / 0.6674 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.1806, allocations: 7.938 kB / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1806, allocations: 4 kB / 0.6674 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.1815, allocations: 287.5 kB / 0.6677 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009664/0.1825, allocations: 440.9 kB / 0.6681 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.1837, allocations: 286.2 kB / 0.6684 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.1842, allocations: 104.7 kB / 0.6685 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.1842, allocations: 0 / 0.6685 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.1843, allocations: 30.56 kB / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.1843, allocations: 0 / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001456/0.1858, allocations: 313.2 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.1858, allocations: 51.41 kB / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.186, allocations: 129.8 kB / 0.669 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.1861, allocations: 25.7 kB / 0.669 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.1862, allocations: 84.14 kB / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.1862, allocations: 15.84 kB / 0.6691 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.1863, allocations: 17.7 kB / 0.6691 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1865, allocations: 322.7 kB / 0.6694 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.1869, allocations: 95.88 kB / 0.6695 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.1873, allocations: 100 kB / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.1881, allocations: 176.6 kB / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1881, allocations: 0 / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007714/0.1888, allocations: 217.4 kB / 0.67 GB, free: 64 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1889, allocations: 5.719 kB / 0.67 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1889, allocations: 4 kB / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1889, allocations: 0 / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.1892, allocations: 35.94 kB / 0.67 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1892, allocations: 3.938 kB / 0.67 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1894, allocations: 27.95 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1894, allocations: 0 / 0.6701 GB, free: 15.99 MB / 0.5137 GB 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.979e-05/0.1896, allocations: 121.8 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1896, allocations: 11.91 kB / 0.6702 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.1897, allocations: 7.906 kB / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1897, allocations: 0 / 0.6702 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1897, allocations: 4 kB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1897, allocations: 0 / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1899, allocations: 209.5 kB / 0.6704 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1899, allocations: 4 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.1902, allocations: 31.94 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1902, allocations: 4 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1902, allocations: 4 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1902, allocations: 0 / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1902, allocations: 0 / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.191, allocations: 315.2 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1911, allocations: 81.02 kB / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1911, allocations: 3.984 kB / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.1914, allocations: 27.95 kB / 0.6708 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.1914, allocations: 4 kB / 0.6708 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.1914, allocations: 4 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.998e-05/0.1915, allocations: 95.58 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1915, allocations: 4 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002491/0.1918, allocations: 12 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB 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.0001339/0.1919, allocations: 100.5 kB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007922/0.1927, allocations: 199.7 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1927, allocations: 3.938 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.1931, allocations: 103.8 kB / 0.6713 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.1934, allocations: 3.984 kB / 0.6714 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.1944, allocations: 269.2 kB / 0.6716 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1947, allocations: 0.6885 MB / 0.6723 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.429e-05/0.1948, allocations: 19.98 kB / 0.6723 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.1948, allocations: 11.44 kB / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1948, allocations: 0 / 0.6723 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.003348/0.1982, allocations: 0.9379 MB / 0.6732 GB, free: 12.59 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)