Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.0007141/0.0007141, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008823/0.001596, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006796/0.0006796, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000881/0.001561, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.023/1.023, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08868/1.112, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.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.8426/0.8426, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.268/1.111, allocations: 49.05 MB / 447.8 MB, free: 6.562 MB / 426.7 MB " [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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 449.2 MB, free: 5.188 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.382e-05, allocations: 4.609 kB / 449.2 MB, free: 5.184 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001245/0.001269, allocations: 0.6545 MB / 449.9 MB, free: 4.566 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.001467, allocations: 112.3 kB / 450 MB, free: 4.457 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/0.001482, allocations: 4.625 kB / 450 MB, free: 4.453 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.001496, allocations: 0 / 450 MB, free: 4.453 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.31e-07/0.001497, allocations: 1.656 kB / 450 MB, free: 4.453 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.001692, allocations: 32.55 kB / 450 MB, free: 4.422 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.001813, allocations: 64.59 kB / 450.1 MB, free: 4.359 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.001849, allocations: 4.875 kB / 450.1 MB, free: 4.355 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.001909, allocations: 34.36 kB / 450.1 MB, free: 4.324 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.001948, allocations: 20.62 kB / 450.1 MB, free: 4.305 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.001965, allocations: 4 kB / 450.2 MB, free: 4.301 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.002102, allocations: 59.86 kB / 450.2 MB, free: 4.242 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.002133, allocations: 9.75 kB / 450.2 MB, free: 4.234 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.002152, allocations: 13.41 kB / 450.2 MB, free: 4.223 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.002285, allocations: 80.83 kB / 450.3 MB, free: 4.148 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.002297, allocations: 3.984 kB / 450.3 MB, free: 4.145 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002297, allocations: 0 / 450.3 MB, free: 4.145 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.002306, allocations: 0 / 450.3 MB, free: 4.145 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003814/0.002688, allocations: 277.1 kB / 450.6 MB, free: 3.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.002729, allocations: 14 kB / 450.6 MB, free: 3.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.002769, allocations: 17.91 kB / 450.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.078e-05/0.00283, allocations: 105.8 kB / 450.7 MB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.003058, allocations: 0.526 MB / 451.2 MB, free: 3.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.003073, allocations: 8.375 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.003214, allocations: 84.48 kB / 451.3 MB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.00322, allocations: 192 / 451.3 MB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.003228, allocations: 3.625 kB / 451.3 MB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003233, allocations: 4.125 kB / 451.3 MB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.003328, allocations: 87.8 kB / 451.4 MB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.385e-05/0.003422, allocations: 82.02 kB / 451.5 MB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.33e-05/0.003496, allocations: 59.19 kB / 451.6 MB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.003521, allocations: 20.8 kB / 451.6 MB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.003539, allocations: 0.6562 kB / 451.6 MB, free: 2.676 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.00356, allocations: 38.56 kB / 451.6 MB, free: 2.629 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 6.51e-07/0.003561, allocations: 0 / 451.6 MB, free: 2.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001506/0.003711, allocations: 78.61 kB / 451.7 MB, free: 2.551 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.003735, allocations: 51.41 kB / 451.8 MB, free: 2.488 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.043e-05/0.003766, allocations: 96.39 kB / 451.8 MB, free: 2.387 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.003776, allocations: 29.7 kB / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.837e-05/0.003795, allocations: 80.14 kB / 452 MB, free: 2.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.003837, allocations: 39.67 kB / 452 MB, free: 2.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.003869, allocations: 25.7 kB / 452 MB, free: 2.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.003947, allocations: 320.5 kB / 452.3 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.003971, allocations: 15.92 kB / 452.3 MB, free: 1.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.003989, allocations: 17.44 kB / 452.4 MB, free: 1.848 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.00405, allocations: 36.47 kB / 452.4 MB, free: 1.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004052, allocations: 5 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.074e-05/0.004133, allocations: 58.77 kB / 452.5 MB, free: 1.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.004144, allocations: 4 kB / 452.5 MB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004148, allocations: 1.312 kB / 452.5 MB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.004158, allocations: 4 kB / 452.5 MB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.004277, allocations: 31.89 kB / 452.5 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.00428, allocations: 4.656 kB / 452.5 MB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.004308, allocations: 12.61 kB / 452.5 MB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.004318, allocations: 9.141 kB / 452.5 MB, free: 1.684 MB / 426.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.34e-05/0.004382, allocations: 120.7 kB / 452.6 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.004395, allocations: 5.062 kB / 452.7 MB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.004417, allocations: 11.97 kB / 452.7 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004419, allocations: 0 / 452.7 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.00442, allocations: 2.031 kB / 452.7 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.004423, allocations: 0 / 452.7 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.572e-05/0.004489, allocations: 85.75 kB / 452.7 MB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.00449, allocations: 0.7188 kB / 452.8 MB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.004557, allocations: 35.91 kB / 452.8 MB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.004564, allocations: 9.453 kB / 452.8 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.004565, allocations: 0 / 452.8 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.004575, allocations: 8.641 kB / 452.8 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.004576, allocations: 0 / 452.8 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.004578, allocations: 5.5 kB / 452.8 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.46e-05/0.004672, allocations: 94.88 kB / 452.9 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.004686, allocations: 9.172 kB / 452.9 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.004709, allocations: 0.6875 kB / 452.9 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.004749, allocations: 11.97 kB / 452.9 MB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.004755, allocations: 6.078 kB / 452.9 MB, free: 1.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.504e-06/0.004762, allocations: 4.859 kB / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004762, allocations: 0 / 452.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.004889, allocations: 24.5 kB / 453 MB, free: 1.219 MB / 426.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001377/0.005027, allocations: 106.2 kB / 453.1 MB, free: 1.109 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.005117, allocations: 48.55 kB / 453.1 MB, free: 1.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.00512, allocations: 0.75 kB / 453.1 MB, free: 1.062 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.005162, allocations: 46.25 kB / 453.2 MB, free: 1.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.591e-05/0.005228, allocations: 24.61 kB / 453.2 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.005442, allocations: 132.5 kB / 453.3 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.005475, allocations: 67.28 kB / 453.4 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.005522, allocations: 20.45 kB / 453.4 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.005572, allocations: 55.38 kB / 453.4 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.005572, allocations: 0 / 453.4 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of Templates: time 0.002626/0.008198, allocations: 1.257 MB / 454.7 MB, free: 15.52 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5819128630682826]