Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001499/0.001499, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001931/0.001931, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9819/0.9819, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8117/0.8117, allocations: 154.8 MB / 414.7 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5206 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.014e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.965 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001937/0.001967, allocations: 1.509 MB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003274/0.002294, allocations: 148.2 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.002322, allocations: 2.75 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.002367, allocations: 0 / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.002439, allocations: 11.86 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.00266, allocations: 31.84 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.829e-05/0.002749, allocations: 47.84 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.002851, allocations: 11.98 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.002902, allocations: 21.02 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.002939, allocations: 23.91 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.002955, allocations: 4 kB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.003032, allocations: 29.2 kB / 0.5224 GB, free: 148 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.00305, allocations: 15.97 kB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.003072, allocations: 7.938 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.003199, allocations: 60.48 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003202, allocations: 0 / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003203, allocations: 1.688 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.003208, allocations: 3.938 kB / 0.5224 GB, free: 60 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.0003539/0.003561, allocations: 380.5 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.003597, allocations: 12.03 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004403/0.004038, allocations: 154.6 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.23e-05/0.00412, allocations: 121.7 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.00413, allocations: 384 / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.004146, allocations: 4.375 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.004371, allocations: 132.2 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.00438, allocations: 4.172 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.004392, allocations: 1.469 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.0044, allocations: 4.375 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.004486, allocations: 44.64 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.004953, allocations: 341.3 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.005166, allocations: 94.28 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.00521, allocations: 27.73 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.005231, allocations: 3.938 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.00525, allocations: 37.33 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.005251, allocations: 0 / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000211/0.005462, allocations: 66.48 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.00549, allocations: 51.41 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.005563, allocations: 170.5 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.005577, allocations: 29.7 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.005629, allocations: 135.7 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.005653, allocations: 11.95 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.00569, allocations: 28.95 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.0058, allocations: 496.1 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.005839, allocations: 11.98 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.005868, allocations: 12 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.017e-05/0.005928, allocations: 28.59 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.00593, allocations: 7.938 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000106/0.006036, allocations: 67.56 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.006049, allocations: 4 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.006054, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.006069, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.00617, allocations: 23.97 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.006177, allocations: 4.719 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.006226, allocations: 16.67 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.006234, allocations: 0 / 0.5249 GB, free: 13.39 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.842e-05/0.006303, allocations: 165.1 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.006322, allocations: 4.625 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.00636, allocations: 13.59 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006362, allocations: 0 / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.006365, allocations: 0 / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.006367, allocations: 0 / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.006482, allocations: 135.4 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006484, allocations: 0 / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.00655, allocations: 19.97 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.006553, allocations: 3.938 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.006562, allocations: 4.328 kB / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006563, allocations: 0 / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006564, allocations: 0 / 0.5252 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.006718, allocations: 217.9 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.006724, allocations: 0 / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.006737, allocations: 3.938 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/0.0068, allocations: 11.98 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.006833, allocations: 12.86 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.006839, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.006878, allocations: 131.2 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006878, allocations: 0.7188 kB / 0.5256 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001484/0.007026, allocations: 23.89 kB / 0.5256 GB, free: 12.6 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 0.0001057/0.007132, allocations: 98.8 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.007257, allocations: 35.67 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007259, allocations: 0 / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.007308, allocations: 31.61 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.007495, allocations: 7.938 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.007864, allocations: 173.2 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.661e-05/0.007901, allocations: 59.34 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.131e-05/0.007942, allocations: 17.75 kB / 0.526 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.007986, allocations: 8.5 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/0.007987, allocations: 4 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.002576/0.01056, allocations: 0.9565 MB / 0.5269 GB, free: 11.2 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8887908812612295]