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.0009252/0.0009252, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004543/0.005468, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009823/0.0009823, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007057/0.00804, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.107/1.107, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09675/1.204, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7478/0.7478, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2873/1.035, allocations: 49.13 MB / 448.6 MB, free: 5.898 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.172e-06/1.172e-06, allocations: 0 / 450 MB, free: 4.527 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.116e-05, allocations: 2.312 kB / 450 MB, free: 4.523 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.00133/0.001351, allocations: 0.6515 MB / 450.7 MB, free: 3.906 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001784/0.00153, allocations: 112.2 kB / 450.8 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.001544, allocations: 0 / 450.8 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.001559, allocations: 0.6875 kB / 450.8 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.262e-06/0.00156, allocations: 4.547 kB / 450.8 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.001748, allocations: 34.62 kB / 450.8 MB, free: 3.762 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.001862, allocations: 63.94 kB / 450.9 MB, free: 3.699 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.0019, allocations: 5.641 kB / 450.9 MB, free: 3.695 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.001957, allocations: 36.72 kB / 450.9 MB, free: 3.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.001992, allocations: 15.97 kB / 450.9 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.002008, allocations: 5.328 kB / 450.9 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.002131, allocations: 60.5 kB / 451 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.002162, allocations: 17.5 kB / 451 MB, free: 3.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.002181, allocations: 15.5 kB / 451 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.002299, allocations: 73.66 kB / 451.1 MB, free: 3.484 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.002308, allocations: 0 / 451.1 MB, free: 3.484 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002309, allocations: 0 / 451.1 MB, free: 3.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.002316, allocations: 0.875 kB / 451.1 MB, free: 3.484 MB / 426.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.0003366/0.002653, allocations: 286.6 kB / 451.4 MB, free: 3.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.002681, allocations: 13.02 kB / 451.4 MB, free: 3.168 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.002717, allocations: 16.94 kB / 451.4 MB, free: 3.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.816e-05/0.002785, allocations: 113.7 kB / 451.5 MB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.003022, allocations: 0.5221 MB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.003036, allocations: 6.5 kB / 452 MB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.003169, allocations: 84.09 kB / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.003176, allocations: 192 / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.003184, allocations: 4.375 kB / 452.1 MB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.003192, allocations: 5.062 kB / 452.1 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.003276, allocations: 84.2 kB / 452.2 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.448e-05/0.003371, allocations: 84 kB / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.207e-05/0.003443, allocations: 59.36 kB / 452.4 MB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.003467, allocations: 20.84 kB / 452.4 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.003486, allocations: 4 kB / 452.4 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.003505, allocations: 31.22 kB / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 8.62e-07/0.003506, allocations: 0.6562 kB / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001341/0.00364, allocations: 84.36 kB / 452.5 MB, free: 1.883 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.003666, allocations: 55.34 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.847e-05/0.003694, allocations: 90.48 kB / 452.6 MB, free: 1.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.003704, allocations: 29.7 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.003727, allocations: 82.52 kB / 452.8 MB, free: 1.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.003767, allocations: 39.67 kB / 452.8 MB, free: 1.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.003797, allocations: 25.7 kB / 452.8 MB, free: 1.531 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.00387, allocations: 318.8 kB / 453.1 MB, free: 1.211 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.003889, allocations: 14.08 kB / 453.1 MB, free: 1.199 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.003906, allocations: 8.766 kB / 453.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.003959, allocations: 42.7 kB / 453.2 MB, free: 1.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.003961, allocations: 0 / 453.2 MB, free: 1.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.16e-05/0.004033, allocations: 68.33 kB / 453.3 MB, free: 1.078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.004044, allocations: 4 kB / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004049, allocations: 5.859 kB / 453.3 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.004063, allocations: 5 kB / 453.3 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.004165, allocations: 23.97 kB / 453.3 MB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.00417, allocations: 8.859 kB / 453.3 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.004196, allocations: 4.828 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.004204, allocations: 7.938 kB / 453.3 MB, free: 1.023 MB / 426.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.322e-05/0.004258, allocations: 113.6 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.004267, allocations: 8.984 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.004291, allocations: 15.97 kB / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.004292, allocations: 0 / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004294, allocations: 0.625 kB / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.004296, allocations: 1.312 kB / 453.5 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.614e-05/0.004363, allocations: 90.41 kB / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004363, allocations: 0 / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.004423, allocations: 31.91 kB / 453.6 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-06/0.004429, allocations: 8.453 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.00443, allocations: 1.375 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.004436, allocations: 5.078 kB / 453.6 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004438, allocations: 4 kB / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004439, allocations: 0 / 453.6 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.022e-05/0.004529, allocations: 99.41 kB / 453.7 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.004539, allocations: 3.984 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.00456, allocations: 4.719 kB / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.004598, allocations: 16.95 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.004603, allocations: 4.844 kB / 453.7 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.306e-06/0.004611, allocations: 8.859 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004611, allocations: 0 / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001226/0.004734, allocations: 24.53 kB / 453.8 MB, free: 0.543 MB / 426.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.0001264/0.00486, allocations: 98.38 kB / 453.8 MB, free: 452 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.004965, allocations: 51.62 kB / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.004968, allocations: 0.7812 kB / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.005012, allocations: 46.5 kB / 453.9 MB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.379e-05/0.005076, allocations: 25.36 kB / 454 MB, free: 332 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.005275, allocations: 133.4 kB / 454.1 MB, free: 176 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.326e-05/0.005309, allocations: 68.05 kB / 454.2 MB, free: 88 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.05e-05/0.005349, allocations: 17.78 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.005398, allocations: 63.36 kB / 454.2 MB, free: 12 kB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005399, allocations: 0.5938 kB / 454.2 MB, free: 12 kB / 426.7 MB Notification: Performance of Templates: time 0.002521/0.00792, allocations: 1.263 MB / 455.5 MB, free: 14.84 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.6590571301057935]