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.0008459/0.0008459, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009365/0.0009365, allocations: 169 kB / 24.06 MB, free: 456 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.063/1.063, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7805/0.7805, allocations: 154.6 MB / 415.6 MB, free: 0.5312 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.922e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001862/0.001881, allocations: 1.51 MB / 0.523 GB, free: 444 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.002217, allocations: 140.9 kB / 0.5232 GB, free: 304 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.002251, allocations: 3.938 kB / 0.5232 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.002294, allocations: 4.781 kB / 0.5232 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.002363, allocations: 3.984 kB / 0.5232 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.002565, allocations: 36.81 kB / 0.5232 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.171e-05/0.002647, allocations: 43.84 kB / 0.5232 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.002747, allocations: 12.95 kB / 0.5233 GB, free: 200 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.002795, allocations: 19.98 kB / 0.5233 GB, free: 180 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.002831, allocations: 20.48 kB / 0.5233 GB, free: 160 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.002846, allocations: 4 kB / 0.5233 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.002919, allocations: 32.94 kB / 0.5233 GB, free: 124 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.002937, allocations: 15.97 kB / 0.5233 GB, free: 108 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.002954, allocations: 13.69 kB / 0.5234 GB, free: 96 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.003063, allocations: 59.8 kB / 0.5234 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003065, allocations: 3.938 kB / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003066, allocations: 0 / 0.5234 GB, free: 32 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.003069, allocations: 0 / 0.5234 GB, free: 32 kB / 490.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.0003146/0.003383, allocations: 389.1 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.003413, allocations: 9.062 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.003758, allocations: 78 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.003832, allocations: 117.2 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.003844, allocations: 5.875 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.003855, allocations: 4.375 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.004023, allocations: 99.72 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.00403, allocations: 4.125 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.00404, allocations: 4.375 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.004045, allocations: 5.438 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/0.004099, allocations: 35.91 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.004484, allocations: 309.9 kB / 0.5244 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.004673, allocations: 92.5 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.004701, allocations: 20.45 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.004714, allocations: 0 / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.004732, allocations: 38.08 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.004732, allocations: 4 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001524/0.004885, allocations: 54.56 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.004911, allocations: 58.28 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.004973, allocations: 169.8 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.004985, allocations: 25.7 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.005031, allocations: 146.8 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.00505, allocations: 3.953 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.005084, allocations: 23.36 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.005188, allocations: 0.4962 MB / 0.5255 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.005212, allocations: 4 kB / 0.5255 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/0.005236, allocations: 17.23 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.005281, allocations: 23.77 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.005282, allocations: 0.5625 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.749e-05/0.00537, allocations: 54.2 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.005381, allocations: 11.94 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.005384, allocations: 4.875 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.005392, allocations: 0 / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.005478, allocations: 21.44 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005481, allocations: 0 / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.005528, allocations: 11.98 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.005538, allocations: 8.547 kB / 0.5257 GB, free: 13.53 MB / 0.4948 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 6.366e-05/0.005601, allocations: 157.8 kB / 0.5258 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.005621, allocations: 3.938 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.005646, allocations: 10.75 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.005648, allocations: 0 / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.005649, allocations: 0 / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005651, allocations: 0 / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.005761, allocations: 121.2 kB / 0.526 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005762, allocations: 0 / 0.526 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.005821, allocations: 19.98 kB / 0.526 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.005822, allocations: 2.469 kB / 0.526 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.005829, allocations: 0 / 0.526 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.005831, allocations: 7.922 kB / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005832, allocations: 0 / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.005962, allocations: 203.8 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.005969, allocations: 4 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.005979, allocations: 0.625 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.006046, allocations: 24.94 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.006071, allocations: 0 / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.006077, allocations: 4 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.006115, allocations: 127.8 kB / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006115, allocations: 3.438 kB / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001519/0.006267, allocations: 23.89 kB / 0.5264 GB, free: 12.79 MB / 0.4948 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 6.769e-05/0.006335, allocations: 91.25 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.262e-05/0.006427, allocations: 39.53 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006429, allocations: 4 kB / 0.5265 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.006463, allocations: 19.67 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.006628, allocations: 12 kB / 0.5265 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.006921, allocations: 164.8 kB / 0.5267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.102e-05/0.006952, allocations: 59.34 kB / 0.5267 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.006989, allocations: 11.02 kB / 0.5267 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.007054, allocations: 70.2 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.007055, allocations: 2.438 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.002326/0.009381, allocations: 1.042 MB / 0.5278 GB, free: 11.25 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6209825426340103]