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.03924/0.03924, 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.0008631/0.0008631, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.0009594/0.0009594, allocations: 172.1 kB / 38.73 MB, free: 2.504 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.9222/0.9222, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.004074/0.004074, allocations: 0.8225 MB / 276.5 MB, free: 0.7148 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.565/1.565, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.122e-06/1.122e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.448e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Binomial): time 0.000948/0.0009625, allocations: 0.6112 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002529/0.001215, allocations: 103.5 kB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.001231, allocations: 4 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.001261, allocations: 0 / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.618e-06/0.001266, allocations: 0 / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.001546, allocations: 47.81 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.001637, allocations: 63.92 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 2.727e-05/0.001664, allocations: 0 / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.001705, allocations: 31.95 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.96e-05/0.001734, allocations: 27.95 kB / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.001746, allocations: 0 / 0.6388 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.001852, allocations: 47.94 kB / 0.6388 GB, free: 13.13 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.001879, allocations: 23.92 kB / 0.6389 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.001897, allocations: 19.97 kB / 0.6389 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.002008, allocations: 99.66 kB / 0.639 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.002009, allocations: 0 / 0.639 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00201, allocations: 0 / 0.639 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.505e-06/0.002012, allocations: 0 / 0.639 GB, free: 12.99 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.0004099/0.002422, allocations: 268.5 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.002451, allocations: 11.98 kB / 0.6392 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.002484, allocations: 24.92 kB / 0.6393 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.556e-05/0.002529, allocations: 101.8 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.002739, allocations: 0.526 MB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.002755, allocations: 12.36 kB / 0.6399 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.002883, allocations: 82.84 kB / 0.64 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.002892, allocations: 4.125 kB / 0.64 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.0029, allocations: 4.375 kB / 0.64 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.002906, allocations: 8.125 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.00299, allocations: 87.75 kB / 0.6401 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.358e-05/0.003073, allocations: 76.17 kB / 0.6401 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.269e-05/0.003136, allocations: 54.41 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.00316, allocations: 20.86 kB / 0.6402 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.003173, allocations: 4 kB / 0.6402 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.003191, allocations: 38.5 kB / 0.6402 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 7.61e-07/0.003192, allocations: 0 / 0.6402 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.0001188/0.003311, allocations: 77.98 kB / 0.6403 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.003335, allocations: 55.41 kB / 0.6404 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.448e-05/0.003359, allocations: 93.8 kB / 0.6405 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.003368, allocations: 25.7 kB / 0.6405 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.642e-05/0.003384, allocations: 84.12 kB / 0.6406 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.003419, allocations: 39.62 kB / 0.6406 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.003449, allocations: 33.69 kB / 0.6406 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.00351, allocations: 318.8 kB / 0.6409 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.003527, allocations: 15.98 kB / 0.641 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.003543, allocations: 11.98 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.003594, allocations: 43.58 kB / 0.641 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.003595, allocations: 0 / 0.641 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.439e-05/0.00366, allocations: 66.27 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.00367, allocations: 11.91 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.003673, allocations: 0 / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.003685, allocations: 0 / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.003766, allocations: 23.97 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.003769, allocations: 4 kB / 0.6411 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.003793, allocations: 7.938 kB / 0.6411 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.003803, allocations: 7.922 kB / 0.6411 GB, free: 10.5 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 4.759e-05/0.00385, allocations: 116.7 kB / 0.6412 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.003859, allocations: 4 kB / 0.6412 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.003876, allocations: 11.97 kB / 0.6412 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.003878, allocations: 4 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.003879, allocations: 0 / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.003883, allocations: 3.984 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.759e-05/0.00394, allocations: 81.78 kB / 0.6413 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003941, allocations: 4 kB / 0.6413 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.003991, allocations: 31.97 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.003992, allocations: 0 / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.003997, allocations: 0 / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.003998, allocations: 4 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.003999, allocations: 0 / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.684e-05/0.004076, allocations: 105 kB / 0.6415 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.004082, allocations: 7.938 kB / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.00409, allocations: 0 / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.004114, allocations: 7.984 kB / 0.6415 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.004144, allocations: 15.98 kB / 0.6415 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.004149, allocations: 3.984 kB / 0.6415 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.14e-06/0.004154, allocations: 4.859 kB / 0.6415 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7.1e-08/0.004154, allocations: 4 kB / 0.6415 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001119/0.004266, allocations: 20 kB / 0.6415 GB, free: 10.02 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.0001055/0.004372, allocations: 104.3 kB / 0.6416 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.004447, allocations: 52.77 kB / 0.6417 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004448, allocations: 0 / 0.6417 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.004478, allocations: 36.78 kB / 0.6417 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.752e-05/0.004525, allocations: 15.92 kB / 0.6417 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.00471, allocations: 131.6 kB / 0.6419 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.722e-05/0.004737, allocations: 67.2 kB / 0.6419 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.004775, allocations: 16 kB / 0.6419 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.004818, allocations: 59.36 kB / 0.642 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of SimCode: time 3.4e-07/0.004819, allocations: 0 / 0.642 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of Templates: time 0.002586/0.007405, allocations: 1.215 MB / 0.6432 GB, free: 8.27 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.280794502235949]