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.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.0007516/0.0007516, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008036/0.0008036, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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 0.8679/0.8679, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7528/0.7528, allocations: 203.8 MB / 0.5049 GB, free: 0.7812 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009107/0.0009107, allocations: 71.89 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4459, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002094/0.448, allocations: 1.485 MB / 0.8205 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0003385/0.4483, allocations: 148 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.4484, allocations: 2.688 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.4484, allocations: 4.734 kB / 0.8207 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.4485, allocations: 9.859 kB / 0.8207 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.4487, allocations: 33.19 kB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4488, allocations: 38.86 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.4489, allocations: 17.28 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.449, allocations: 21.64 kB / 0.8208 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.449, allocations: 18.12 kB / 0.8208 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.449, allocations: 3.469 kB / 0.8208 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.4491, allocations: 42.34 kB / 0.8209 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.4491, allocations: 10.45 kB / 0.8209 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.4492, allocations: 22.81 kB / 0.8209 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.4493, allocations: 60.52 kB / 0.821 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4493, allocations: 1.156 kB / 0.821 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4493, allocations: 0 / 0.821 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.4493, allocations: 0.5156 kB / 0.821 GB, free: 24.03 MB / 0.6355 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.0003414/0.4497, allocations: 287.8 kB / 0.8212 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4497, allocations: 10.62 kB / 0.8212 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.4504, allocations: 210.9 kB / 0.8214 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.863e-05/0.4505, allocations: 114.8 kB / 0.8216 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4505, allocations: 8.375 kB / 0.8216 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.4505, allocations: 2.969 kB / 0.8216 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.4509, allocations: 194.7 kB / 0.8218 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4509, allocations: 192 / 0.8218 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4509, allocations: 5.062 kB / 0.8218 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4509, allocations: 1.25 kB / 0.8218 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.4514, allocations: 285.8 kB / 0.822 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.452, allocations: 422 kB / 0.8224 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.4526, allocations: 285.5 kB / 0.8227 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.4528, allocations: 105.7 kB / 0.8228 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4528, allocations: 0 / 0.8228 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.4528, allocations: 36.42 kB / 0.8228 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4528, allocations: 0 / 0.8228 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007087/0.4535, allocations: 311 kB / 0.8231 GB, free: 23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.4535, allocations: 52.88 kB / 0.8232 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.4536, allocations: 122.4 kB / 0.8233 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.4536, allocations: 26.33 kB / 0.8233 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.4537, allocations: 91.81 kB / 0.8234 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.4537, allocations: 17.64 kB / 0.8234 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.4537, allocations: 16.3 kB / 0.8234 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.417e-05/0.4538, allocations: 322.5 kB / 0.8238 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.454, allocations: 90.98 kB / 0.8238 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.4542, allocations: 105.2 kB / 0.8239 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.4545, allocations: 168.5 kB / 0.8241 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4545, allocations: 1.125 kB / 0.8241 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003931/0.4549, allocations: 216.4 kB / 0.8243 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4549, allocations: 4.031 kB / 0.8243 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4549, allocations: 1.312 kB / 0.8243 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4549, allocations: 0.5625 kB / 0.8243 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.4551, allocations: 37.39 kB / 0.8244 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4551, allocations: 3.984 kB / 0.8244 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.4552, allocations: 32.75 kB / 0.8244 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.4552, allocations: 0.6562 kB / 0.8244 GB, free: 22.22 MB / 0.6355 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 4.812e-05/0.4552, allocations: 121.2 kB / 0.8245 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.4552, allocations: 2.719 kB / 0.8245 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.4553, allocations: 15.56 kB / 0.8245 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4553, allocations: 2.344 kB / 0.8245 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4553, allocations: 3.938 kB / 0.8245 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4553, allocations: 3.938 kB / 0.8245 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.4554, allocations: 180.7 kB / 0.8247 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4554, allocations: 0.75 kB / 0.8247 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.4555, allocations: 32.06 kB / 0.8247 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4555, allocations: 2.297 kB / 0.8247 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.4555, allocations: 0.7031 kB / 0.8247 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4555, allocations: 4 kB / 0.8247 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4555, allocations: 2.188 kB / 0.8247 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.4559, allocations: 310.1 kB / 0.825 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.456, allocations: 11.14 kB / 0.825 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.456, allocations: 2.125 kB / 0.8251 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4561, allocations: 30.17 kB / 0.8251 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.4561, allocations: 2.656 kB / 0.8251 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.4561, allocations: 2.688 kB / 0.8251 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.4561, allocations: 101.2 kB / 0.8252 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4561, allocations: 0 / 0.8252 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001485/0.4563, allocations: 12.52 kB / 0.8252 GB, free: 21.64 MB / 0.6355 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 7.06e-05/0.4564, allocations: 103.6 kB / 0.8253 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004227/0.4568, allocations: 193.6 kB / 0.8255 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.4568, allocations: 0 / 0.8255 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.457, allocations: 98.94 kB / 0.8256 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.4572, allocations: 7.188 kB / 0.8256 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.4577, allocations: 286.8 kB / 0.8259 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.249e-05/0.4578, allocations: 0.686 MB / 0.8265 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.4578, allocations: 14.02 kB / 0.8265 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4578, allocations: 0 / 0.8265 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.00219/0.46, allocations: 1.175 MB / 0.8277 GB, free: 20.55 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.46193331014365] Failed to read output from testmodel.py, exit status != 0: 0.46517150988802314 0.473286886 0.022263445 Calling exit ...