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.0009964/0.0009964, 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.0009865/0.0009865, 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 1.029/1.029, allocations: 177.2 MB / 203.7 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.8637/0.8637, allocations: 154.9 MB / 415.1 MB, free: 248 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.954e-06/1.954e-06, allocations: 0 / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.882e-05, allocations: 6.031 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003576/0.003604, allocations: 1.582 MB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0004831/0.004087, allocations: 189.2 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.004132, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.004158, allocations: 0.6875 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.004207, allocations: 5.578 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.004549, allocations: 56.98 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.004627, allocations: 39.86 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.004713, allocations: 11.98 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.004758, allocations: 21.42 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.004804, allocations: 15.91 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.004819, allocations: 4 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.004961, allocations: 51.94 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.004975, allocations: 8.766 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.004995, allocations: 11.98 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.005149, allocations: 68.58 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005152, allocations: 0 / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.005154, allocations: 2.781 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.005158, allocations: 0 / 0.5231 GB, free: 15.46 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.0003878/0.005545, allocations: 384.5 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.005591, allocations: 8.031 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.005622, allocations: 8.875 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.005712, allocations: 112.6 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.005731, allocations: 4.375 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.005741, allocations: 4.875 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.005887, allocations: 67.48 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005895, allocations: 4.125 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-06/0.005903, allocations: 1.406 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005907, allocations: 384 / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.005945, allocations: 12.84 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.006243, allocations: 248.4 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.006421, allocations: 51.72 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.006446, allocations: 20.5 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.006585, allocations: 12.48 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.00661, allocations: 33.39 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.006611, allocations: 1.031 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001619/0.006773, allocations: 65.69 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.006801, allocations: 52.44 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.006887, allocations: 157.9 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.0069, allocations: 29.64 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.006958, allocations: 135.5 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.006976, allocations: 7.953 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.007012, allocations: 20.75 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.007167, allocations: 0.4923 MB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.007184, allocations: 0 / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.0072, allocations: 4.562 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.007242, allocations: 16.22 kB / 0.525 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.007247, allocations: 3.984 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.751e-05/0.007334, allocations: 47.03 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.00735, allocations: 7.938 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.007358, allocations: 7.922 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.007369, allocations: 4.688 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.007435, allocations: 8 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.007438, allocations: 1.25 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.007465, allocations: 4 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.007471, allocations: 3.984 kB / 0.5251 GB, free: 13.26 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 8.975e-05/0.007561, allocations: 157.3 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.007587, allocations: 4.625 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.007707, allocations: 49.31 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.00771, allocations: 4.844 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.007714, allocations: 3.984 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007718, allocations: 1.156 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.00785, allocations: 97.25 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.007852, allocations: 0 / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.007905, allocations: 16.8 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.007908, allocations: 0 / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.007914, allocations: 1.125 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.007916, allocations: 0 / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.007921, allocations: 7.938 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.008068, allocations: 198.6 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.008074, allocations: 0 / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.008087, allocations: 3.984 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.008143, allocations: 4 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.008186, allocations: 15.92 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.00819, allocations: 0 / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.00824, allocations: 123.2 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00824, allocations: 2.781 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002496/0.008489, allocations: 15.94 kB / 0.5258 GB, free: 12.51 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.000176/0.008665, allocations: 123.2 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.008748, allocations: 27.88 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.008751, allocations: 0 / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.008784, allocations: 21.02 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.00901, allocations: 4 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.009306, allocations: 131.8 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.009351, allocations: 55.34 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.009379, allocations: 4.969 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.00944, allocations: 78.14 kB / 0.5262 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.009441, allocations: 0 / 0.5262 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.003431/0.01287, allocations: 1.113 MB / 0.5273 GB, free: 10.96 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.87111478112638]