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.001465/0.001465, allocations: 88.72 kB / 19.44 MB, free: 356 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.001582/0.001582, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.303/1.303, allocations: 154.8 MB / 414.4 MB, free: 444 kB / 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 178] 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 2.725e-06/2.725e-06, allocations: 0 / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.807e-05/5.08e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.004261/0.004312, allocations: 1.478 MB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006341/0.004946, allocations: 144.4 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.004987, allocations: 0 / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.858e-05/0.005056, allocations: 4.156 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.005144, allocations: 9.344 kB / 0.5215 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.005445, allocations: 31.95 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.005591, allocations: 47.78 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.005721, allocations: 12.97 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.005806, allocations: 23.97 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.005867, allocations: 20.89 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.005892, allocations: 4 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.006034, allocations: 31.91 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.006063, allocations: 12.98 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.006112, allocations: 15.92 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.006344, allocations: 67.84 kB / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.006349, allocations: 4.812 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00635, allocations: 0 / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.006355, allocations: 1.312 kB / 0.5217 GB, free: 412 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.0007039/0.007059, allocations: 282.1 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.00711, allocations: 8.531 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.009001, allocations: 218.7 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.009174, allocations: 114.3 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.009195, allocations: 13.94 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.009219, allocations: 384 / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/0.01015, allocations: 195.8 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01016, allocations: 192 / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.01018, allocations: 384 / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.01019, allocations: 384 / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.01164, allocations: 286 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.01302, allocations: 366.5 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.01486, allocations: 283.5 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/0.01546, allocations: 100.8 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/0.01551, allocations: 11.92 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.01556, allocations: 30.56 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.01556, allocations: 0.5625 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.002003/0.01756, allocations: 311 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.01763, allocations: 59.39 kB / 0.5239 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.01778, allocations: 101.9 kB / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.01781, allocations: 25.7 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.01791, allocations: 96.08 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.01795, allocations: 7.891 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/0.01804, allocations: 21.7 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000254/0.01829, allocations: 317.7 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.01891, allocations: 95.88 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.0195, allocations: 93.38 kB / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.02062, allocations: 171.3 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.02062, allocations: 0 / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00131/0.02193, allocations: 231.7 kB / 0.525 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.02196, allocations: 8 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.02197, allocations: 0 / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.022, allocations: 2.031 kB / 0.525 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.02239, allocations: 27.95 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.0224, allocations: 4.312 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.02272, allocations: 28.78 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.02274, allocations: 4 kB / 0.5251 GB, free: 12.82 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 0.0001648/0.02291, allocations: 116.3 kB / 0.5252 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.02298, allocations: 3.938 kB / 0.5252 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.985e-05/0.02305, allocations: 11.98 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.02305, allocations: 0 / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.02306, allocations: 4 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.02307, allocations: 2.75 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.02342, allocations: 141.3 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02342, allocations: 0 / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.02378, allocations: 39.89 kB / 0.5254 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.02379, allocations: 3.938 kB / 0.5254 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.02381, allocations: 3.984 kB / 0.5254 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.02381, allocations: 1.562 kB / 0.5254 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.02382, allocations: 3.984 kB / 0.5254 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.02519, allocations: 313.1 kB / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.0252, allocations: 0.8438 kB / 0.5257 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.02523, allocations: 3.938 kB / 0.5257 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.02559, allocations: 29.42 kB / 0.5257 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.02564, allocations: 3.984 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.02565, allocations: 384 / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.145e-05/0.02575, allocations: 91.83 kB / 0.5258 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02575, allocations: 0 / 0.5258 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004461/0.02619, allocations: 12.59 kB / 0.5258 GB, free: 12 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.0001873/0.02638, allocations: 96.12 kB / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.02768, allocations: 198.2 kB / 0.5261 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02768, allocations: 0.7188 kB / 0.5261 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006407/0.02832, allocations: 101.6 kB / 0.5262 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.02875, allocations: 13.22 kB / 0.5262 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.03026, allocations: 271.2 kB / 0.5265 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.03038, allocations: 67.34 kB / 0.5265 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.03052, allocations: 23.23 kB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.502e-05/0.03061, allocations: 21.7 kB / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.03061, allocations: 0 / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.005115/0.03573, allocations: 0.9562 MB / 0.5275 GB, free: 10.26 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.922073247958906]