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.001038/0.001038, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.001304/0.001304, allocations: 165 kB / 24.05 MB, free: 452 kB / 18.57 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.079/1.079, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.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-535:34: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-535:42: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.786/0.786, allocations: 154.9 MB / 415.9 MB, free: 280 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5219 GB, free: 412 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.115e-05, allocations: 2.312 kB / 0.5219 GB, free: 408 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002004/0.002025, allocations: 1.501 MB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003155/0.002341, allocations: 142 kB / 0.5235 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.002376, allocations: 0 / 0.5235 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.002419, allocations: 4 kB / 0.5235 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.002491, allocations: 7.172 kB / 0.5235 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.002689, allocations: 36.7 kB / 0.5236 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.002779, allocations: 46.25 kB / 0.5236 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.002883, allocations: 16 kB / 0.5236 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.002931, allocations: 20.59 kB / 0.5236 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.636e-05/0.002968, allocations: 19.92 kB / 0.5236 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.002982, allocations: 4.844 kB / 0.5237 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.003054, allocations: 31.97 kB / 0.5237 GB, free: 14.6 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.003072, allocations: 10.14 kB / 0.5237 GB, free: 14.59 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.003089, allocations: 11.98 kB / 0.5237 GB, free: 14.58 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.003206, allocations: 59.8 kB / 0.5238 GB, free: 14.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003209, allocations: 4 kB / 0.5238 GB, free: 14.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00321, allocations: 0 / 0.5238 GB, free: 14.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.003214, allocations: 4 kB / 0.5238 GB, free: 14.51 MB / 458.7 MB 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.0003176/0.003532, allocations: 377.5 kB / 0.5241 GB, free: 14.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.003564, allocations: 12.03 kB / 0.5241 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.003927, allocations: 78.97 kB / 0.5242 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.125e-05/0.004018, allocations: 124.5 kB / 0.5243 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.004033, allocations: 5.188 kB / 0.5243 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.004043, allocations: 384 / 0.5243 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.004237, allocations: 107.8 kB / 0.5244 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004244, allocations: 0.7188 kB / 0.5244 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.004256, allocations: 1.375 kB / 0.5244 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004262, allocations: 384 / 0.5244 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.004318, allocations: 36.67 kB / 0.5245 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.00474, allocations: 309.8 kB / 0.5248 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.004938, allocations: 80.81 kB / 0.5249 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.004972, allocations: 15.75 kB / 0.5249 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.004991, allocations: 9.797 kB / 0.5249 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.005013, allocations: 37.33 kB / 0.5249 GB, free: 13.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.005014, allocations: 0 / 0.5249 GB, free: 13.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001833/0.005197, allocations: 61.81 kB / 0.525 GB, free: 13.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.005227, allocations: 53.09 kB / 0.525 GB, free: 13.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.005296, allocations: 170 kB / 0.5252 GB, free: 12.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.005309, allocations: 25.7 kB / 0.5252 GB, free: 12.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.005359, allocations: 150.7 kB / 0.5254 GB, free: 12.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.005382, allocations: 4.703 kB / 0.5254 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.005417, allocations: 23.38 kB / 0.5254 GB, free: 12.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.00553, allocations: 0.4937 MB / 0.5259 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.005562, allocations: 12 kB / 0.5259 GB, free: 12.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.005587, allocations: 11.97 kB / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.005638, allocations: 31.62 kB / 0.5259 GB, free: 12.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005639, allocations: 1.031 kB / 0.5259 GB, free: 12.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.424e-05/0.005734, allocations: 49.69 kB / 0.526 GB, free: 12.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.005747, allocations: 12.22 kB / 0.526 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005751, allocations: 0 / 0.526 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-06/0.005759, allocations: 0 / 0.526 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.005859, allocations: 27.22 kB / 0.526 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.005861, allocations: 0 / 0.526 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.005912, allocations: 15.94 kB / 0.526 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.005922, allocations: 7.984 kB / 0.526 GB, free: 12.02 MB / 458.7 MB 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 7.413e-05/0.005996, allocations: 156.5 kB / 0.5262 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.006019, allocations: 7.938 kB / 0.5262 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.006052, allocations: 11.03 kB / 0.5262 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006054, allocations: 0 / 0.5262 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006056, allocations: 0 / 0.5262 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.006058, allocations: 3.938 kB / 0.5262 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.006176, allocations: 117.2 kB / 0.5263 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.006178, allocations: 3.984 kB / 0.5263 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.006243, allocations: 15.98 kB / 0.5263 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006244, allocations: 1.5 kB / 0.5263 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.006253, allocations: 4 kB / 0.5263 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.006258, allocations: 7.922 kB / 0.5263 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006259, allocations: 0 / 0.5263 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.006408, allocations: 201.3 kB / 0.5265 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.006413, allocations: 0 / 0.5265 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.006425, allocations: 4 kB / 0.5265 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.006493, allocations: 21.19 kB / 0.5266 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.006519, allocations: 0 / 0.5266 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.006524, allocations: 0 / 0.5266 GB, free: 11.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.951e-05/0.006563, allocations: 131.8 kB / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006563, allocations: 3.938 kB / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.006722, allocations: 16.56 kB / 0.5267 GB, free: 11.27 MB / 458.7 MB 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.0001054/0.006827, allocations: 94.56 kB / 0.5268 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.006944, allocations: 31.67 kB / 0.5268 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006946, allocations: 0 / 0.5268 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.006995, allocations: 23.67 kB / 0.5268 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.007204, allocations: 10.39 kB / 0.5269 GB, free: 11.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.007636, allocations: 180.4 kB / 0.527 GB, free: 10.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.294e-05/0.007689, allocations: 63.34 kB / 0.5271 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.372e-05/0.007733, allocations: 2 kB / 0.5271 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.007819, allocations: 71.55 kB / 0.5272 GB, free: 10.75 MB / 458.7 MB Notification: Performance of SimCode: time 8.21e-07/0.00782, allocations: 0 / 0.5272 GB, free: 10.75 MB / 458.7 MB Notification: Performance of Templates: time 0.002846/0.01067, allocations: 1.045 MB / 0.5282 GB, free: 9.746 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.781443766783923]