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.001352/0.001352, allocations: 78.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001691/0.001691, allocations: 169.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.228/1.228, allocations: 154.6 MB / 413.8 MB, free: 5.242 MB / 382.1 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 178] 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.353e-06/1.353e-06, allocations: 0 / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.462e-05/4.598e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003022/0.003068, allocations: 1.484 MB / 0.62 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004908/0.003559, allocations: 143.5 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.003609, allocations: 4 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.716e-05/0.003666, allocations: 0 / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.003747, allocations: 7.875 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.004099, allocations: 35.89 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.004223, allocations: 39.91 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.004363, allocations: 12 kB / 0.6203 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.004433, allocations: 19.92 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.004489, allocations: 23.97 kB / 0.6203 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.004512, allocations: 4 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.004619, allocations: 31.91 kB / 0.6204 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.004653, allocations: 19.92 kB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.004683, allocations: 8 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.004866, allocations: 67.78 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004869, allocations: 3.938 kB / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.71e-07/0.004869, allocations: 0 / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004873, allocations: 0 / 0.6204 GB, free: 2.672 MB / 0.5294 GB 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.0005465/0.00542, allocations: 290.2 kB / 0.6207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005459, allocations: 8.031 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.006592, allocations: 208.5 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.00673, allocations: 125.6 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.006749, allocations: 4.375 kB / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.006768, allocations: 384 / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.007382, allocations: 198 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.007393, allocations: 192 / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.007409, allocations: 384 / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.00742, allocations: 384 / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.008317, allocations: 283.5 kB / 0.6215 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009826/0.0093, allocations: 372.9 kB / 0.6219 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.01049, allocations: 282.2 kB / 0.6221 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.01087, allocations: 100.8 kB / 0.6222 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.0109, allocations: 3.938 kB / 0.6222 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.01095, allocations: 34.56 kB / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.01095, allocations: 0 / 0.6223 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001293/0.01224, allocations: 313.4 kB / 0.6226 GB, free: 380 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.01228, allocations: 51.41 kB / 0.6226 GB, free: 316 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.01238, allocations: 109.8 kB / 0.6227 GB, free: 196 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.01241, allocations: 29.7 kB / 0.6228 GB, free: 160 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.01247, allocations: 88.12 kB / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.0125, allocations: 15.84 kB / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.01255, allocations: 17.72 kB / 0.6229 GB, free: 28 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.01272, allocations: 314.8 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.0131, allocations: 95.88 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.01347, allocations: 99.91 kB / 0.6234 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.01419, allocations: 176.6 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01419, allocations: 0 / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000801/0.01499, allocations: 217.4 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.01501, allocations: 7.984 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01502, allocations: 0 / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.01504, allocations: 0 / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.01529, allocations: 31.95 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.0153, allocations: 4 kB / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.01551, allocations: 27.95 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.01552, allocations: 3.984 kB / 0.6238 GB, free: 15.05 MB / 0.545 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 0.0001171/0.01564, allocations: 115.7 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.01568, allocations: 11.89 kB / 0.6239 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.01572, allocations: 11.92 kB / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01573, allocations: 0 / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.01573, allocations: 0 / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01574, allocations: 8 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.01594, allocations: 145.3 kB / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01595, allocations: 0 / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.01618, allocations: 35.89 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.01619, allocations: 3.938 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.01621, allocations: 11.98 kB / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01621, allocations: 0 / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01622, allocations: 4 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.01709, allocations: 303.3 kB / 0.6244 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.0171, allocations: 3.953 kB / 0.6244 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.01712, allocations: 7.938 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.01735, allocations: 27.95 kB / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.0174, allocations: 3.984 kB / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01741, allocations: 8 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.01747, allocations: 87.27 kB / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01747, allocations: 0 / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002407/0.01771, allocations: 12 kB / 0.6246 GB, free: 14.2 MB / 0.545 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 0.0001396/0.01785, allocations: 95.19 kB / 0.6247 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008305/0.01868, allocations: 195.8 kB / 0.6248 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.01868, allocations: 0 / 0.6248 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.0191, allocations: 103.9 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.01938, allocations: 1.875 kB / 0.625 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.02046, allocations: 264.5 kB / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/0.02054, allocations: 71.33 kB / 0.6253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.092e-05/0.02063, allocations: 23.92 kB / 0.6253 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.02069, allocations: 12.5 kB / 0.6253 GB, free: 13.4 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.02069, allocations: 0 / 0.6253 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Templates: time 0.003988/0.02468, allocations: 0.9481 MB / 0.6262 GB, free: 12.46 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.814320437610149] Failed to read output from testmodel.py, exit status != 0: 0.034103598445653915 0.050391466 0.04215112 Calling exit ...