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.001083/0.001083, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001306/0.001306, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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 0.9895/0.9895, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.7879/0.7879, allocations: 154.6 MB / 414.9 MB, free: 0.6406 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.542e-06/1.542e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.816e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001808/0.001827, allocations: 1.517 MB / 0.5218 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.002237, allocations: 140.3 kB / 0.522 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.002281, allocations: 0 / 0.522 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.386e-05/0.002335, allocations: 3.938 kB / 0.522 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/0.002414, allocations: 11.92 kB / 0.522 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.002672, allocations: 33.16 kB / 0.522 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.002776, allocations: 43.84 kB / 0.522 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.002913, allocations: 11.98 kB / 0.5221 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.002989, allocations: 23.98 kB / 0.5221 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.003038, allocations: 16.48 kB / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.003064, allocations: 5.031 kB / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.003166, allocations: 35.97 kB / 0.5221 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.00319, allocations: 11.97 kB / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.003217, allocations: 13.19 kB / 0.5222 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.003362, allocations: 59.8 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003364, allocations: 0 / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003365, allocations: 0 / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.003369, allocations: 4.5 kB / 0.5222 GB, free: 0.625 MB / 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.0003827/0.003752, allocations: 385.4 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.003793, allocations: 8.031 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/0.004306, allocations: 154.5 kB / 0.5227 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.004402, allocations: 117.7 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004413, allocations: 384 / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.00443, allocations: 8.375 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.004669, allocations: 124.8 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.004675, allocations: 8.109 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.004688, allocations: 4.375 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.004694, allocations: 1.812 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.00479, allocations: 43.92 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.00526, allocations: 337 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.005477, allocations: 98.59 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.005523, allocations: 23.73 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.005538, allocations: 3.938 kB / 0.5235 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.005559, allocations: 41.39 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005561, allocations: 0 / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002018/0.005762, allocations: 69.67 kB / 0.5236 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.005796, allocations: 55.34 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.005868, allocations: 170.9 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.005883, allocations: 25.7 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.005933, allocations: 145.5 kB / 0.524 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.00595, allocations: 3.953 kB / 0.524 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.005987, allocations: 27.36 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.006106, allocations: 0.4884 MB / 0.5245 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.006144, allocations: 15.98 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.006174, allocations: 4 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.006238, allocations: 27.69 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.00624, allocations: 6.594 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001144/0.006354, allocations: 69.56 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.006366, allocations: 7.938 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.006372, allocations: 4 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.006383, allocations: 0 / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.006483, allocations: 19.97 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.006489, allocations: 1.219 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.00654, allocations: 11.98 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.006549, allocations: 4.5 kB / 0.5246 GB, free: 13.96 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 7.186e-05/0.006621, allocations: 157.6 kB / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.006642, allocations: 8.266 kB / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.006672, allocations: 9.125 kB / 0.5248 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.006676, allocations: 3.984 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.006679, allocations: 0 / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006683, allocations: 0.625 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.006808, allocations: 133.3 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006809, allocations: 4 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.00688, allocations: 23.41 kB / 0.525 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.006883, allocations: 3.938 kB / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.006891, allocations: 0 / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.006893, allocations: 0 / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006894, allocations: 0 / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.007061, allocations: 215.8 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.007068, allocations: 4 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.007082, allocations: 3.938 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.007149, allocations: 14.55 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.007175, allocations: 3.984 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.007182, allocations: 4 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.007223, allocations: 131.2 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007223, allocations: 0 / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001484/0.007371, allocations: 19.89 kB / 0.5253 GB, free: 13.18 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 7.31e-05/0.007444, allocations: 92 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.007564, allocations: 40.89 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007566, allocations: 0 / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.198e-05/0.007618, allocations: 31.61 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.007796, allocations: 16.69 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.008175, allocations: 171.9 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.008218, allocations: 59.34 kB / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.799e-05/0.008276, allocations: 15.59 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.008323, allocations: 12.5 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of SimCode: time 7.32e-07/0.008324, allocations: 1.125 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.002561/0.01089, allocations: 0.9542 MB / 0.5267 GB, free: 11.77 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.9703994339797646]