Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.0008997/0.0008997, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002243, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009333/0.0009333, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002199, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.027/1.027, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09331/1.12, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8126/0.8126, allocations: 154.6 MB / 398.5 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.295/1.108, allocations: 49.03 MB / 447.6 MB, free: 6.691 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/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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.011e-05, allocations: 4.422 kB / 448.9 MB, free: 5.383 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003643/0.003663, allocations: 1.647 MB / 450.5 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004126/0.004076, allocations: 184.1 kB / 450.7 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.004113, allocations: 0 / 450.7 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.004144, allocations: 9.25 kB / 450.7 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.004179, allocations: 3.062 kB / 450.7 MB, free: 3.578 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.00447, allocations: 48.36 kB / 450.8 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.004588, allocations: 33.67 kB / 450.8 MB, free: 3.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.00468, allocations: 8.656 kB / 450.8 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.004748, allocations: 29.94 kB / 450.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.004795, allocations: 22.47 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.004811, allocations: 4.547 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.004959, allocations: 51.94 kB / 450.9 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.004973, allocations: 9.906 kB / 450.9 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.004993, allocations: 10.36 kB / 450.9 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.005128, allocations: 55.11 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.609e-05/0.005144, allocations: 4.547 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.005146, allocations: 1.906 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.005163, allocations: 0 / 451 MB, free: 3.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003862/0.005549, allocations: 256.3 kB / 451.3 MB, free: 3.047 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.005578, allocations: 12.03 kB / 451.3 MB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.005604, allocations: 4.938 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.113e-05/0.005686, allocations: 114.7 kB / 451.4 MB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.005706, allocations: 8.312 kB / 451.4 MB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-06/0.005714, allocations: 6.25 kB / 451.4 MB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.005831, allocations: 60.67 kB / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.005839, allocations: 192 / 451.5 MB, free: 2.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.005846, allocations: 8.375 kB / 451.5 MB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005852, allocations: 1.141 kB / 451.5 MB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.005878, allocations: 12.81 kB / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.00611, allocations: 172.1 kB / 451.7 MB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.006246, allocations: 31.84 kB / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.00626, allocations: 8.859 kB / 451.7 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.006386, allocations: 24.78 kB / 451.7 MB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.006406, allocations: 30.56 kB / 451.7 MB, free: 2.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.006408, allocations: 1.547 kB / 451.7 MB, free: 2.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001394/0.006547, allocations: 55.34 kB / 451.8 MB, free: 2.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.006579, allocations: 51.41 kB / 451.9 MB, free: 2.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.006646, allocations: 107 kB / 452 MB, free: 2.262 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.006661, allocations: 30.33 kB / 452 MB, free: 2.227 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.006703, allocations: 88.78 kB / 452.1 MB, free: 2.137 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.006721, allocations: 9 kB / 452.1 MB, free: 2.129 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.006755, allocations: 14.27 kB / 452.1 MB, free: 2.109 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.006848, allocations: 314.8 kB / 452.4 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.006876, allocations: 4.969 kB / 452.4 MB, free: 1.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.591e-05/0.006892, allocations: 8.062 kB / 452.4 MB, free: 1.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.006939, allocations: 15.28 kB / 452.4 MB, free: 1.766 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006941, allocations: 5.094 kB / 452.4 MB, free: 1.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.298e-05/0.007024, allocations: 46.22 kB / 452.5 MB, free: 1.711 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.007042, allocations: 5.438 kB / 452.5 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.007052, allocations: 7.922 kB / 452.5 MB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.007062, allocations: 4 kB / 452.5 MB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.007154, allocations: 7.984 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007158, allocations: 0.7812 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.007192, allocations: 7.953 kB / 452.5 MB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007197, allocations: 1.438 kB / 452.5 MB, free: 1.68 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: 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 8.335e-05/0.00728, allocations: 113.8 kB / 452.6 MB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.007307, allocations: 1.312 kB / 452.6 MB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.007442, allocations: 58.08 kB / 452.7 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.007447, allocations: 4.562 kB / 452.7 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.007449, allocations: 0.875 kB / 452.7 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007452, allocations: 0 / 452.7 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.007576, allocations: 70.52 kB / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.007579, allocations: 0 / 452.8 MB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.007648, allocations: 8.609 kB / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.007659, allocations: 7.219 kB / 452.8 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.007664, allocations: 1.125 kB / 452.8 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.007669, allocations: 0 / 452.8 MB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.007672, allocations: 3.938 kB / 452.8 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007674, allocations: 0.875 kB / 452.8 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.007789, allocations: 139.5 kB / 452.9 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.007801, allocations: 0 / 452.9 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.007865, allocations: 7.984 kB / 452.9 MB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.007916, allocations: 15.86 kB / 452.9 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.00792, allocations: 0.6562 kB / 452.9 MB, free: 1.215 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.036e-05/0.00794, allocations: 18.08 kB / 453 MB, free: 1.195 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00794, allocations: 0 / 453 MB, free: 1.195 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000224/0.008164, allocations: 16.59 kB / 453 MB, free: 1.18 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: 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.0001914/0.008356, allocations: 94.02 kB / 453.1 MB, free: 1.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.008449, allocations: 23.02 kB / 453.1 MB, free: 1.055 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.008455, allocations: 0 / 453.1 MB, free: 1.055 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/0.008482, allocations: 17.47 kB / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.008673, allocations: 8.562 kB / 453.1 MB, free: 1.027 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.009156, allocations: 129.9 kB / 453.2 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.009204, allocations: 55.97 kB / 453.3 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.618e-05/0.00924, allocations: 5.562 kB / 453.3 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.009299, allocations: 51.38 kB / 453.3 MB, free: 0.75 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.0093, allocations: 1.562 kB / 453.4 MB, free: 0.75 MB / 426.7 MB Notification: Performance of Templates: time 0.003376/0.01268, allocations: 1.045 MB / 454.4 MB, free: 15.77 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.671639093197882]