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.001319/0.001319, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001762/0.001762, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8002/0.8002, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.673e-06/1.673e-06, allocations: 0.6562 kB / 480 MB, free: 6.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.249e-05, allocations: 3.312 kB / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001907/0.001929, allocations: 1.511 MB / 481.5 MB, free: 5.391 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003218/0.002251, allocations: 154.3 kB / 481.7 MB, free: 5.242 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.002283, allocations: 0 / 481.7 MB, free: 5.242 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.002334, allocations: 3.938 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.002418, allocations: 2.406 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.002657, allocations: 40.67 kB / 481.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.002769, allocations: 44 kB / 481.8 MB, free: 5.164 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.002882, allocations: 8.562 kB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/0.002944, allocations: 23.17 kB / 481.8 MB, free: 5.137 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.832e-05/0.002992, allocations: 25.27 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.00301, allocations: 4 kB / 481.8 MB, free: 5.109 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.003092, allocations: 25.95 kB / 481.8 MB, free: 5.086 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.003115, allocations: 13.73 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.003138, allocations: 9.969 kB / 481.9 MB, free: 5.066 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003265, allocations: 66.2 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003266, allocations: 0.7656 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.003267, allocations: 1.094 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.00327, allocations: 0 / 481.9 MB, free: 5.004 MB / 442.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.0003059/0.003576, allocations: 260.5 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.003607, allocations: 13.25 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003109/0.003918, allocations: 75.33 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.615e-05/0.003994, allocations: 114.8 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.004004, allocations: 4.375 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.004017, allocations: 384 / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.004185, allocations: 108.9 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.004191, allocations: 1.281 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.004201, allocations: 384 / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.004206, allocations: 4.312 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.004255, allocations: 37.36 kB / 482.5 MB, free: 4.352 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.004584, allocations: 204.2 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.004754, allocations: 68.52 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.004781, allocations: 17.41 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.004794, allocations: 1.391 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.004815, allocations: 39.34 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.004816, allocations: 0 / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001294/0.004946, allocations: 55.34 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.004971, allocations: 51.41 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.809e-05/0.005019, allocations: 115.8 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.005032, allocations: 25.7 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.005059, allocations: 92.94 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.00508, allocations: 16.52 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.00511, allocations: 13.72 kB / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.005177, allocations: 319.4 kB / 483.5 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.005198, allocations: 8.656 kB / 483.5 MB, free: 3.262 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/0.005216, allocations: 4 kB / 483.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.005258, allocations: 28.7 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00526, allocations: 1.219 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.062e-05/0.005331, allocations: 46.25 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.005343, allocations: 11.94 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.005349, allocations: 4.875 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.005359, allocations: 0 / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.005438, allocations: 24.44 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.00544, allocations: 2.453 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.005484, allocations: 15.98 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.005492, allocations: 3.984 kB / 483.7 MB, free: 3.121 MB / 442.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 4.897e-05/0.005541, allocations: 106.8 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.005557, allocations: 4 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.005585, allocations: 9.094 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.005588, allocations: 4 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.005589, allocations: 6.281 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.005591, allocations: 0 / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.971e-05/0.005681, allocations: 81.88 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005682, allocations: 0 / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.005735, allocations: 15.98 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.005736, allocations: 0 / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.005743, allocations: 5.672 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005744, allocations: 0 / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.005746, allocations: 7.938 kB / 483.9 MB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.005842, allocations: 143.5 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.005848, allocations: 5.703 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.00586, allocations: 4 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/0.005918, allocations: 15.97 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.00594, allocations: 7.938 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.005944, allocations: 0.75 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.194e-05/0.005956, allocations: 12.84 kB / 484.1 MB, free: 2.656 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005956, allocations: 1.281 kB / 484.1 MB, free: 2.656 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001206/0.006077, allocations: 19.94 kB / 484.1 MB, free: 2.637 MB / 442.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 6.562e-05/0.006142, allocations: 73.14 kB / 484.2 MB, free: 2.559 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.00622, allocations: 25.97 kB / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.006223, allocations: 4 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.006252, allocations: 18.44 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.006373, allocations: 16.55 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.006667, allocations: 159.4 kB / 484.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.36e-05/0.006701, allocations: 64.22 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.495e-05/0.006736, allocations: 3.594 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.006797, allocations: 51.38 kB / 484.5 MB, free: 2.184 MB / 442.7 MB Notification: Performance of SimCode: time 4.1e-07/0.006797, allocations: 4 kB / 484.5 MB, free: 2.18 MB / 442.7 MB Notification: Performance of Templates: time 0.002141/0.008938, allocations: 0.9495 MB / 485.5 MB, free: 1.281 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.6719935829751194]