Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001691/0.001691, allocations: 92.7 kB / 19.44 MB, free: 324 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.002078/0.002078, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.251/1.251, allocations: 154.8 MB / 414.3 MB, free: 460 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.988e-05, allocations: 5.375 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001632/0.001662, allocations: 0.5851 MB / 0.5205 GB, free: 1.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000388/0.00205, allocations: 101 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.002072, allocations: 0 / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.002115, allocations: 0.6562 kB / 0.5206 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.327e-06/0.002124, allocations: 3.938 kB / 0.5206 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.002509, allocations: 45.61 kB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.002649, allocations: 71.84 kB / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.002681, allocations: 0 / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.002742, allocations: 30.25 kB / 0.5207 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.002792, allocations: 19.97 kB / 0.5207 GB, free: 1.406 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.002814, allocations: 5 kB / 0.5207 GB, free: 1.402 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.002975, allocations: 55.92 kB / 0.5208 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.003024, allocations: 24.12 kB / 0.5208 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.003064, allocations: 16.94 kB / 0.5208 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.003253, allocations: 79.81 kB / 0.5209 GB, free: 1.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003256, allocations: 0 / 0.5209 GB, free: 1.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003256, allocations: 1.531 kB / 0.5209 GB, free: 1.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.003262, allocations: 7.938 kB / 0.5209 GB, free: 1.223 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006166/0.003878, allocations: 294.3 kB / 0.5212 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.003918, allocations: 8.625 kB / 0.5212 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.003995, allocations: 20.94 kB / 0.5212 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.004413, allocations: 110.4 kB / 0.5213 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005289/0.004941, allocations: 0.5299 MB / 0.5219 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.004962, allocations: 5.594 kB / 0.5219 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.005233, allocations: 82.19 kB / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005244, allocations: 192 / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.005266, allocations: 1 kB / 0.5219 GB, free: 0 / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.005292, allocations: 400 / 0.5219 GB, free: 16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.005676, allocations: 137.5 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.005871, allocations: 125.2 kB / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.006196, allocations: 94.5 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.006367, allocations: 40.83 kB / 0.5223 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.006398, allocations: 5.625 kB / 0.5223 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.006436, allocations: 34.56 kB / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.006437, allocations: 0 / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0005922/0.007029, allocations: 145.5 kB / 0.5225 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.007079, allocations: 56.91 kB / 0.5226 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.007145, allocations: 89.86 kB / 0.5226 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.007171, allocations: 33.64 kB / 0.5227 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.007225, allocations: 84.7 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.007283, allocations: 39.64 kB / 0.5228 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.007344, allocations: 30.45 kB / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.007514, allocations: 314.8 kB / 0.5231 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.007657, allocations: 33.44 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.007787, allocations: 34.16 kB / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.008071, allocations: 76.81 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008073, allocations: 1.281 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003673/0.00844, allocations: 117.5 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.008456, allocations: 5.562 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.008461, allocations: 3.594 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.008479, allocations: 0 / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.008635, allocations: 27.97 kB / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.008641, allocations: 0 / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.204e-05/0.008703, allocations: 11.88 kB / 0.5234 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.008719, allocations: 8 kB / 0.5234 GB, free: 14.38 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001059/0.008825, allocations: 113.8 kB / 0.5235 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.008853, allocations: 15.89 kB / 0.5235 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.008892, allocations: 8.531 kB / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.008896, allocations: 4 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.0089, allocations: 0.5312 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.008906, allocations: 4.438 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.009041, allocations: 121.3 kB / 0.5237 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009043, allocations: 0.9688 kB / 0.5237 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.009176, allocations: 23.97 kB / 0.5237 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.009183, allocations: 5.75 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.009196, allocations: 4 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.009198, allocations: 0 / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.009201, allocations: 4 kB / 0.5237 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.009604, allocations: 161.8 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.009616, allocations: 7.938 kB / 0.5239 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.009632, allocations: 0 / 0.5239 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.009693, allocations: 7.984 kB / 0.5239 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.009766, allocations: 11.98 kB / 0.5239 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.009783, allocations: 7.984 kB / 0.5239 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.009828, allocations: 78.03 kB / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009828, allocations: 0 / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002524/0.01008, allocations: 23.94 kB / 0.524 GB, free: 13.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002476/0.01033, allocations: 115.2 kB / 0.5241 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.01069, allocations: 91.81 kB / 0.5242 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01069, allocations: 1.438 kB / 0.5242 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.01085, allocations: 39.97 kB / 0.5242 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.01103, allocations: 15.98 kB / 0.5243 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.0115, allocations: 161.5 kB / 0.5244 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.086e-05/0.01158, allocations: 71.33 kB / 0.5245 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.01176, allocations: 40.78 kB / 0.5245 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.01182, allocations: 20.48 kB / 0.5245 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of SimCode: time 4.2e-07/0.01182, allocations: 0 / 0.5245 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.00394/0.01576, allocations: 1.029 MB / 0.5255 GB, free: 12.17 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.861163662979379]