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.001762/0.001762, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002162/0.002162, allocations: 221 kB / 23.01 MB, free: 4.609 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.8464/0.8464, allocations: 134 MB / 447.2 MB, free: 10.26 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.00195/0.00195, allocations: 62.94 kB / 0.6198 GB, free: 6.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1666, allocations: 85.9 MB / 0.7037 GB, free: 0.8984 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002766/0.1693, allocations: 1.501 MB / 0.7051 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004209/0.1698, allocations: 144.4 kB / 0.7053 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.1698, allocations: 4 kB / 0.7053 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.1698, allocations: 0 / 0.7053 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.1699, allocations: 3.938 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1701, allocations: 31.89 kB / 0.7053 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.1702, allocations: 43.84 kB / 0.7053 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1704, allocations: 15.98 kB / 0.7054 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/0.1704, allocations: 15.94 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.1705, allocations: 23.92 kB / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1705, allocations: 4 kB / 0.7054 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1706, allocations: 35.91 kB / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.1706, allocations: 15.92 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.1706, allocations: 15.92 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1708, allocations: 71.69 kB / 0.7055 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1708, allocations: 0 / 0.7055 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1708, allocations: 0 / 0.7055 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.1708, allocations: 0 / 0.7055 GB, free: 14.97 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.0005071/0.1713, allocations: 290.1 kB / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1714, allocations: 12.03 kB / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1724, allocations: 208.5 kB / 0.706 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1726, allocations: 118.5 kB / 0.7061 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1726, allocations: 4.375 kB / 0.7061 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1726, allocations: 8.375 kB / 0.7061 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.1731, allocations: 186 kB / 0.7063 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1732, allocations: 192 / 0.7063 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1732, allocations: 11.94 kB / 0.7063 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1732, allocations: 0 / 0.7063 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.174, allocations: 287.5 kB / 0.7066 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/0.1749, allocations: 400.2 kB / 0.707 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.176, allocations: 286.1 kB / 0.7073 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.1764, allocations: 108.8 kB / 0.7074 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1764, allocations: 4 kB / 0.7074 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1764, allocations: 34.55 kB / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1764, allocations: 3.938 kB / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001129/0.1776, allocations: 309.3 kB / 0.7077 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1776, allocations: 51.41 kB / 0.7078 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1777, allocations: 121.8 kB / 0.7079 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1777, allocations: 29.7 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.1778, allocations: 96.19 kB / 0.708 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1778, allocations: 11.91 kB / 0.708 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.1779, allocations: 13.72 kB / 0.708 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.178, allocations: 326.8 kB / 0.7083 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.1784, allocations: 92.25 kB / 0.7084 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.1787, allocations: 91.88 kB / 0.7085 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/0.1793, allocations: 172.6 kB / 0.7087 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1793, allocations: 0 / 0.7087 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006998/0.18, allocations: 217.4 kB / 0.7089 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.18, allocations: 4 kB / 0.7089 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.18, allocations: 0 / 0.7089 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1801, allocations: 7.984 kB / 0.7089 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.1803, allocations: 35.89 kB / 0.7089 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1803, allocations: 0 / 0.7089 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1805, allocations: 31.89 kB / 0.709 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1805, allocations: 3.984 kB / 0.709 GB, free: 11.28 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.000102/0.1806, allocations: 117.8 kB / 0.7091 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.1806, allocations: 11.95 kB / 0.7091 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.1807, allocations: 12 kB / 0.7091 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1807, allocations: 0 / 0.7091 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1807, allocations: 0 / 0.7091 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1807, allocations: 3.984 kB / 0.7091 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1809, allocations: 176.6 kB / 0.7093 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1809, allocations: 7.984 kB / 0.7093 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.1812, allocations: 31.95 kB / 0.7093 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1812, allocations: 4 kB / 0.7093 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1812, allocations: 0 / 0.7093 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1812, allocations: 0 / 0.7093 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1812, allocations: 3.938 kB / 0.7093 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007596/0.1819, allocations: 323.1 kB / 0.7096 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.182, allocations: 4 kB / 0.7096 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.182, allocations: 0 / 0.7096 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1822, allocations: 27.95 kB / 0.7096 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.1822, allocations: 8.359 kB / 0.7097 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1822, allocations: 0 / 0.7097 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.624e-05/0.1823, allocations: 95.27 kB / 0.7097 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1823, allocations: 0 / 0.7097 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00023/0.1825, allocations: 16 kB / 0.7098 GB, free: 10.38 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.0001255/0.1827, allocations: 99.19 kB / 0.7099 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007456/0.1834, allocations: 199.7 kB / 0.71 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1834, allocations: 3.938 kB / 0.71 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.1838, allocations: 100.2 kB / 0.7101 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.184, allocations: 7.938 kB / 0.7102 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.1849, allocations: 287 kB / 0.7104 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1853, allocations: 0.6924 MB / 0.7111 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.1853, allocations: 15.42 kB / 0.7111 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1853, allocations: 0 / 0.7111 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.002887/0.1882, allocations: 1.175 MB / 0.7123 GB, free: 7.75 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: 8.044480317039415] Failed to read output from testmodel.py, exit status != 0: 0.19801346492022276 0.22748702399999995 0.051616454000000006 Calling exit ...