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.0009274/0.0009274, allocations: 92.22 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.0009599/0.0009599, allocations: 169 kB / 23.03 MB, free: 1.547 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 0.9414/0.9414, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7918/0.7918, allocations: 154.9 MB / 414.8 MB, free: 416 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 179] 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 1.914e-06/1.914e-06, allocations: 0 / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.97e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002184/0.002214, allocations: 1.591 MB / 0.5222 GB, free: 256 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003753/0.002589, allocations: 188.9 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.002624, allocations: 0 / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.002655, allocations: 12.89 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.0027, allocations: 0 / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.003039, allocations: 51.81 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.214e-05/0.003122, allocations: 37.41 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.003209, allocations: 19.98 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.003245, allocations: 19.92 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.003283, allocations: 17.06 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.0033, allocations: 4 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.003412, allocations: 51.94 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.003424, allocations: 12.61 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.003444, allocations: 8 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.003583, allocations: 73 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003585, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003586, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00359, allocations: 0 / 0.5227 GB, free: 15.77 MB / 0.4948 GB 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.0003538/0.003944, allocations: 373.5 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.003983, allocations: 16.02 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.004021, allocations: 5.594 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.128e-05/0.004102, allocations: 112.6 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.004122, allocations: 5.156 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.004133, allocations: 4.312 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.004274, allocations: 63.78 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004281, allocations: 2.562 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004291, allocations: 8.375 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.004298, allocations: 384 / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.004335, allocations: 15.92 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.004628, allocations: 263.7 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.004803, allocations: 55.03 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.004826, allocations: 8.562 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.004946, allocations: 17.33 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.004967, allocations: 41.33 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.004968, allocations: 3.938 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001536/0.005122, allocations: 58.36 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.005148, allocations: 51.41 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.005217, allocations: 166.7 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.005227, allocations: 25.7 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.005269, allocations: 132.4 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.005287, allocations: 11.94 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.005313, allocations: 19.38 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.005421, allocations: 0.4884 MB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.005437, allocations: 4.484 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.005451, allocations: 8.891 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.005487, allocations: 19.69 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005488, allocations: 0.6875 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.417e-05/0.005552, allocations: 53.52 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.005566, allocations: 8.531 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.005569, allocations: 0.625 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.00558, allocations: 0 / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.005626, allocations: 8.891 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.005632, allocations: 4 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.005652, allocations: 4.906 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.005656, allocations: 0 / 0.5247 GB, free: 13.54 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 6.372e-05/0.00572, allocations: 158.3 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.005738, allocations: 11.92 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.414e-05/0.005833, allocations: 49.31 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005834, allocations: 0 / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.005839, allocations: 4.969 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005842, allocations: 0 / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.005938, allocations: 124.7 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.005939, allocations: 1.156 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.005968, allocations: 11.98 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.005971, allocations: 6.969 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.005978, allocations: 3.938 kB / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.00598, allocations: 0 / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005981, allocations: 0 / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.525e-05/0.006076, allocations: 195.9 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.006082, allocations: 3.984 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.006095, allocations: 7.938 kB / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.963e-05/0.006124, allocations: 256 / 0.5253 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.006169, allocations: 18.95 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.006173, allocations: 4 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.372e-05/0.006206, allocations: 123.2 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006206, allocations: 0 / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001675/0.006374, allocations: 23.94 kB / 0.5254 GB, free: 12.74 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.0001204/0.006494, allocations: 107.2 kB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.238e-05/0.006577, allocations: 23.91 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006578, allocations: 1.406 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-05/0.006603, allocations: 23.77 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.006771, allocations: 7.719 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.007012, allocations: 135.4 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.007047, allocations: 55.34 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.007067, allocations: 9.266 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.007094, allocations: 17 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.007095, allocations: 3.031 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.002929/0.01002, allocations: 1.083 MB / 0.5268 GB, free: 11.29 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6580275767482817]