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.0008893/0.0008893, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00128/0.002169, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009077/0.0009077, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002108, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9301/0.9301, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08527/1.015, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.785/0.785, allocations: 154.6 MB / 398.8 MB, free: 368 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2829/1.068, allocations: 49.05 MB / 447.8 MB, free: 6.555 MB / 426.7 MB " [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.773e-06/1.773e-06, allocations: 0 / 449.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.685e-05, allocations: 4 kB / 449.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00227/0.002297, allocations: 1.572 MB / 450.7 MB, free: 3.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.002574, allocations: 146.2 kB / 450.9 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.002608, allocations: 4 kB / 450.9 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.002642, allocations: 0.6562 kB / 450.9 MB, free: 3.535 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.002691, allocations: 5.578 kB / 450.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.002814, allocations: 37.47 kB / 450.9 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.418e-05/0.002908, allocations: 39.52 kB / 451 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.003009, allocations: 12.64 kB / 451 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.00308, allocations: 30.16 kB / 451 MB, free: 3.422 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.00313, allocations: 22.27 kB / 451 MB, free: 3.402 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.003148, allocations: 4.75 kB / 451 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.003244, allocations: 27.98 kB / 451.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.003263, allocations: 7.203 kB / 451.1 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.003287, allocations: 10.19 kB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.003417, allocations: 56.59 kB / 451.1 MB, free: 3.309 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.003429, allocations: 4 kB / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003429, allocations: 0 / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.003443, allocations: 0.6562 kB / 451.1 MB, free: 3.305 MB / 426.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.0003761/0.003819, allocations: 258.5 kB / 451.4 MB, free: 3.027 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.003851, allocations: 12.91 kB / 451.4 MB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.004318, allocations: 155.1 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.004407, allocations: 111 kB / 451.7 MB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.00442, allocations: 8.375 kB / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.004436, allocations: 1.438 kB / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.004662, allocations: 108.4 kB / 451.8 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00467, allocations: 8.125 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.004681, allocations: 1.766 kB / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.004687, allocations: 384 / 451.8 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.933e-05/0.004746, allocations: 31.38 kB / 451.8 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.005128, allocations: 216.1 kB / 452 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.005341, allocations: 71.95 kB / 452.1 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.005405, allocations: 14.36 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.005421, allocations: 0 / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.005442, allocations: 31.66 kB / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.005443, allocations: 0 / 452.2 MB, free: 2.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.005607, allocations: 62.31 kB / 452.2 MB, free: 2.133 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.005634, allocations: 52.5 kB / 452.3 MB, free: 2.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.005691, allocations: 114.8 kB / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.005705, allocations: 25.7 kB / 452.4 MB, free: 1.914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.005739, allocations: 92.73 kB / 452.5 MB, free: 1.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.005761, allocations: 11.84 kB / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.005803, allocations: 21.03 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.005888, allocations: 319.4 kB / 452.8 MB, free: 1.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.00592, allocations: 8 kB / 452.8 MB, free: 1.457 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.005944, allocations: 4 kB / 452.8 MB, free: 1.453 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.502e-05/0.005999, allocations: 21.41 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006001, allocations: 0 / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.309e-05/0.006094, allocations: 47.84 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.006108, allocations: 9.156 kB / 452.9 MB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006111, allocations: 4 kB / 452.9 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.006125, allocations: 0 / 452.9 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.006259, allocations: 24.66 kB / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006261, allocations: 0 / 453 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.006321, allocations: 17.16 kB / 453 MB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.006331, allocations: 4 kB / 453 MB, free: 1.324 MB / 426.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 0.0001292/0.00646, allocations: 114.5 kB / 453.1 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.006487, allocations: 1.438 kB / 453.1 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.945e-05/0.006526, allocations: 12.56 kB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.00653, allocations: 4.609 kB / 453.1 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.006532, allocations: 0 / 453.1 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006535, allocations: 0.9375 kB / 453.1 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.006658, allocations: 77.88 kB / 453.2 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.00666, allocations: 0 / 453.2 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.006754, allocations: 25.69 kB / 453.2 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.006762, allocations: 6.25 kB / 453.2 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.006764, allocations: 0 / 453.2 MB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.006774, allocations: 7.938 kB / 453.2 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.006776, allocations: 4.906 kB / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006778, allocations: 0 / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.006903, allocations: 144.5 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.006916, allocations: 0 / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.007, allocations: 14.17 kB / 453.4 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.007028, allocations: 11.92 kB / 453.4 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.007034, allocations: 0 / 453.4 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.007053, allocations: 13.52 kB / 453.4 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007053, allocations: 0 / 453.4 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.007234, allocations: 17.17 kB / 453.4 MB, free: 0.8398 MB / 426.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 9.286e-05/0.007327, allocations: 76.41 kB / 453.5 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.007429, allocations: 26.78 kB / 453.5 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.007436, allocations: 7.984 kB / 453.5 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.602e-05/0.007482, allocations: 15.81 kB / 453.5 MB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.007677, allocations: 41.69 kB / 453.6 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.008182, allocations: 161.8 kB / 453.7 MB, free: 492 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.308e-05/0.008225, allocations: 61.12 kB / 453.8 MB, free: 412 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.008276, allocations: 6.844 kB / 453.8 MB, free: 408 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.00836, allocations: 56.34 kB / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of SimCode: time 7.91e-07/0.008361, allocations: 0 / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of Templates: time 0.002895/0.01126, allocations: 0.9618 MB / 454.8 MB, free: 15.43 MB / 442.7 MB " [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.5070786513388157]