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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001597/0.001597, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.777 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.9619/0.9619, allocations: 134 MB / 446.4 MB, free: 9.898 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.001972/0.001972, allocations: 70.27 kB / 0.619 GB, free: 6.355 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2076, allocations: 85.9 MB / 0.7029 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003058/0.2107, allocations: 1.483 MB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004342/0.2111, allocations: 132.4 kB / 0.7044 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.2111, allocations: 3.938 kB / 0.7044 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.238e-05/0.2112, allocations: 0 / 0.7044 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.2112, allocations: 7.938 kB / 0.7044 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.2115, allocations: 39.89 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.501e-05/0.2116, allocations: 39.91 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2117, allocations: 8 kB / 0.7045 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.2117, allocations: 19.92 kB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.2118, allocations: 23.91 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.2118, allocations: 4 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.845e-05/0.2119, allocations: 31.97 kB / 0.7046 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.2119, allocations: 11.94 kB / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.2119, allocations: 19.86 kB / 0.7046 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2121, allocations: 71.67 kB / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2121, allocations: 0 / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2121, allocations: 4 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2121, allocations: 0 / 0.7047 GB, free: 14.62 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.0004694/0.2126, allocations: 290.1 kB / 0.705 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2126, allocations: 12.03 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.2137, allocations: 208.5 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.2138, allocations: 118.5 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2138, allocations: 384 / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.2139, allocations: 4.375 kB / 0.7053 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.2144, allocations: 194 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2144, allocations: 192 / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2145, allocations: 3.938 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2145, allocations: 0 / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000874/0.2153, allocations: 283.5 kB / 0.7058 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/0.2162, allocations: 372.8 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.2174, allocations: 286.1 kB / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.2177, allocations: 104.8 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2178, allocations: 0 / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.2178, allocations: 34.56 kB / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2178, allocations: 0 / 0.7065 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001186/0.219, allocations: 313.2 kB / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.219, allocations: 51.41 kB / 0.7069 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2191, allocations: 113.8 kB / 0.707 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2192, allocations: 25.7 kB / 0.707 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.2192, allocations: 88.12 kB / 0.7071 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.2193, allocations: 15.84 kB / 0.7071 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.2193, allocations: 21.66 kB / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2195, allocations: 318.8 kB / 0.7074 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.2198, allocations: 95.88 kB / 0.7075 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.2202, allocations: 91.88 kB / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/0.2209, allocations: 176.6 kB / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2209, allocations: 0 / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007905/0.2217, allocations: 213.5 kB / 0.708 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.2217, allocations: 10.5 kB / 0.708 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2217, allocations: 0 / 0.708 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.2217, allocations: 3.984 kB / 0.708 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.222, allocations: 35.89 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.222, allocations: 0 / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.2222, allocations: 23.95 kB / 0.7081 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2222, allocations: 12.31 kB / 0.7081 GB, free: 11 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.0001231/0.2223, allocations: 121.7 kB / 0.7082 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.2224, allocations: 3.953 kB / 0.7082 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.2224, allocations: 8 kB / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2224, allocations: 3.984 kB / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2224, allocations: 0 / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.2224, allocations: 7.984 kB / 0.7082 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.2227, allocations: 145.2 kB / 0.7084 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2227, allocations: 0 / 0.7084 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.2229, allocations: 39.95 kB / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2229, allocations: 0 / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2229, allocations: 0 / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2229, allocations: 0 / 0.7084 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.2229, allocations: 3.984 kB / 0.7084 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.2238, allocations: 319.1 kB / 0.7087 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.2238, allocations: 7.953 kB / 0.7087 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2238, allocations: 0 / 0.7087 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.224, allocations: 27.95 kB / 0.7087 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.2241, allocations: 3.984 kB / 0.7087 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2241, allocations: 0 / 0.7087 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.2242, allocations: 87.28 kB / 0.7088 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2242, allocations: 0 / 0.7088 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002492/0.2244, allocations: 12 kB / 0.7088 GB, free: 10.17 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.0001457/0.2246, allocations: 103.2 kB / 0.7089 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007821/0.2253, allocations: 195.8 kB / 0.7091 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2253, allocations: 0 / 0.7091 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.2257, allocations: 103.8 kB / 0.7092 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.226, allocations: 7.938 kB / 0.7092 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009952/0.227, allocations: 257.3 kB / 0.7095 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.227, allocations: 83.33 kB / 0.7095 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.468e-05/0.2271, allocations: 15.98 kB / 0.7096 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.2272, allocations: 11.44 kB / 0.7096 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of SimCode: time 6.22e-07/0.2272, allocations: 0 / 0.7096 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of Templates: time 0.003851/0.231, allocations: 0.9561 MB / 0.7105 GB, free: 8.402 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: 6.082244407385588] Failed to read output from testmodel.py, exit status != 0: 0.23922370932996273 0.25798663099999997 0.041449585000000004 Calling exit ...