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.04461/0.04461, allocations: 9.13 MB / 28.99 MB, free: 0.8125 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.0008461/0.0008461, allocations: 99.08 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.0009207/0.0009207, allocations: 167.7 kB / 38.73 MB, free: 2.5 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 0.9115/0.9115, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004104/0.004104, allocations: 0.8223 MB / 276.5 MB, free: 0.7539 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.659/1.659, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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 2.445e-06/2.445e-06, allocations: 4 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.349e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Binomial): time 0.001802/0.001816, allocations: 1.594 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003529/0.002169, allocations: 199.2 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.002201, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.002225, allocations: 3.938 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.002267, allocations: 7.938 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.002555, allocations: 47.81 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.665e-05/0.002612, allocations: 31.92 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.002676, allocations: 15.92 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.002712, allocations: 27.91 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.002745, allocations: 11.98 kB / 0.6398 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.002758, allocations: 8 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.002862, allocations: 47.94 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.002874, allocations: 11.98 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.002891, allocations: 15.92 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.003005, allocations: 59.84 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.542e-06/0.003007, allocations: 0 / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003007, allocations: 0 / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003011, allocations: 0 / 0.6399 GB, free: 12.04 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.0003386/0.003349, allocations: 256.8 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.003378, allocations: 11.98 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.003403, allocations: 8.938 kB / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.134e-05/0.003474, allocations: 117.7 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.003489, allocations: 384 / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.0035, allocations: 4.375 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.766e-05/0.003597, allocations: 70.91 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.003604, allocations: 192 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.00361, allocations: 384 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003615, allocations: 384 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.003639, allocations: 11.94 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.003842, allocations: 168.2 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.003969, allocations: 34.56 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.003983, allocations: 12.86 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.004096, allocations: 19.97 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.004114, allocations: 34.56 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.004115, allocations: 3.984 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.909e-05/0.004214, allocations: 53.56 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.004238, allocations: 51.41 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.803e-05/0.004286, allocations: 106.8 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.004296, allocations: 29.7 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.004325, allocations: 99.95 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.004337, allocations: 3.953 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.004361, allocations: 21.7 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/0.004427, allocations: 318.8 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-06/0.004435, allocations: 0 / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.004444, allocations: 7.984 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.004468, allocations: 12.86 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.00447, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.105e-05/0.004511, allocations: 45.62 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.00452, allocations: 4 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.004527, allocations: 7.922 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.004537, allocations: 4 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.594e-05/0.004573, allocations: 8 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.004575, allocations: 0 / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.004591, allocations: 0 / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.004596, allocations: 7.984 kB / 0.6414 GB, free: 10.37 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 5.207e-05/0.004648, allocations: 109.8 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.004661, allocations: 4 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.00473, allocations: 53.23 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.004731, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.004732, allocations: 4 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004734, allocations: 0 / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.914e-05/0.004813, allocations: 73.89 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.004814, allocations: 256 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.004839, allocations: 11.98 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.004841, allocations: 4 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-06/0.004845, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.004845, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.004847, allocations: 3.938 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.005036, allocations: 135.5 kB / 0.6417 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.005041, allocations: 7.984 kB / 0.6418 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.00505, allocations: 4.422 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.005079, allocations: 0 / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.005113, allocations: 15.92 kB / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.005115, allocations: 0 / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.067e-06/0.005124, allocations: 8.859 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005124, allocations: 3.938 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001384/0.005263, allocations: 15.94 kB / 0.6418 GB, free: 9.867 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.0001116/0.005374, allocations: 100.4 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.325e-05/0.005428, allocations: 24.83 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.00543, allocations: 0 / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.00545, allocations: 20.78 kB / 0.6419 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.005556, allocations: 8 kB / 0.6419 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.005748, allocations: 120.5 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.005777, allocations: 59.34 kB / 0.6421 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.667e-05/0.005793, allocations: 0 / 0.6421 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.005833, allocations: 63.38 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of SimCode: time 3.71e-07/0.005833, allocations: 0 / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of Templates: time 0.002322/0.008156, allocations: 1.039 MB / 0.6432 GB, free: 8.383 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3767508110031486]