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.0009443/0.0009443, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009754/0.0009754, allocations: 177 kB / 23.36 MB, free: 1.129 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.9203/0.9203, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.7761/0.7761, allocations: 154.6 MB / 414.8 MB, free: 0.5273 MB / 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. " [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.553e-06/1.553e-06, allocations: 0 / 480.1 MB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.168e-05, allocations: 5.25 kB / 480.1 MB, free: 6.855 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001142/0.001164, allocations: 0.6082 MB / 480.7 MB, free: 6.277 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003087/0.001472, allocations: 103.5 kB / 480.8 MB, free: 6.176 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.001492, allocations: 0 / 480.8 MB, free: 6.176 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.001525, allocations: 0.5625 kB / 480.8 MB, free: 6.176 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.001532, allocations: 0.625 kB / 480.8 MB, free: 6.176 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.001853, allocations: 41.19 kB / 480.8 MB, free: 6.137 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.001956, allocations: 65.55 kB / 480.9 MB, free: 6.074 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.001991, allocations: 4 kB / 480.9 MB, free: 6.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.002038, allocations: 31.95 kB / 480.9 MB, free: 6.039 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.223e-05/0.00207, allocations: 24.72 kB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.002086, allocations: 5.156 kB / 480.9 MB, free: 6.012 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.0022, allocations: 55.88 kB / 481 MB, free: 5.957 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.002232, allocations: 26.14 kB / 481 MB, free: 5.934 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.002249, allocations: 10.38 kB / 481 MB, free: 5.926 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.00237, allocations: 85.78 kB / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002371, allocations: 0 / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.002372, allocations: 0 / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.002374, allocations: 0 / 481.1 MB, free: 5.844 MB / 442.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.0002953/0.00267, allocations: 282.2 kB / 481.4 MB, free: 5.547 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.002698, allocations: 12.03 kB / 481.4 MB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.002729, allocations: 16.92 kB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.215e-05/0.002781, allocations: 106.3 kB / 481.5 MB, free: 5.391 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.003004, allocations: 0.5266 MB / 482 MB, free: 4.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.003018, allocations: 4.375 kB / 482.1 MB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.003156, allocations: 86.12 kB / 482.1 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003162, allocations: 4.125 kB / 482.1 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.003171, allocations: 4.375 kB / 482.1 MB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.003178, allocations: 5.625 kB / 482.2 MB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.614e-05/0.003265, allocations: 77.55 kB / 482.2 MB, free: 4.562 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.446e-05/0.003359, allocations: 80.88 kB / 482.3 MB, free: 4.469 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.003425, allocations: 56.62 kB / 482.4 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.003452, allocations: 21.52 kB / 482.4 MB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.003468, allocations: 4 kB / 482.4 MB, free: 4.379 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.003488, allocations: 38.5 kB / 482.4 MB, free: 4.332 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 6.41e-07/0.003488, allocations: 0.9844 kB / 482.4 MB, free: 4.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.000128/0.003616, allocations: 87.67 kB / 482.5 MB, free: 4.246 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.003644, allocations: 51.41 kB / 482.6 MB, free: 4.184 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.581e-05/0.00367, allocations: 90.77 kB / 482.6 MB, free: 4.086 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.003682, allocations: 29.7 kB / 482.7 MB, free: 4.051 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.786e-05/0.0037, allocations: 80.14 kB / 482.8 MB, free: 3.969 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.003737, allocations: 37.08 kB / 482.8 MB, free: 3.934 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.003768, allocations: 30.31 kB / 482.8 MB, free: 3.898 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.003837, allocations: 322.8 kB / 483.1 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.003855, allocations: 8.625 kB / 483.1 MB, free: 3.566 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.003872, allocations: 13.38 kB / 483.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.003927, allocations: 40.8 kB / 483.2 MB, free: 3.512 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003929, allocations: 0.625 kB / 483.2 MB, free: 3.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.078e-05/0.004, allocations: 68.38 kB / 483.3 MB, free: 3.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.004009, allocations: 4 kB / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.004012, allocations: 0.8125 kB / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.004024, allocations: 4.594 kB / 483.3 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.004104, allocations: 21.77 kB / 483.3 MB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.004109, allocations: 7.938 kB / 483.3 MB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.004134, allocations: 4 kB / 483.3 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.004143, allocations: 7.922 kB / 483.3 MB, free: 3.395 MB / 442.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 5.475e-05/0.004198, allocations: 117.3 kB / 483.4 MB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.004208, allocations: 9.516 kB / 483.4 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.004225, allocations: 7.969 kB / 483.4 MB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.004227, allocations: 0.625 kB / 483.4 MB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.004231, allocations: 4.828 kB / 483.5 MB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.004233, allocations: 0.5312 kB / 483.5 MB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.412e-05/0.004297, allocations: 95.11 kB / 483.5 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.004298, allocations: 0.7812 kB / 483.5 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.004348, allocations: 27.97 kB / 483.6 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.00435, allocations: 1.219 kB / 483.6 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.004354, allocations: 0 / 483.6 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.004355, allocations: 0 / 483.6 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.004357, allocations: 5.547 kB / 483.6 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.004442, allocations: 102.9 kB / 483.7 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-06/0.004447, allocations: 5.906 kB / 483.7 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.004455, allocations: 0 / 483.7 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.004479, allocations: 11.5 kB / 483.7 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.004512, allocations: 11.98 kB / 483.7 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.004517, allocations: 3.984 kB / 483.7 MB, free: 2.969 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.044e-06/0.004524, allocations: 5.609 kB / 483.7 MB, free: 2.961 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004524, allocations: 0.875 kB / 483.7 MB, free: 2.961 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001187/0.004643, allocations: 24.78 kB / 483.7 MB, free: 2.938 MB / 442.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.0001121/0.004755, allocations: 102.1 kB / 483.8 MB, free: 2.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.844e-05/0.004833, allocations: 50.14 kB / 483.9 MB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.004835, allocations: 1.672 kB / 483.9 MB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.004867, allocations: 36.77 kB / 483.9 MB, free: 2.742 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.926e-05/0.004916, allocations: 16.81 kB / 483.9 MB, free: 2.727 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.005102, allocations: 135.5 kB / 484.1 MB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.787e-05/0.00513, allocations: 59.34 kB / 484.1 MB, free: 2.492 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.005171, allocations: 18.72 kB / 484.2 MB, free: 2.477 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.005218, allocations: 60.38 kB / 484.2 MB, free: 2.418 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.005219, allocations: 1.156 kB / 484.2 MB, free: 2.418 MB / 442.7 MB Notification: Performance of Templates: time 0.002486/0.007705, allocations: 1.214 MB / 485.4 MB, free: 1.293 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.5582483862526715]