Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009847/0.0009847, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001174/0.001174, allocations: 181 kB / 23.36 MB, free: 1.133 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.8963/0.8963, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7695/0.7695, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.457 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.573e-05, allocations: 7.453 kB / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001793/0.001819, allocations: 0.6072 MB / 481 MB, free: 5.883 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003233/0.002142, allocations: 103.6 kB / 481.1 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.002159, allocations: 0 / 481.1 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.002192, allocations: 5.906 kB / 481.1 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.002197, allocations: 0 / 481.1 MB, free: 5.777 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.002463, allocations: 39.88 kB / 481.2 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.808e-05/0.002551, allocations: 65.2 kB / 481.2 MB, free: 5.676 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.002582, allocations: 4.875 kB / 481.2 MB, free: 5.672 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.002623, allocations: 31.95 kB / 481.3 MB, free: 5.641 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.742e-05/0.00265, allocations: 20.66 kB / 481.3 MB, free: 5.621 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.002663, allocations: 4 kB / 481.3 MB, free: 5.617 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.562e-05/0.002758, allocations: 57.47 kB / 481.4 MB, free: 5.562 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.002785, allocations: 21.06 kB / 481.4 MB, free: 5.543 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.002801, allocations: 13.19 kB / 481.4 MB, free: 5.531 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.002905, allocations: 87.06 kB / 481.5 MB, free: 5.449 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002906, allocations: 0 / 481.5 MB, free: 5.449 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.002907, allocations: 1.219 kB / 481.5 MB, free: 5.449 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.374e-06/0.002909, allocations: 0 / 481.5 MB, free: 5.449 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.0002961/0.003206, allocations: 277.3 kB / 481.7 MB, free: 5.156 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.003235, allocations: 9.969 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.003267, allocations: 16.94 kB / 481.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.155e-05/0.003319, allocations: 109.7 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.003556, allocations: 0.531 MB / 482.4 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.003568, allocations: 384 / 482.4 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.003703, allocations: 83.66 kB / 482.5 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.00371, allocations: 1.578 kB / 482.5 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003718, allocations: 5.969 kB / 482.5 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.003724, allocations: 4.125 kB / 482.5 MB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.003811, allocations: 83.78 kB / 482.6 MB, free: 4.168 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.716e-05/0.003898, allocations: 81.34 kB / 482.7 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/0.003962, allocations: 55.8 kB / 482.7 MB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.003991, allocations: 25.83 kB / 482.7 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.004004, allocations: 4 kB / 482.7 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.004023, allocations: 31.22 kB / 482.8 MB, free: 3.941 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.004024, allocations: 0 / 482.8 MB, free: 3.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001239/0.004147, allocations: 85.25 kB / 482.9 MB, free: 3.855 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.00417, allocations: 51.41 kB / 482.9 MB, free: 3.793 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.872e-05/0.004199, allocations: 97.81 kB / 483 MB, free: 3.688 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.00421, allocations: 29.11 kB / 483 MB, free: 3.656 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.004231, allocations: 84.14 kB / 483.1 MB, free: 3.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.004265, allocations: 39.67 kB / 483.2 MB, free: 3.531 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.004294, allocations: 22.47 kB / 483.2 MB, free: 3.504 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.004365, allocations: 322.8 kB / 483.5 MB, free: 3.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.004386, allocations: 11.98 kB / 483.5 MB, free: 3.168 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.004404, allocations: 11.61 kB / 483.5 MB, free: 3.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.352e-05/0.004458, allocations: 40.95 kB / 483.6 MB, free: 3.117 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004459, allocations: 0.9062 kB / 483.6 MB, free: 3.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.825e-05/0.004527, allocations: 67.14 kB / 483.6 MB, free: 3.047 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.004536, allocations: 4.875 kB / 483.6 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.00454, allocations: 4 kB / 483.6 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.00455, allocations: 0.9062 kB / 483.6 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.004635, allocations: 28.52 kB / 483.7 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.004638, allocations: 4 kB / 483.7 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.496e-05/0.004663, allocations: 4.625 kB / 483.7 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.004672, allocations: 4.562 kB / 483.7 MB, free: 3 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.342e-05/0.004725, allocations: 117.2 kB / 483.8 MB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.004735, allocations: 12.28 kB / 483.8 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.004755, allocations: 16.59 kB / 483.8 MB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.004756, allocations: 0.625 kB / 483.8 MB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.004758, allocations: 0 / 483.8 MB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.00476, allocations: 0.625 kB / 483.8 MB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.696e-05/0.004827, allocations: 93.7 kB / 483.9 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004827, allocations: 0.5625 kB / 483.9 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.004885, allocations: 20.73 kB / 483.9 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.004887, allocations: 4 kB / 483.9 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.004895, allocations: 9.766 kB / 483.9 MB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004895, allocations: 0.7656 kB / 483.9 MB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.004896, allocations: 0 / 483.9 MB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.208e-05/0.004978, allocations: 102.9 kB / 484 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.004982, allocations: 0.8438 kB / 484 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.004992, allocations: 8 kB / 484.1 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.005014, allocations: 4 kB / 484.1 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.005046, allocations: 8.844 kB / 484.1 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.005053, allocations: 8 kB / 484.1 MB, free: 2.566 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.999e-06/0.005058, allocations: 5.484 kB / 484.1 MB, free: 2.559 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005058, allocations: 0.7656 kB / 484.1 MB, free: 2.559 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001244/0.005182, allocations: 24.72 kB / 484.1 MB, free: 2.535 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.0001082/0.00529, allocations: 99.08 kB / 484.2 MB, free: 2.434 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.859e-05/0.005369, allocations: 55.98 kB / 484.3 MB, free: 2.379 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.005371, allocations: 0 / 484.3 MB, free: 2.379 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.005401, allocations: 40.77 kB / 484.3 MB, free: 2.336 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.485e-05/0.005446, allocations: 13.84 kB / 484.3 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001686/0.005615, allocations: 137.7 kB / 484.4 MB, free: 2.164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.475e-05/0.00564, allocations: 55.36 kB / 484.5 MB, free: 2.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.932e-05/0.005679, allocations: 19.83 kB / 484.5 MB, free: 2.074 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.005721, allocations: 59.36 kB / 484.6 MB, free: 2.016 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.005721, allocations: 0.875 kB / 484.6 MB, free: 2.016 MB / 442.7 MB Notification: Performance of Templates: time 0.002313/0.008035, allocations: 1.215 MB / 485.8 MB, free: 0.8906 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5607645409181714]