Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001241/0.001241, allocations: 78.34 kB / 19 MB, free: 2.867 MB / 14.72 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.001365/0.001365, allocations: 158.7 kB / 22.25 MB, free: 5.133 MB / 14.72 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.331/1.331, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002389/0.002389, allocations: 221.1 kB / 259.2 MB, free: 0.5938 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9972/0.9972, allocations: 138.5 MB / 454.2 MB, free: 2.047 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 99.84 kB / 0.6466 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3909, allocations: 95.36 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001685/0.3926, allocations: 0.5948 MB / 0.7403 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003954/0.393, allocations: 107.7 kB / 0.7404 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.393, allocations: 0 / 0.7404 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.3931, allocations: 4 kB / 0.7404 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.3931, allocations: 0 / 0.7404 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.3934, allocations: 31.91 kB / 0.7405 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3935, allocations: 71.92 kB / 0.7405 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.3936, allocations: 0 / 0.7405 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.3936, allocations: 35.91 kB / 0.7406 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.3937, allocations: 23.95 kB / 0.7406 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3937, allocations: 4 kB / 0.7406 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3938, allocations: 47.95 kB / 0.7406 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.3938, allocations: 19.97 kB / 0.7407 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.3939, allocations: 23.92 kB / 0.7407 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.394, allocations: 67.83 kB / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.394, allocations: 0 / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.394, allocations: 0 / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.394, allocations: 0 / 0.7407 GB, free: 14.18 MB / 0.5762 GB 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.0005068/0.3945, allocations: 311.3 kB / 0.741 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3946, allocations: 13.28 kB / 0.7411 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3946, allocations: 4.938 kB / 0.7411 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/0.3947, allocations: 118.5 kB / 0.7412 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.3951, allocations: 0.5299 MB / 0.7417 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3952, allocations: 384 / 0.7417 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3954, allocations: 82.19 kB / 0.7418 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3954, allocations: 3.938 kB / 0.7418 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3954, allocations: 11.94 kB / 0.7418 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3954, allocations: 0 / 0.7418 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.3958, allocations: 127.8 kB / 0.7419 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.3959, allocations: 125.2 kB / 0.742 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.3962, allocations: 90.52 kB / 0.7421 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3963, allocations: 40.83 kB / 0.7422 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3964, allocations: 336 / 0.7422 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3964, allocations: 38.5 kB / 0.7422 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.3964, allocations: 4 kB / 0.7422 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005126/0.3969, allocations: 153.4 kB / 0.7423 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.3969, allocations: 51.41 kB / 0.7424 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.611e-05/0.397, allocations: 93.86 kB / 0.7425 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.397, allocations: 25.7 kB / 0.7425 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.3971, allocations: 84.14 kB / 0.7426 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.3971, allocations: 35.69 kB / 0.7426 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.3972, allocations: 25.7 kB / 0.7426 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3973, allocations: 318.8 kB / 0.7429 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3974, allocations: 31.91 kB / 0.743 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3976, allocations: 39.97 kB / 0.743 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3978, allocations: 72.81 kB / 0.7431 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3978, allocations: 0 / 0.7431 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003147/0.3981, allocations: 113.5 kB / 0.7432 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3981, allocations: 11.94 kB / 0.7432 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3981, allocations: 0 / 0.7432 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3982, allocations: 3.938 kB / 0.7432 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3983, allocations: 23.97 kB / 0.7432 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3983, allocations: 0 / 0.7432 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.3984, allocations: 12 kB / 0.7432 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3984, allocations: 7.984 kB / 0.7432 GB, free: 11.32 MB / 0.5762 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 9.883e-05/0.3985, allocations: 121.8 kB / 0.7434 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.3985, allocations: 7.953 kB / 0.7434 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.3985, allocations: 11.91 kB / 0.7434 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3985, allocations: 0 / 0.7434 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3985, allocations: 0 / 0.7434 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3985, allocations: 4 kB / 0.7434 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.3987, allocations: 125.3 kB / 0.7435 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3987, allocations: 0 / 0.7435 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3988, allocations: 27.97 kB / 0.7435 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3988, allocations: 0 / 0.7435 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3988, allocations: 11.94 kB / 0.7435 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3988, allocations: 3.938 kB / 0.7435 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3988, allocations: 3.984 kB / 0.7436 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.3991, allocations: 148.2 kB / 0.7437 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.3992, allocations: 3.938 kB / 0.7437 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3992, allocations: 4 kB / 0.7437 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.3992, allocations: 11.92 kB / 0.7437 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.3993, allocations: 11.98 kB / 0.7437 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3993, allocations: 11.98 kB / 0.7437 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.3993, allocations: 75.28 kB / 0.7438 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3993, allocations: 0 / 0.7438 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000211/0.3995, allocations: 20 kB / 0.7438 GB, free: 10.66 MB / 0.5762 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.0001767/0.3997, allocations: 115.2 kB / 0.7439 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.4, allocations: 87.81 kB / 0.744 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4, allocations: 0 / 0.744 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4002, allocations: 44.3 kB / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4003, allocations: 8.156 kB / 0.7441 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.4007, allocations: 168.8 kB / 0.7442 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.214e-05/0.4008, allocations: 67.34 kB / 0.7443 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.4009, allocations: 43.72 kB / 0.7443 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.401, allocations: 16.48 kB / 0.7444 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.401, allocations: 0 / 0.7444 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.003368/0.4043, allocations: 0.9875 MB / 0.7453 GB, free: 9.094 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.473783310502768] Failed to read output from testmodel.py, exit status != 0: 0.41210412606596947 0.426116322 0.02911514 Calling exit ...