Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0429/0.0429, allocations: 9.131 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.000875/0.000875, allocations: 91.27 kB / 35.33 MB, free: 1.066 MB / 24.77 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.001094/0.001094, allocations: 168.6 kB / 38.73 MB, free: 2.477 MB / 24.77 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.064/1.064, allocations: 177.2 MB / 219.2 MB, free: 10.14 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004656/0.004656, allocations: 0.8185 MB / 276.5 MB, free: 0.7734 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.654/1.654, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial") translateModel(AixLib.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.638 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.634e-05, allocations: 2.312 kB / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Binomial): time 0.001174/0.00119, allocations: 0.6738 MB / 0.6386 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002728/0.001463, allocations: 95.61 kB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.001481, allocations: 4 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.001518, allocations: 4 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.001524, allocations: 0 / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.001803, allocations: 39.81 kB / 0.6388 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.887e-05/0.001901, allocations: 63.92 kB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.001933, allocations: 0 / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.001979, allocations: 31.95 kB / 0.6389 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.002009, allocations: 23.97 kB / 0.6389 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.002022, allocations: 0 / 0.6389 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.00215, allocations: 59.92 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.002177, allocations: 19.92 kB / 0.6389 GB, free: 13.02 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.002195, allocations: 15.97 kB / 0.639 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.002309, allocations: 91.8 kB / 0.6391 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002311, allocations: 3.938 kB / 0.6391 GB, free: 12.91 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002311, allocations: 0 / 0.6391 GB, free: 12.91 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.002314, allocations: 3.938 kB / 0.6391 GB, free: 12.91 MB / 0.6043 GB 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.00029/0.002604, allocations: 268.5 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.002635, allocations: 11.98 kB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.00267, allocations: 20.92 kB / 0.6393 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.611e-05/0.002726, allocations: 105.8 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.002946, allocations: 0.5299 MB / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.002954, allocations: 384 / 0.64 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.003083, allocations: 82.91 kB / 0.64 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003089, allocations: 192 / 0.64 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.003097, allocations: 384 / 0.64 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.003103, allocations: 8.125 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.003194, allocations: 91.75 kB / 0.6401 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.643e-05/0.00329, allocations: 80.11 kB / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.003357, allocations: 58.45 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.003382, allocations: 20.86 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.003397, allocations: 4 kB / 0.6403 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.00342, allocations: 30.56 kB / 0.6403 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 8.21e-07/0.00342, allocations: 4 kB / 0.6403 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.0001285/0.003549, allocations: 81.59 kB / 0.6404 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.003574, allocations: 55.41 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.601e-05/0.0036, allocations: 89.86 kB / 0.6405 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.00361, allocations: 25.7 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.791e-05/0.003628, allocations: 84.12 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.003663, allocations: 39.69 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.003695, allocations: 29.91 kB / 0.6407 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.003764, allocations: 318.8 kB / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.003783, allocations: 15.92 kB / 0.641 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.0038, allocations: 15.98 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.003856, allocations: 44.23 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003858, allocations: 0 / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.926e-05/0.003927, allocations: 65.61 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.003938, allocations: 4 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.003941, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.003953, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.004037, allocations: 27.97 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.004039, allocations: 7.938 kB / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.004066, allocations: 11.98 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.004074, allocations: 3.938 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB 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.877e-05/0.004133, allocations: 120.6 kB / 0.6413 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.004142, allocations: 4 kB / 0.6413 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.004163, allocations: 15.95 kB / 0.6413 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.004166, allocations: 0 / 0.6413 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-06/0.004168, allocations: 4 kB / 0.6413 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.004171, allocations: 0 / 0.6413 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.665e-05/0.004237, allocations: 85.72 kB / 0.6414 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.004239, allocations: 7.969 kB / 0.6414 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.004294, allocations: 27.98 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004295, allocations: 0 / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.004304, allocations: 7.984 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.004304, allocations: 0 / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004305, allocations: 0 / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/0.004397, allocations: 96.97 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.004403, allocations: 4 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.004412, allocations: 4 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.004435, allocations: 4 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.004473, allocations: 19.91 kB / 0.6416 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.004477, allocations: 4 kB / 0.6416 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.921e-06/0.004483, allocations: 4.859 kB / 0.6416 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004483, allocations: 0 / 0.6416 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001254/0.004609, allocations: 27.98 kB / 0.6416 GB, free: 9.945 MB / 0.6043 GB 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.0001127/0.004722, allocations: 96.33 kB / 0.6417 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.406e-05/0.004806, allocations: 48.77 kB / 0.6418 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.004808, allocations: 0 / 0.6418 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.004842, allocations: 36.78 kB / 0.6418 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.681e-05/0.004899, allocations: 19.92 kB / 0.6418 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.005085, allocations: 139.5 kB / 0.642 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.005116, allocations: 63.22 kB / 0.642 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.178e-05/0.005157, allocations: 19.98 kB / 0.642 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.005203, allocations: 59.36 kB / 0.6421 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of SimCode: time 4.91e-07/0.005204, allocations: 0 / 0.6421 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of Templates: time 0.002399/0.007603, allocations: 1.211 MB / 0.6433 GB, free: 8.195 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.383298866916448]