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.0009019/0.0009019, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001032/0.001032, allocations: 169 kB / 23.27 MB, free: 1.223 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.9719/0.9719, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7977/0.7977, allocations: 154.9 MB / 415.1 MB, free: 264 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.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.924e-06/1.924e-06, allocations: 0 / 0.5212 GB, free: 1.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.92e-05, allocations: 3.078 kB / 0.5212 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001811/0.001841, allocations: 0.6014 MB / 0.5218 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003957/0.002236, allocations: 104.4 kB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.002264, allocations: 1 kB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.002316, allocations: 3.938 kB / 0.5219 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.586e-06/0.002325, allocations: 0 / 0.5219 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.002785, allocations: 41.5 kB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.002924, allocations: 59.94 kB / 0.522 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.002968, allocations: 9.641 kB / 0.522 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.003038, allocations: 32.84 kB / 0.522 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.003084, allocations: 19.95 kB / 0.522 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.003108, allocations: 4 kB / 0.522 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.003269, allocations: 55.88 kB / 0.5221 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.003306, allocations: 24.91 kB / 0.5221 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.00333, allocations: 16.91 kB / 0.5221 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.003494, allocations: 83.8 kB / 0.5222 GB, free: 492 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003498, allocations: 4 kB / 0.5222 GB, free: 488 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003499, allocations: 1.219 kB / 0.5222 GB, free: 488 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.003502, allocations: 0 / 0.5222 GB, free: 488 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004185/0.003921, allocations: 392.2 kB / 0.5226 GB, free: 56 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.003962, allocations: 12.66 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.004014, allocations: 22.98 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.601e-05/0.00409, allocations: 108.6 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.004404, allocations: 0.5299 MB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.004419, allocations: 4.375 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.004604, allocations: 82.89 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004612, allocations: 1.75 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.004621, allocations: 4.375 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.00463, allocations: 4.125 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.004766, allocations: 99.27 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.004914, allocations: 118.4 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.005015, allocations: 63.03 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.005054, allocations: 28.3 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.005078, allocations: 0 / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.005105, allocations: 42.12 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.005106, allocations: 0 / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002177/0.005324, allocations: 103.2 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.005353, allocations: 51.41 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.005404, allocations: 146.2 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.005417, allocations: 26.77 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.005452, allocations: 130.9 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.005502, allocations: 35.67 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.005573, allocations: 42.94 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.005714, allocations: 0.4883 MB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.005751, allocations: 11.98 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.005781, allocations: 15.98 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.005861, allocations: 39.66 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005863, allocations: 0 / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001356/0.005999, allocations: 80.39 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.006013, allocations: 8 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.006018, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.00603, allocations: 0.5 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.006154, allocations: 24.53 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.006157, allocations: 4.562 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.006203, allocations: 19.89 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.006213, allocations: 4.953 kB / 0.5249 GB, free: 13.46 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 8.389e-05/0.006297, allocations: 166 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.006316, allocations: 4 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.006346, allocations: 11.97 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006348, allocations: 0 / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.00635, allocations: 0.6562 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.006355, allocations: 7.984 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.006467, allocations: 119 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.006468, allocations: 0 / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.006554, allocations: 23.98 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006556, allocations: 0 / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.006567, allocations: 7.984 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.006568, allocations: 2.75 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.00657, allocations: 0 / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.006736, allocations: 132.2 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.006743, allocations: 0 / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.006757, allocations: 4 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.006793, allocations: 4 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.006836, allocations: 11.97 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.006844, allocations: 5.719 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.006877, allocations: 119.2 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006877, allocations: 0 / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000245/0.007122, allocations: 27.92 kB / 0.5255 GB, free: 12.78 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.0001659/0.007287, allocations: 116.2 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.007417, allocations: 64.36 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007419, allocations: 0 / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.007474, allocations: 47.53 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.007617, allocations: 11.94 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.007871, allocations: 149.8 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.007908, allocations: 63.34 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.102e-05/0.007969, allocations: 15.12 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.008038, allocations: 78.19 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.008038, allocations: 0 / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.003456/0.01149, allocations: 1.257 MB / 0.5272 GB, free: 11 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6260814699344337]