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.001188/0.001188, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001174/0.001174, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.12/1.12, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.8098/0.8098, allocations: 154.9 MB / 415.1 MB, free: 248 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 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 3.958e-06/3.958e-06, allocations: 3.984 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.413e-05, allocations: 3.859 kB / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003289/0.003323, allocations: 1.506 MB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000484/0.003807, allocations: 148.1 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.003852, allocations: 0 / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.676e-05/0.003909, allocations: 7.922 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.91e-05/0.003998, allocations: 10.56 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.004271, allocations: 31.84 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.004384, allocations: 47.84 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.004516, allocations: 11.98 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.004587, allocations: 21.61 kB / 0.5229 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.004638, allocations: 19.92 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.004659, allocations: 4 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.004757, allocations: 35.95 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.004779, allocations: 8.75 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.004804, allocations: 11.98 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.00496, allocations: 61.23 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004962, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.492e-06/0.004963, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.004968, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 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.0004428/0.005411, allocations: 385.8 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.005457, allocations: 12.03 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.005957, allocations: 80.69 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.00606, allocations: 120.5 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.006074, allocations: 384 / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.006089, allocations: 8.312 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.006335, allocations: 102.9 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006343, allocations: 192 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.006354, allocations: 0.9375 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.006361, allocations: 4.375 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.006439, allocations: 32.48 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.006956, allocations: 315.8 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.007224, allocations: 87.92 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.007266, allocations: 15.75 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.007289, allocations: 1.406 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.007316, allocations: 41.31 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.007318, allocations: 0 / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002253/0.007543, allocations: 62.78 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.007574, allocations: 55.41 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.007659, allocations: 166.1 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.007674, allocations: 26.39 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.007732, allocations: 142.8 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.007757, allocations: 9.234 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.007807, allocations: 27.36 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.007949, allocations: 0.4884 MB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.007991, allocations: 8 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.008027, allocations: 13.33 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.008099, allocations: 23.69 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008101, allocations: 0 / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000134/0.008235, allocations: 60.64 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.008256, allocations: 11.94 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008261, allocations: 0 / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.008275, allocations: 0 / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.0084, allocations: 19.97 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.008405, allocations: 4.062 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.008475, allocations: 18.73 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.008485, allocations: 3.938 kB / 0.5253 GB, free: 13.13 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 8.863e-05/0.008573, allocations: 156.6 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.008605, allocations: 7.938 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.008649, allocations: 8 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.008651, allocations: 4 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008653, allocations: 1.312 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008656, allocations: 0 / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.008833, allocations: 113.2 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.008836, allocations: 0.5 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.008945, allocations: 24.41 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008947, allocations: 1.031 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.008957, allocations: 0 / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.00896, allocations: 3.938 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.008962, allocations: 0.8281 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.009162, allocations: 209.7 kB / 0.5258 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.009171, allocations: 4 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.009185, allocations: 0 / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.009296, allocations: 15.92 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.009324, allocations: 6.422 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.009334, allocations: 4 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.009383, allocations: 131.2 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009383, allocations: 0 / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002664/0.009649, allocations: 19.92 kB / 0.5259 GB, free: 12.38 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.0001177/0.009767, allocations: 97.56 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.009899, allocations: 27.67 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009901, allocations: 0 / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.054e-05/0.009951, allocations: 23.67 kB / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01022, allocations: 12 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.01067, allocations: 168 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.01072, allocations: 63.28 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.781e-05/0.01078, allocations: 7.5 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.01087, allocations: 70.2 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.01087, allocations: 0.8438 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.003417/0.01429, allocations: 1.023 MB / 0.5274 GB, free: 10.89 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.8278138996101916]