Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001803/0.001803, allocations: 88.72 kB / 19.44 MB, free: 356 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.002304/0.002304, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 1.22/1.22, allocations: 154.8 MB / 414.3 MB, free: 472 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.5199 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.981e-05/4.235e-05, allocations: 6.25 kB / 0.5199 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.005266/0.005308, allocations: 1.56 MB / 0.5214 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.006129, allocations: 187.1 kB / 0.5216 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.846e-05/0.006207, allocations: 0.5625 kB / 0.5216 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.128e-05/0.006258, allocations: 4.656 kB / 0.5216 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.00635, allocations: 4 kB / 0.5216 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.006886, allocations: 44.88 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.007026, allocations: 44.39 kB / 0.5217 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.007168, allocations: 16.45 kB / 0.5217 GB, free: 496 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.00726, allocations: 19.98 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.688e-05/0.007327, allocations: 12.72 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.007351, allocations: 4 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.007567, allocations: 57.09 kB / 0.5218 GB, free: 404 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.007591, allocations: 11.92 kB / 0.5218 GB, free: 392 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.00763, allocations: 8 kB / 0.5218 GB, free: 384 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.007938, allocations: 80.38 kB / 0.5219 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.007944, allocations: 0 / 0.5219 GB, free: 304 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007945, allocations: 1.812 kB / 0.5219 GB, free: 304 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.007952, allocations: 0 / 0.5219 GB, free: 304 kB / 490.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.0007976/0.00875, allocations: 278.3 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.008811, allocations: 11.97 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.008883, allocations: 6.562 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.009056, allocations: 109.8 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.009087, allocations: 8.312 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.009106, allocations: 4.375 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.009406, allocations: 63.5 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.009416, allocations: 192 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.009431, allocations: 4.312 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.009441, allocations: 5 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.009734, allocations: 48.64 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.01032, allocations: 210 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.0108, allocations: 58.59 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.01094, allocations: 26.08 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.01118, allocations: 15.98 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.01122, allocations: 38.12 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.01122, allocations: 0 / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005897/0.01181, allocations: 97.53 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.01188, allocations: 59.39 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01202, allocations: 97.86 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.01205, allocations: 25.7 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.01213, allocations: 92.12 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.01216, allocations: 8.453 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.01222, allocations: 18.28 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.01245, allocations: 314.8 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.01258, allocations: 20.94 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.01271, allocations: 21.64 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.01298, allocations: 48.89 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.01299, allocations: 0.5625 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003413/0.01333, allocations: 86.27 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.01335, allocations: 8.281 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.01336, allocations: 0 / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.01339, allocations: 3.984 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01351, allocations: 8 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.01352, allocations: 2.125 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.0136, allocations: 12.23 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.01361, allocations: 0 / 0.5236 GB, free: 14.37 MB / 0.4948 GB 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 0.000137/0.01375, allocations: 113.8 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.01381, allocations: 7.938 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.01421, allocations: 92.02 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01422, allocations: 3.984 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.01422, allocations: 0 / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01423, allocations: 4 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.01447, allocations: 109.4 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01447, allocations: 1.531 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.01458, allocations: 11.98 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.01458, allocations: 0 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.0146, allocations: 7.938 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.0146, allocations: 0.9375 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.0146, allocations: 0 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.01503, allocations: 168.4 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.01505, allocations: 16.58 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.01507, allocations: 3.938 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.01518, allocations: 4.812 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.01525, allocations: 3.984 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.01526, allocations: 6.75 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.007e-05/0.01533, allocations: 87.27 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01533, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003869/0.01572, allocations: 15.94 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB 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.0002911/0.01601, allocations: 115.2 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.01633, allocations: 43.08 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.01633, allocations: 0 / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.01648, allocations: 27.92 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.01694, allocations: 11.98 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.01745, allocations: 120.5 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.01755, allocations: 65.48 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.01759, allocations: 7.938 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.01764, allocations: 15.81 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.01764, allocations: 4 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.005412/0.02306, allocations: 1.004 MB / 0.5256 GB, free: 12.25 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.858613139949739]