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.001771/0.001771, allocations: 93.47 kB / 19.44 MB, free: 336 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.001893/0.001893, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.402/1.402, allocations: 154.8 MB / 414.3 MB, free: 480 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.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.613e-06/1.613e-06, allocations: 0 / 0.5199 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.149e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003058/0.00309, allocations: 1.566 MB / 0.5214 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005448/0.003634, allocations: 185.4 kB / 0.5216 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.003674, allocations: 2.781 kB / 0.5216 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.003699, allocations: 3.938 kB / 0.5216 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.003758, allocations: 7.875 kB / 0.5216 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.004146, allocations: 51.86 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.004227, allocations: 35.91 kB / 0.5217 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.004339, allocations: 19.92 kB / 0.5217 GB, free: 496 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.817e-05/0.004387, allocations: 19.92 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.004431, allocations: 16.48 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.004448, allocations: 0 / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.004598, allocations: 60.42 kB / 0.5218 GB, free: 400 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.004612, allocations: 1.094 kB / 0.5218 GB, free: 400 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.004646, allocations: 15.92 kB / 0.5218 GB, free: 384 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.004836, allocations: 67.84 kB / 0.5219 GB, free: 316 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.00484, allocations: 4.75 kB / 0.5219 GB, free: 312 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004841, allocations: 0 / 0.5219 GB, free: 312 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.004845, allocations: 0.6562 kB / 0.5219 GB, free: 312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006163/0.005462, allocations: 385 kB / 0.5222 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.005507, allocations: 8.031 kB / 0.5222 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.005561, allocations: 4.938 kB / 0.5222 GB, free: 15.88 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.005699, allocations: 121.5 kB / 0.5224 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.005724, allocations: 4.375 kB / 0.5224 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.005736, allocations: 6.125 kB / 0.5224 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.005917, allocations: 58.23 kB / 0.5224 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.005926, allocations: 192 / 0.5224 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.005936, allocations: 384 / 0.5224 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.00594, allocations: 384 / 0.5224 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.006091, allocations: 40.34 kB / 0.5225 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.006562, allocations: 272.8 kB / 0.5227 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.006876, allocations: 60 kB / 0.5228 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.006948, allocations: 19.75 kB / 0.5228 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.007132, allocations: 16.61 kB / 0.5228 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.007169, allocations: 42.61 kB / 0.5229 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.00717, allocations: 0 / 0.5229 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3): time 0.0003431/0.007513, allocations: 85.61 kB / 0.5229 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.007562, allocations: 52 kB / 0.523 GB, free: 15.01 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.007701, allocations: 167.4 kB / 0.5231 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.007725, allocations: 25.7 kB / 0.5232 GB, free: 14.8 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.00782, allocations: 138.8 kB / 0.5233 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.00784, allocations: 7.891 kB / 0.5233 GB, free: 14.65 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.007889, allocations: 28.02 kB / 0.5233 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002783/0.008168, allocations: 0.4884 MB / 0.5238 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.008233, allocations: 13.33 kB / 0.5238 GB, free: 14.11 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.008289, allocations: 15.94 kB / 0.5238 GB, free: 14.09 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.008414, allocations: 40.41 kB / 0.5239 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008416, allocations: 0 / 0.5239 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001709/0.008587, allocations: 70.34 kB / 0.5239 GB, free: 13.97 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.008607, allocations: 8.938 kB / 0.524 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.008612, allocations: 0 / 0.524 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.008632, allocations: 5 kB / 0.524 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.008698, allocations: 8 kB / 0.524 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.008706, allocations: 4 kB / 0.524 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.008747, allocations: 6.547 kB / 0.524 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.008753, allocations: 0 / 0.524 GB, free: 13.95 MB / 0.4949 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 0.0001308/0.008884, allocations: 160.5 kB / 0.5241 GB, free: 13.78 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.008913, allocations: 7.938 kB / 0.5241 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.00915, allocations: 73.34 kB / 0.5242 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.009152, allocations: 1.531 kB / 0.5242 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.009156, allocations: 0 / 0.5242 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009158, allocations: 0 / 0.5242 GB, free: 13.69 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.009328, allocations: 124.7 kB / 0.5243 GB, free: 13.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.009329, allocations: 0.5 kB / 0.5243 GB, free: 13.53 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.009652, allocations: 5.031 kB / 0.5243 GB, free: 13.53 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.009653, allocations: 0 / 0.5243 GB, free: 13.53 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.009667, allocations: 8.312 kB / 0.5243 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009668, allocations: 1.062 kB / 0.5243 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009669, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.00996, allocations: 224.8 kB / 0.5246 GB, free: 13.28 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.00997, allocations: 4 kB / 0.5246 GB, free: 13.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.009988, allocations: 7.938 kB / 0.5246 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.01005, allocations: 0.7812 kB / 0.5246 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.01011, allocations: 11.92 kB / 0.5246 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.01011, allocations: 2.75 kB / 0.5246 GB, free: 13.26 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.01019, allocations: 127.2 kB / 0.5247 GB, free: 13.13 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9e-08/0.01019, allocations: 0 / 0.5247 GB, free: 13.13 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002512/0.01044, allocations: 23.92 kB / 0.5247 GB, free: 13.11 MB / 0.4949 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.0002116/0.01065, allocations: 115.2 kB / 0.5248 GB, free: 12.99 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.01085, allocations: 46.48 kB / 0.5249 GB, free: 12.94 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01085, allocations: 0 / 0.5249 GB, free: 12.94 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.01095, allocations: 27.67 kB / 0.5249 GB, free: 12.91 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.01119, allocations: 12.77 kB / 0.5249 GB, free: 12.9 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.01157, allocations: 126.2 kB / 0.525 GB, free: 12.75 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.235e-05/0.01165, allocations: 68.77 kB / 0.5251 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.01169, allocations: 8.188 kB / 0.5251 GB, free: 12.65 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.01173, allocations: 17.03 kB / 0.5251 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of SimCode: time 5.71e-07/0.01173, allocations: 3.312 kB / 0.5251 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of Templates: time 0.004235/0.01596, allocations: 0.9982 MB / 0.5261 GB, free: 11.69 MB / 0.4949 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: 6.144566731993109]