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.000932/0.000932, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001126/0.001126, allocations: 165 kB / 23.01 MB, free: 1.555 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7987/0.7987, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.693e-06/1.693e-06, allocations: 0 / 0.5203 GB, free: 1.094 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.83e-05, allocations: 2.312 kB / 0.5203 GB, free: 1.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002196/0.002225, allocations: 1.592 MB / 0.5219 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004001/0.002625, allocations: 181.5 kB / 0.5221 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.002663, allocations: 0 / 0.5221 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.002695, allocations: 0 / 0.5221 GB, free: 15.33 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.002742, allocations: 10 kB / 0.5221 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.003136, allocations: 53.2 kB / 0.5221 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.003225, allocations: 41.03 kB / 0.5222 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.003319, allocations: 15.94 kB / 0.5222 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.003359, allocations: 19.98 kB / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.003399, allocations: 15.97 kB / 0.5222 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.003415, allocations: 4.719 kB / 0.5222 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.00353, allocations: 52.5 kB / 0.5223 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.003544, allocations: 7.984 kB / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.003565, allocations: 9.281 kB / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.003721, allocations: 75.7 kB / 0.5223 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003723, allocations: 0 / 0.5223 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.003724, allocations: 0 / 0.5223 GB, free: 15.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003728, allocations: 0.9062 kB / 0.5223 GB, free: 15.04 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.0003773/0.004106, allocations: 376.5 kB / 0.5227 GB, free: 14.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.004144, allocations: 12.56 kB / 0.5227 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.004188, allocations: 8.406 kB / 0.5227 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.179e-05/0.00427, allocations: 108.6 kB / 0.5228 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.004292, allocations: 4.375 kB / 0.5228 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.004306, allocations: 4.375 kB / 0.5228 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.00445, allocations: 70.88 kB / 0.5229 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.00446, allocations: 4.125 kB / 0.5229 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.00447, allocations: 384 / 0.5229 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.004479, allocations: 384 / 0.5229 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.00452, allocations: 19.91 kB / 0.5229 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.004847, allocations: 272.4 kB / 0.5232 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.005029, allocations: 51.55 kB / 0.5232 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.005054, allocations: 12.28 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.005192, allocations: 16.92 kB / 0.5233 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.005214, allocations: 37.33 kB / 0.5233 GB, free: 13.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.005216, allocations: 1.531 kB / 0.5233 GB, free: 13.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001624/0.005378, allocations: 61.8 kB / 0.5234 GB, free: 13.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.005405, allocations: 55.34 kB / 0.5234 GB, free: 13.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.005475, allocations: 162.8 kB / 0.5236 GB, free: 13.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005486, allocations: 25.7 kB / 0.5236 GB, free: 13.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.005533, allocations: 134.9 kB / 0.5237 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.00555, allocations: 12.42 kB / 0.5237 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.005579, allocations: 21.34 kB / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.005685, allocations: 0.4884 MB / 0.5242 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.005704, allocations: 4 kB / 0.5242 GB, free: 12.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.005717, allocations: 0 / 0.5242 GB, free: 12.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.005754, allocations: 23.67 kB / 0.5243 GB, free: 12.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005756, allocations: 0.5625 kB / 0.5243 GB, free: 12.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.351e-05/0.00583, allocations: 59.31 kB / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.005843, allocations: 7.984 kB / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005848, allocations: 0 / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.005864, allocations: 0 / 0.5243 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.005915, allocations: 8 kB / 0.5243 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.00592, allocations: 2.75 kB / 0.5243 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.00594, allocations: 3.984 kB / 0.5243 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005946, allocations: 4 kB / 0.5243 GB, free: 12.8 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.412e-05/0.00601, allocations: 156.5 kB / 0.5245 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.006027, allocations: 7.938 kB / 0.5245 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.006137, allocations: 57.36 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006139, allocations: 1.875 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006142, allocations: 0 / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006145, allocations: 0 / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.85e-05/0.006244, allocations: 124.6 kB / 0.5247 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.006245, allocations: 0 / 0.5247 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.006279, allocations: 4.938 kB / 0.5247 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.006281, allocations: 0 / 0.5247 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.00629, allocations: 8.656 kB / 0.5247 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.006291, allocations: 256 / 0.5247 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006293, allocations: 4.641 kB / 0.5247 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.006396, allocations: 195.9 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.006402, allocations: 7.094 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.006414, allocations: 3.938 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.006447, allocations: 0 / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.00649, allocations: 11.98 kB / 0.5249 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006493, allocations: 0 / 0.5249 GB, free: 12.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.006528, allocations: 127.2 kB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006528, allocations: 0 / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.006699, allocations: 27.88 kB / 0.525 GB, free: 12.01 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.0001491/0.006848, allocations: 112.9 kB / 0.5252 GB, free: 11.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.122e-05/0.006939, allocations: 27.91 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.00694, allocations: 0 / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.006968, allocations: 19.77 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.007148, allocations: 4 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.007411, allocations: 132 kB / 0.5253 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.091e-05/0.007442, allocations: 51.36 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.707e-05/0.007459, allocations: 7.938 kB / 0.5254 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.007489, allocations: 23.45 kB / 0.5254 GB, free: 11.58 MB / 458.7 MB Notification: Performance of SimCode: time 8.11e-07/0.00749, allocations: 0 / 0.5254 GB, free: 11.58 MB / 458.7 MB Notification: Performance of Templates: time 0.002766/0.01026, allocations: 0.9957 MB / 0.5264 GB, free: 10.63 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.949371483642608]