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.001021/0.001021, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001083/0.001083, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.091/1.091, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.795/0.795, allocations: 154.6 MB / 415.6 MB, free: 0.5312 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. " [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.663e-06/1.663e-06, allocations: 0.9844 kB / 0.5215 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.852e-05, allocations: 4.422 kB / 0.5215 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001932/0.00195, allocations: 1.587 MB / 0.5231 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003728/0.002323, allocations: 185.2 kB / 0.5233 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.002373, allocations: 0.5625 kB / 0.5233 GB, free: 15.03 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.002399, allocations: 7.938 kB / 0.5233 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.002447, allocations: 1.875 kB / 0.5233 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.002765, allocations: 53.52 kB / 0.5233 GB, free: 14.97 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.002828, allocations: 35.64 kB / 0.5234 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.00291, allocations: 25.41 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.002943, allocations: 15.98 kB / 0.5234 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.002978, allocations: 15.92 kB / 0.5234 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.002991, allocations: 4 kB / 0.5234 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.003092, allocations: 48.72 kB / 0.5235 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.003106, allocations: 15.97 kB / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.003122, allocations: 8.562 kB / 0.5235 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.003249, allocations: 67.78 kB / 0.5236 GB, free: 14.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.00325, allocations: 1.969 kB / 0.5236 GB, free: 14.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.003252, allocations: 4 kB / 0.5236 GB, free: 14.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.003256, allocations: 0 / 0.5236 GB, free: 14.74 MB / 458.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.0003215/0.003578, allocations: 376.5 kB / 0.5239 GB, free: 14.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.003608, allocations: 8.031 kB / 0.5239 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.003636, allocations: 9.406 kB / 0.5239 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.835e-05/0.003715, allocations: 117 kB / 0.524 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.003732, allocations: 1.094 kB / 0.524 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.00374, allocations: 4.375 kB / 0.524 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.003851, allocations: 67.48 kB / 0.5241 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003858, allocations: 1.625 kB / 0.5241 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.003865, allocations: 384 / 0.5241 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.003869, allocations: 384 / 0.5241 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.003897, allocations: 15.92 kB / 0.5241 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.004136, allocations: 253.1 kB / 0.5244 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.00428, allocations: 43.91 kB / 0.5244 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.004298, allocations: 15.81 kB / 0.5244 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/0.004393, allocations: 19.02 kB / 0.5244 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004414, allocations: 41.38 kB / 0.5245 GB, free: 13.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004415, allocations: 0 / 0.5245 GB, free: 13.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001236/0.004538, allocations: 53.52 kB / 0.5245 GB, free: 13.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.004564, allocations: 51.41 kB / 0.5246 GB, free: 13.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.004631, allocations: 165.9 kB / 0.5247 GB, free: 13.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.00464, allocations: 25.7 kB / 0.5248 GB, free: 13.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.004681, allocations: 131.5 kB / 0.5249 GB, free: 13.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.004696, allocations: 7.891 kB / 0.5249 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.004724, allocations: 32.58 kB / 0.5249 GB, free: 13.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.004837, allocations: 496.1 kB / 0.5254 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.004848, allocations: 4 kB / 0.5254 GB, free: 12.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.004859, allocations: 4.922 kB / 0.5254 GB, free: 12.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.004888, allocations: 19.62 kB / 0.5254 GB, free: 12.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00489, allocations: 0.7188 kB / 0.5254 GB, free: 12.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.93e-05/0.004949, allocations: 49.64 kB / 0.5255 GB, free: 12.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.004961, allocations: 8.875 kB / 0.5255 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004965, allocations: 3.938 kB / 0.5255 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.004974, allocations: 1.219 kB / 0.5255 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.438e-05/0.005019, allocations: 11.98 kB / 0.5255 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005021, allocations: 256 / 0.5255 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.005041, allocations: 4.625 kB / 0.5255 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005046, allocations: 4 kB / 0.5255 GB, free: 12.54 MB / 458.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 6.156e-05/0.005108, allocations: 153.2 kB / 0.5257 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.005123, allocations: 4.5 kB / 0.5257 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.183e-05/0.005205, allocations: 64.3 kB / 0.5257 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.005207, allocations: 0 / 0.5257 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005208, allocations: 0 / 0.5257 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005211, allocations: 0 / 0.5257 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.788e-05/0.005298, allocations: 105.2 kB / 0.5258 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005299, allocations: 0 / 0.5258 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.005325, allocations: 8 kB / 0.5258 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005327, allocations: 0 / 0.5258 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.005333, allocations: 7.109 kB / 0.5258 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005334, allocations: 0 / 0.5258 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.005336, allocations: 7.938 kB / 0.5258 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.061e-05/0.005426, allocations: 196.2 kB / 0.526 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.005431, allocations: 48 / 0.526 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.00544, allocations: 7.984 kB / 0.526 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.102e-05/0.005471, allocations: 0 / 0.526 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.005506, allocations: 15.92 kB / 0.5261 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.005508, allocations: 1.812 kB / 0.5261 GB, free: 11.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.005539, allocations: 127.2 kB / 0.5262 GB, free: 11.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005539, allocations: 0 / 0.5262 GB, free: 11.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.005702, allocations: 15.94 kB / 0.5262 GB, free: 11.79 MB / 458.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.0001126/0.005815, allocations: 113 kB / 0.5263 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.466e-05/0.005879, allocations: 31.61 kB / 0.5263 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.00588, allocations: 0 / 0.5263 GB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-05/0.005904, allocations: 23.61 kB / 0.5264 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.006059, allocations: 6.75 kB / 0.5264 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.006265, allocations: 130.2 kB / 0.5265 GB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.82e-05/0.006293, allocations: 55.36 kB / 0.5265 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.006312, allocations: 1.844 kB / 0.5265 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.006356, allocations: 78.19 kB / 0.5266 GB, free: 11.29 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006356, allocations: 0 / 0.5266 GB, free: 11.29 MB / 458.7 MB Notification: Performance of Templates: time 0.002456/0.008812, allocations: 1.116 MB / 0.5277 GB, free: 10.23 MB / 458.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.763072168920189]