Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 222.9 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8566/0.8566, allocations: 134 MB / 447.2 MB, free: 9.922 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 62.81 kB / 0.6197 GB, free: 6.395 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1629, allocations: 85.91 MB / 0.7036 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00284/0.1657, allocations: 1.479 MB / 0.705 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004133/0.1661, allocations: 136.3 kB / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.1662, allocations: 0 / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.1662, allocations: 4 kB / 0.7052 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.1663, allocations: 3.938 kB / 0.7052 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1665, allocations: 27.91 kB / 0.7052 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.997e-05/0.1666, allocations: 39.91 kB / 0.7052 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1667, allocations: 19.98 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.1667, allocations: 19.92 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.1668, allocations: 23.86 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1668, allocations: 4 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.1669, allocations: 31.97 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.1669, allocations: 8 kB / 0.7054 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.1669, allocations: 15.88 kB / 0.7054 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.1671, allocations: 75.66 kB / 0.7054 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1671, allocations: 0 / 0.7054 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1671, allocations: 0 / 0.7054 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1671, allocations: 0 / 0.7054 GB, free: 14.67 MB / 0.5294 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.0004759/0.1676, allocations: 296.5 kB / 0.7057 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1676, allocations: 8.031 kB / 0.7057 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.1687, allocations: 208.5 kB / 0.7059 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1688, allocations: 114.5 kB / 0.706 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1688, allocations: 8.359 kB / 0.706 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1689, allocations: 4.375 kB / 0.7061 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.1695, allocations: 202 kB / 0.7062 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1695, allocations: 192 / 0.7062 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1695, allocations: 7.875 kB / 0.7063 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1695, allocations: 0 / 0.7063 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.1703, allocations: 279.6 kB / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009577/0.1713, allocations: 368.8 kB / 0.7069 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.1725, allocations: 286.1 kB / 0.7071 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.1728, allocations: 104.8 kB / 0.7072 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.1729, allocations: 4 kB / 0.7072 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.1729, allocations: 38.56 kB / 0.7073 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1729, allocations: 0 / 0.7073 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001228/0.1741, allocations: 309.3 kB / 0.7076 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1742, allocations: 51.41 kB / 0.7076 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1743, allocations: 117.8 kB / 0.7077 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1743, allocations: 25.7 kB / 0.7078 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.1744, allocations: 84.14 kB / 0.7078 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.1744, allocations: 19.83 kB / 0.7079 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.1744, allocations: 17.72 kB / 0.7079 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.1746, allocations: 314.8 kB / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.175, allocations: 99.88 kB / 0.7083 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.1754, allocations: 91.88 kB / 0.7084 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.1761, allocations: 176.6 kB / 0.7085 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1761, allocations: 0 / 0.7085 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007517/0.1768, allocations: 209.5 kB / 0.7087 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1768, allocations: 4 kB / 0.7087 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1768, allocations: 4 kB / 0.7087 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1769, allocations: 0 / 0.7087 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1771, allocations: 43.88 kB / 0.7088 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1771, allocations: 0 / 0.7088 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1773, allocations: 27.95 kB / 0.7088 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1773, allocations: 0 / 0.7088 GB, free: 11.04 MB / 0.5294 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 0.0001097/0.1774, allocations: 125.7 kB / 0.7089 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.1775, allocations: 11.95 kB / 0.7089 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.1775, allocations: 4 kB / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1775, allocations: 0 / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1775, allocations: 0 / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1775, allocations: 4.328 kB / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.1777, allocations: 141.2 kB / 0.7091 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1777, allocations: 0 / 0.7091 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.178, allocations: 39.88 kB / 0.7091 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.178, allocations: 3.984 kB / 0.7091 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.178, allocations: 4 kB / 0.7091 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.178, allocations: 0 / 0.7091 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.178, allocations: 4 kB / 0.7091 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.1788, allocations: 319.2 kB / 0.7094 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.1788, allocations: 3.953 kB / 0.7094 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.1788, allocations: 4 kB / 0.7094 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.179, allocations: 27.95 kB / 0.7095 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1791, allocations: 0 / 0.7095 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1791, allocations: 7.984 kB / 0.7095 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.1791, allocations: 83.36 kB / 0.7096 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1791, allocations: 0 / 0.7096 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002337/0.1794, allocations: 12 kB / 0.7096 GB, free: 10.2 MB / 0.5294 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.0001135/0.1795, allocations: 95.25 kB / 0.7097 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007841/0.1803, allocations: 199.7 kB / 0.7098 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1803, allocations: 0 / 0.7098 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.1807, allocations: 107.8 kB / 0.71 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1809, allocations: 11.91 kB / 0.71 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1819, allocations: 283 kB / 0.7102 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.771e-05/0.182, allocations: 71.33 kB / 0.7103 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.1821, allocations: 15.44 kB / 0.7103 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.1821, allocations: 0 / 0.7103 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of Templates: time 0.002933/0.185, allocations: 1.157 MB / 0.7114 GB, free: 8.219 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.414467584807426] Failed to read output from testmodel.py, exit status != 0: 0.19283286994323134 0.209382903 0.038892734000000005 Calling exit ...