Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001029/0.001029, 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.001004/0.001004, 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 1.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.8289/0.8289, allocations: 154.6 MB / 414.8 MB, free: 488 kB / 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. " [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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 480.1 MB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.511e-05, allocations: 4.938 kB / 480.1 MB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001733/0.001758, allocations: 0.6602 MB / 480.8 MB, free: 6.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003618/0.00212, allocations: 99.61 kB / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.002141, allocations: 0 / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.002175, allocations: 0 / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.654e-06/0.002183, allocations: 0.6562 kB / 480.9 MB, free: 6.062 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.002521, allocations: 37.97 kB / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.002657, allocations: 63.92 kB / 481 MB, free: 5.965 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.002709, allocations: 7.938 kB / 481 MB, free: 5.961 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.002775, allocations: 32.5 kB / 481 MB, free: 5.93 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.002828, allocations: 24.92 kB / 481 MB, free: 5.906 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.002847, allocations: 5.094 kB / 481 MB, free: 5.902 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.003013, allocations: 61.03 kB / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.003053, allocations: 24.5 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.003076, allocations: 9.297 kB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.003233, allocations: 86.8 kB / 481.2 MB, free: 5.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003235, allocations: 0 / 481.2 MB, free: 5.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.003236, allocations: 1.688 kB / 481.2 MB, free: 5.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.003239, allocations: 0 / 481.2 MB, free: 5.73 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.0003804/0.00362, allocations: 280.5 kB / 481.5 MB, free: 5.434 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.003662, allocations: 8.031 kB / 481.5 MB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.003708, allocations: 22.39 kB / 481.5 MB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.202e-05/0.00378, allocations: 110.5 kB / 481.6 MB, free: 5.273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.004086, allocations: 0.526 MB / 482.1 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.004099, allocations: 4.375 kB / 482.1 MB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.004289, allocations: 80.11 kB / 482.2 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004297, allocations: 6.203 kB / 482.2 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.004308, allocations: 4.375 kB / 482.2 MB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.004316, allocations: 4.125 kB / 482.2 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.004455, allocations: 76.47 kB / 482.3 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.004599, allocations: 81.42 kB / 482.4 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.004704, allocations: 65.53 kB / 482.5 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.004749, allocations: 21.84 kB / 482.5 MB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.004767, allocations: 4 kB / 482.5 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.00479, allocations: 30.56 kB / 482.5 MB, free: 4.219 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.004792, allocations: 0 / 482.5 MB, free: 4.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001944/0.004986, allocations: 87.02 kB / 482.6 MB, free: 4.133 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.005019, allocations: 56.11 kB / 482.6 MB, free: 4.066 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.794e-05/0.005056, allocations: 90.61 kB / 482.7 MB, free: 3.969 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.005072, allocations: 25.7 kB / 482.8 MB, free: 3.938 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.005096, allocations: 85.36 kB / 482.8 MB, free: 3.852 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.005153, allocations: 39.67 kB / 482.9 MB, free: 3.812 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.0052, allocations: 21.7 kB / 482.9 MB, free: 3.785 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.005302, allocations: 327.9 kB / 483.2 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.005333, allocations: 8 kB / 483.2 MB, free: 3.449 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.005362, allocations: 13.16 kB / 483.2 MB, free: 3.438 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/0.005443, allocations: 37.92 kB / 483.3 MB, free: 3.398 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005446, allocations: 0 / 483.3 MB, free: 3.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000118/0.005564, allocations: 68.05 kB / 483.3 MB, free: 3.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.005578, allocations: 4.625 kB / 483.4 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005582, allocations: 3.938 kB / 483.4 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.005598, allocations: 4.516 kB / 483.4 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.005726, allocations: 28.64 kB / 483.4 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.00573, allocations: 0 / 483.4 MB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.005775, allocations: 8.828 kB / 483.4 MB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.005788, allocations: 3.938 kB / 483.4 MB, free: 3.277 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 7.38e-05/0.005862, allocations: 118.3 kB / 483.5 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.00588, allocations: 8.75 kB / 483.5 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.005908, allocations: 11.97 kB / 483.5 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.00591, allocations: 0.9062 kB / 483.5 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.005912, allocations: 0 / 483.5 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005916, allocations: 0 / 483.5 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.006016, allocations: 103.3 kB / 483.6 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006017, allocations: 1.422 kB / 483.6 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.006121, allocations: 28.97 kB / 483.7 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006123, allocations: 0 / 483.7 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.006131, allocations: 0 / 483.7 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.006134, allocations: 5.438 kB / 483.7 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006135, allocations: 0 / 483.7 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.006273, allocations: 101.8 kB / 483.8 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.00628, allocations: 4.656 kB / 483.8 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.006293, allocations: 0.625 kB / 483.8 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-05/0.006337, allocations: 4 kB / 483.8 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.006391, allocations: 17.16 kB / 483.8 MB, free: 2.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.006401, allocations: 7.922 kB / 483.8 MB, free: 2.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.003e-06/0.006408, allocations: 5.625 kB / 483.8 MB, free: 2.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006408, allocations: 5.906 kB / 483.8 MB, free: 2.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.006617, allocations: 23.94 kB / 483.8 MB, free: 2.805 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.0001468/0.006763, allocations: 93.17 kB / 483.9 MB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.006887, allocations: 54.72 kB / 484 MB, free: 2.652 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.006889, allocations: 0 / 484 MB, free: 2.652 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.00694, allocations: 36.77 kB / 484 MB, free: 2.613 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.767e-05/0.007018, allocations: 17.02 kB / 484 MB, free: 2.598 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.007265, allocations: 129.4 kB / 484.2 MB, free: 2.445 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.007308, allocations: 64.22 kB / 484.2 MB, free: 2.363 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.463e-05/0.007383, allocations: 16.09 kB / 484.2 MB, free: 2.352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.007457, allocations: 59.36 kB / 484.3 MB, free: 2.293 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007458, allocations: 0 / 484.3 MB, free: 2.293 MB / 442.7 MB Notification: Performance of Templates: time 0.004059/0.01152, allocations: 1.218 MB / 485.5 MB, free: 1.172 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6746495249681175]