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.001191/0.001191, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001354/0.001354, allocations: 173 kB / 24.06 MB, free: 448 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.036/1.036, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.8667/0.8667, allocations: 154.9 MB / 415.9 MB, free: 280 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.694e-06/1.694e-06, allocations: 0 / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.008e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002801/0.002821, allocations: 1.592 MB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0005681/0.003389, allocations: 184.9 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.003453, allocations: 0 / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.438e-05/0.003497, allocations: 7.922 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.003568, allocations: 3.938 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.004049, allocations: 57.47 kB / 0.5237 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.004154, allocations: 39.84 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.004265, allocations: 11.98 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.004316, allocations: 15.98 kB / 0.5238 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.004363, allocations: 16.73 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.004385, allocations: 7.984 kB / 0.5238 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.004533, allocations: 49.34 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.004551, allocations: 7.938 kB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.004575, allocations: 11.98 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.004756, allocations: 67.73 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.00476, allocations: 5.328 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.32e-07/0.00476, allocations: 0 / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.004766, allocations: 0 / 0.5239 GB, free: 15.5 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.0004766/0.005242, allocations: 377.7 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.00529, allocations: 12.03 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.005326, allocations: 4.938 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.005432, allocations: 119.3 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.005456, allocations: 4.375 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.005466, allocations: 384 / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.005604, allocations: 62.94 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.005614, allocations: 192 / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.005624, allocations: 4.375 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.005631, allocations: 384 / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.005667, allocations: 20.34 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.00601, allocations: 252.9 kB / 0.5247 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.006173, allocations: 48.08 kB / 0.5248 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.006193, allocations: 11.62 kB / 0.5248 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.006311, allocations: 21.59 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.006333, allocations: 33.39 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.006334, allocations: 0 / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001579/0.006492, allocations: 53.58 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.006523, allocations: 56.34 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.006601, allocations: 161.9 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.006612, allocations: 27.11 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.006669, allocations: 134.9 kB / 0.5253 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.006687, allocations: 3.953 kB / 0.5253 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.006721, allocations: 27.34 kB / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.006854, allocations: 497.2 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.006869, allocations: 4 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.006882, allocations: 4 kB / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.006917, allocations: 20.64 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006918, allocations: 256 / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.203e-05/0.00698, allocations: 50.91 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.006996, allocations: 11.94 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.007002, allocations: 4 kB / 0.5259 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.007011, allocations: 1.281 kB / 0.5259 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.353e-05/0.007054, allocations: 7.938 kB / 0.5259 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.267e-06/0.007057, allocations: 4 kB / 0.5259 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.007078, allocations: 4.672 kB / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.007081, allocations: 0 / 0.5259 GB, free: 13.3 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 7.143e-05/0.007153, allocations: 163.7 kB / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.007168, allocations: 0 / 0.526 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/0.007255, allocations: 57.3 kB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007257, allocations: 0 / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.007259, allocations: 3.938 kB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.007262, allocations: 0 / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.007368, allocations: 105.2 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007369, allocations: 2.781 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.007395, allocations: 4 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.007397, allocations: 4 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.007401, allocations: 0 / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.007403, allocations: 3.938 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.007405, allocations: 3.938 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.007513, allocations: 195.9 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.00752, allocations: 5.312 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.00753, allocations: 0 / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.231e-05/0.007562, allocations: 4 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.007604, allocations: 11.92 kB / 0.5264 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.007606, allocations: 0.5 kB / 0.5264 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.007645, allocations: 124.2 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.007645, allocations: 0 / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000175/0.00782, allocations: 27.92 kB / 0.5266 GB, free: 12.54 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.0001321/0.007952, allocations: 112.4 kB / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.906e-05/0.008031, allocations: 24.12 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008032, allocations: 0 / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.008056, allocations: 17.67 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.008223, allocations: 12.12 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.008465, allocations: 134.1 kB / 0.5268 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.008499, allocations: 57.8 kB / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.00852, allocations: 8 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.008568, allocations: 74.19 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.008569, allocations: 0 / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.002646/0.01121, allocations: 1.121 MB / 0.5281 GB, free: 10.98 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.8084366912953556]