Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.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.0503/0.0503, allocations: 9.131 MB / 28.99 MB, free: 0.8203 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.001125/0.001125, allocations: 101.9 kB / 35.34 MB, free: 1.078 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.001219/0.001219, allocations: 164 kB / 38.73 MB, free: 2.492 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.031/1.031, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.006325/0.006325, allocations: 0.8219 MB / 276.5 MB, free: 0.7422 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.72/1.72, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Binomial") translateModel(AixLib.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.227e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Binomial): time 0.001958/0.00197, allocations: 1.66 MB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003735/0.002343, allocations: 183.2 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.002378, allocations: 4 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.002405, allocations: 3.938 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.00245, allocations: 7.875 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.002717, allocations: 43.88 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.002782, allocations: 39.91 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.331e-05/0.002856, allocations: 15.92 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.002897, allocations: 23.92 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.002931, allocations: 11.97 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.002945, allocations: 4 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.00307, allocations: 55.94 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.003082, allocations: 11.98 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.003097, allocations: 7.938 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.003219, allocations: 71.77 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003221, allocations: 4 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003221, allocations: 0 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003225, allocations: 4 kB / 0.64 GB, free: 11.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002672/0.003492, allocations: 248.8 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.003522, allocations: 15.98 kB / 0.6402 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.003544, allocations: 0.9375 kB / 0.6402 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.898e-05/0.003613, allocations: 109.8 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.003629, allocations: 4.375 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.003638, allocations: 8.359 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.003744, allocations: 66.91 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003751, allocations: 192 / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.003759, allocations: 4.375 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.003764, allocations: 8.375 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.61e-05/0.00379, allocations: 11.88 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.003999, allocations: 164.2 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.004124, allocations: 34.56 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.004138, allocations: 4.859 kB / 0.6406 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.004251, allocations: 31.91 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.00427, allocations: 30.56 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.004271, allocations: 0 / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001054/0.004377, allocations: 49.62 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.0044, allocations: 51.41 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.004449, allocations: 110.8 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004459, allocations: 29.7 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.00449, allocations: 88.03 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.004507, allocations: 19.86 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.004536, allocations: 13.72 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.004606, allocations: 310.8 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.004617, allocations: 11.92 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.004625, allocations: 0 / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.004658, allocations: 24.83 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00466, allocations: 0 / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.622e-05/0.004706, allocations: 45.94 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.004716, allocations: 4 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.00472, allocations: 3.938 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.004734, allocations: 4 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.934e-05/0.004773, allocations: 8 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.004775, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.004794, allocations: 11.92 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.004798, allocations: 0 / 0.6415 GB, free: 10.26 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: 2 (bin.y,rea2Int.y) * 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 4.958e-05/0.004848, allocations: 109.8 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.004864, allocations: 4 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.004927, allocations: 53.62 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004929, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.00493, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.004934, allocations: 4.031 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.363e-05/0.005018, allocations: 69.89 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005019, allocations: 0 / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.005043, allocations: 8 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.005044, allocations: 0 / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.005049, allocations: 4 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005049, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.005051, allocations: 3.938 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.269e-05/0.005124, allocations: 147.5 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.005128, allocations: 4 kB / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.005136, allocations: 0 / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-05/0.005168, allocations: 4 kB / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.005202, allocations: 7.922 kB / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.005207, allocations: 4 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.128e-05/0.005219, allocations: 12.84 kB / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005219, allocations: 0 / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001352/0.005354, allocations: 27.88 kB / 0.6419 GB, free: 9.754 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: 2 (rea2Int.y,bin.y) * 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.0001076/0.005461, allocations: 88.41 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.874e-05/0.00552, allocations: 28.78 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.005522, allocations: 0 / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.005539, allocations: 8.859 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.00566, allocations: 4.188 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.005858, allocations: 132.5 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.048e-05/0.005889, allocations: 59.36 kB / 0.6422 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.005909, allocations: 8 kB / 0.6422 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.005951, allocations: 55.36 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of SimCode: time 4.11e-07/0.005952, allocations: 0 / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of Templates: time 0.002345/0.008297, allocations: 1.043 MB / 0.6433 GB, free: 8.273 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.Binomial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Binomial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Binomial.sim & ./AixLib_AixLib.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.405848399270326]