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.0007373/0.0007373, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009533/0.001691, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006985/0.0006985, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009012/0.0016, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.106, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.767/0.767, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2776/1.045, allocations: 49.13 MB / 448.4 MB, free: 6.023 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.633e-06/1.633e-06, allocations: 0.5469 kB / 449.8 MB, free: 4.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.185e-05, allocations: 2.312 kB / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001424/0.001446, allocations: 0.652 MB / 450.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001917/0.001638, allocations: 107.6 kB / 450.5 MB, free: 3.953 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.707e-05/0.001655, allocations: 4 kB / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.001675, allocations: 1.203 kB / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.193e-06/0.001676, allocations: 1.406 kB / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.001879, allocations: 27.91 kB / 450.5 MB, free: 3.922 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.001997, allocations: 68.91 kB / 450.6 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.00204, allocations: 7.984 kB / 450.6 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.002099, allocations: 29.33 kB / 450.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.002136, allocations: 20.59 kB / 450.7 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.002154, allocations: 4.656 kB / 450.7 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.002297, allocations: 61.77 kB / 450.7 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.002327, allocations: 13.52 kB / 450.7 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.002347, allocations: 9.75 kB / 450.8 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.00248, allocations: 81.64 kB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.614e-05/0.002496, allocations: 0.9844 kB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002496, allocations: 1 kB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.002513, allocations: 0 / 450.8 MB, free: 3.641 MB / 426.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.0004195/0.002932, allocations: 277.5 kB / 451.1 MB, free: 3.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.002964, allocations: 12.91 kB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.002998, allocations: 16.92 kB / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.92e-05/0.003057, allocations: 110.2 kB / 451.2 MB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.003292, allocations: 0.5265 MB / 451.8 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.003303, allocations: 8.375 kB / 451.8 MB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.003448, allocations: 85.81 kB / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.003455, allocations: 192 / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.003462, allocations: 384 / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003469, allocations: 4.812 kB / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.931e-05/0.003558, allocations: 81.81 kB / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.003673, allocations: 74.64 kB / 452 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.003761, allocations: 77.41 kB / 452.1 MB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.003789, allocations: 13.73 kB / 452.1 MB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.003819, allocations: 8.797 kB / 452.1 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.003844, allocations: 35.11 kB / 452.2 MB, free: 2.121 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.003845, allocations: 4.625 kB / 452.2 MB, free: 2.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001659/0.004011, allocations: 73.41 kB / 452.2 MB, free: 2.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.004046, allocations: 55.34 kB / 452.3 MB, free: 1.977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.004083, allocations: 93.86 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.004097, allocations: 29.7 kB / 452.4 MB, free: 1.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.004121, allocations: 84.78 kB / 452.5 MB, free: 1.754 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.004169, allocations: 33.14 kB / 452.5 MB, free: 1.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.004211, allocations: 29.69 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.00432, allocations: 322.8 kB / 452.9 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.004344, allocations: 9.438 kB / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.004365, allocations: 17.08 kB / 452.9 MB, free: 1.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.00443, allocations: 33.86 kB / 452.9 MB, free: 1.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.004432, allocations: 0 / 452.9 MB, free: 1.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.393e-05/0.004516, allocations: 63.75 kB / 453 MB, free: 1.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.004535, allocations: 9.484 kB / 453 MB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.004541, allocations: 3.938 kB / 453 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.004554, allocations: 4 kB / 453 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.004703, allocations: 24.62 kB / 453 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.004708, allocations: 4.844 kB / 453 MB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.004738, allocations: 11.95 kB / 453 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.004749, allocations: 9.312 kB / 453.1 MB, free: 1.176 MB / 426.7 MB 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.226e-05/0.004821, allocations: 114.2 kB / 453.2 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.004828, allocations: 4 kB / 453.2 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.004855, allocations: 18.97 kB / 453.2 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.004859, allocations: 4 kB / 453.2 MB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.004862, allocations: 2.094 kB / 453.2 MB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.004868, allocations: 3.984 kB / 453.2 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.264e-05/0.004941, allocations: 82.86 kB / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.004942, allocations: 0 / 453.3 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.005007, allocations: 31.91 kB / 453.3 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.005015, allocations: 15.69 kB / 453.3 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005017, allocations: 0.9062 kB / 453.3 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.005024, allocations: 4 kB / 453.3 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005025, allocations: 0.9062 kB / 453.3 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.005026, allocations: 0 / 453.3 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.332e-05/0.005119, allocations: 102.7 kB / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.005131, allocations: 4 kB / 453.4 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.005153, allocations: 4.875 kB / 453.4 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.005187, allocations: 12.59 kB / 453.4 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.005191, allocations: 3.938 kB / 453.5 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.983e-06/0.005198, allocations: 13.45 kB / 453.5 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005198, allocations: 0.6562 kB / 453.5 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001195/0.005318, allocations: 24.91 kB / 453.5 MB, free: 0.7031 MB / 426.7 MB 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.0001304/0.005448, allocations: 97.5 kB / 453.6 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.72e-05/0.005545, allocations: 47.53 kB / 453.6 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.005548, allocations: 0 / 453.6 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.005579, allocations: 33.59 kB / 453.7 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.022e-05/0.00564, allocations: 25.08 kB / 453.7 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.005845, allocations: 140.4 kB / 453.8 MB, free: 344 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.005881, allocations: 63.92 kB / 453.9 MB, free: 260 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.35e-05/0.005924, allocations: 18.25 kB / 453.9 MB, free: 248 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.005971, allocations: 63.36 kB / 454 MB, free: 184 kB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.005972, allocations: 0 / 454 MB, free: 184 kB / 426.7 MB Notification: Performance of Templates: time 0.002794/0.008767, allocations: 1.22 MB / 455.2 MB, free: 15.05 MB / 442.7 MB " [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.48651578463614]