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.000983/0.000983, allocations: 93.06 kB / 19.65 MB, free: 276 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.000969/0.000969, allocations: 169.3 kB / 23.02 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.9399/0.9399, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7721/0.7721, allocations: 154.9 MB / 414.8 MB, free: 368 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.393e-06/1.393e-06, allocations: 0 / 0.5207 GB, free: 1.691 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.868e-05, allocations: 5.469 kB / 0.5207 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001402/0.001421, allocations: 0.6124 MB / 0.5213 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.001759, allocations: 95.62 kB / 0.5214 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.001776, allocations: 0.625 kB / 0.5214 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.00181, allocations: 3.984 kB / 0.5214 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.001817, allocations: 1.812 kB / 0.5214 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.002147, allocations: 36.55 kB / 0.5215 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.002268, allocations: 67.86 kB / 0.5215 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.01e-05/0.002298, allocations: 4 kB / 0.5215 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.002351, allocations: 31.95 kB / 0.5216 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.002395, allocations: 25.48 kB / 0.5216 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.002414, allocations: 4 kB / 0.5216 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.00255, allocations: 51.88 kB / 0.5217 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.002592, allocations: 23.95 kB / 0.5217 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.002619, allocations: 13.27 kB / 0.5217 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.002779, allocations: 87.75 kB / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002781, allocations: 0 / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002782, allocations: 0.625 kB / 0.5218 GB, free: 0.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.002785, allocations: 0 / 0.5218 GB, free: 0.668 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.0004223/0.003208, allocations: 400.9 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.003245, allocations: 12.03 kB / 0.5222 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.003302, allocations: 18.61 kB / 0.5222 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.059e-05/0.003362, allocations: 108.6 kB / 0.5223 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005982/0.003961, allocations: 0.5299 MB / 0.5228 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.003976, allocations: 5.406 kB / 0.5228 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.004187, allocations: 94.77 kB / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004195, allocations: 192 / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.004207, allocations: 7.938 kB / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.004215, allocations: 4.125 kB / 0.5229 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.004388, allocations: 103.8 kB / 0.523 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.004555, allocations: 124.6 kB / 0.5231 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.004684, allocations: 71.03 kB / 0.5232 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.00474, allocations: 35.61 kB / 0.5232 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.004759, allocations: 0 / 0.5232 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.004784, allocations: 37.39 kB / 0.5233 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.004785, allocations: 0.5312 kB / 0.5233 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.000264/0.005049, allocations: 114.4 kB / 0.5234 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.005078, allocations: 55.97 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.741e-05/0.005125, allocations: 146.2 kB / 0.5236 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.00514, allocations: 26.67 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.005172, allocations: 126.9 kB / 0.5237 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.005221, allocations: 43.69 kB / 0.5238 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.005271, allocations: 36.81 kB / 0.5238 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.00545, allocations: 496.1 kB / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.005498, allocations: 19.92 kB / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.005538, allocations: 20.67 kB / 0.5243 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/0.005631, allocations: 46.34 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005633, allocations: 0.5625 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001552/0.005788, allocations: 83.64 kB / 0.5244 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.005802, allocations: 8 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005806, allocations: 0 / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005818, allocations: 0 / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.005949, allocations: 27.91 kB / 0.5245 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.005957, allocations: 8.469 kB / 0.5245 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.006004, allocations: 12.67 kB / 0.5245 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.006015, allocations: 0 / 0.5245 GB, free: 13.58 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 7.756e-05/0.006092, allocations: 165.1 kB / 0.5246 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.006112, allocations: 5.438 kB / 0.5247 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.006139, allocations: 15.91 kB / 0.5247 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.006143, allocations: 4 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.006146, allocations: 0 / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.00615, allocations: 9.844 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.707e-05/0.006247, allocations: 128.5 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006249, allocations: 0 / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.006345, allocations: 27.92 kB / 0.5248 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.006348, allocations: 4 kB / 0.5248 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.00636, allocations: 6.734 kB / 0.5248 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.006363, allocations: 3.984 kB / 0.5248 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006364, allocations: 0 / 0.5248 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.006545, allocations: 128.3 kB / 0.525 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.006552, allocations: 3.984 kB / 0.525 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.006568, allocations: 4 kB / 0.525 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.264e-05/0.006611, allocations: 7.938 kB / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.006666, allocations: 13.72 kB / 0.525 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.006677, allocations: 8 kB / 0.525 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.00671, allocations: 123.1 kB / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.00671, allocations: 0 / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002421/0.006952, allocations: 24.86 kB / 0.5251 GB, free: 12.85 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.0001516/0.007103, allocations: 120 kB / 0.5253 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.00726, allocations: 67.64 kB / 0.5253 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007261, allocations: 0.6562 kB / 0.5253 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.007341, allocations: 51.14 kB / 0.5254 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.007492, allocations: 14.91 kB / 0.5254 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.007769, allocations: 150.2 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.007805, allocations: 59.36 kB / 0.5256 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.408e-05/0.007899, allocations: 35.08 kB / 0.5256 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.008011, allocations: 20.48 kB / 0.5256 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.008011, allocations: 0 / 0.5256 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.003538/0.01155, allocations: 1.21 MB / 0.5268 GB, free: 11.15 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.7651010411791503]