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.001239/0.001239, allocations: 79.11 kB / 19.76 MB, free: 2.035 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.001272/0.001272, allocations: 157.1 kB / 23.01 MB, free: 4.941 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 / 203.4 MB, free: 8.961 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.002332/0.002332, allocations: 233.3 kB / 260 MB, free: 436 kB / 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.8896/0.8896, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.003048/0.003048, allocations: 99.84 kB / 0.6474 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3913, allocations: 95.34 MB / 0.7405 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001627/0.3929, allocations: 0.5901 MB / 0.7411 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003599/0.3933, allocations: 108.1 kB / 0.7412 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.3933, allocations: 0 / 0.7412 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.3933, allocations: 0.75 kB / 0.7412 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.98e-06/0.3933, allocations: 0 / 0.7412 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.3936, allocations: 44.11 kB / 0.7412 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3937, allocations: 59.41 kB / 0.7413 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.212e-05/0.3938, allocations: 6.125 kB / 0.7413 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.3938, allocations: 29.48 kB / 0.7413 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.3939, allocations: 20.58 kB / 0.7413 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3939, allocations: 6.312 kB / 0.7413 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.394, allocations: 51.86 kB / 0.7414 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.394, allocations: 22.03 kB / 0.7414 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.3941, allocations: 22.48 kB / 0.7414 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3942, allocations: 68.98 kB / 0.7415 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3942, allocations: 0 / 0.7415 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3942, allocations: 0 / 0.7415 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3942, allocations: 0 / 0.7415 GB, free: 16.89 MB / 0.5919 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.0003984/0.3946, allocations: 306.1 kB / 0.7418 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.3947, allocations: 11.69 kB / 0.7418 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.3947, allocations: 10.17 kB / 0.7418 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.137e-05/0.3947, allocations: 108.5 kB / 0.7419 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.395, allocations: 0.5283 MB / 0.7424 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.395, allocations: 8.922 kB / 0.7424 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3952, allocations: 84.19 kB / 0.7425 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3952, allocations: 3.938 kB / 0.7425 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3952, allocations: 0 / 0.7425 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3952, allocations: 1.5 kB / 0.7425 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.3956, allocations: 127 kB / 0.7426 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.3957, allocations: 124.9 kB / 0.7428 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.3959, allocations: 95.23 kB / 0.7428 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3961, allocations: 39.7 kB / 0.7429 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3961, allocations: 5.094 kB / 0.7429 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.3961, allocations: 33.89 kB / 0.7429 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.3961, allocations: 0 / 0.7429 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.000499/0.3966, allocations: 151.5 kB / 0.7431 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.3966, allocations: 57.3 kB / 0.7431 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.612e-05/0.3967, allocations: 89.86 kB / 0.7432 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.3967, allocations: 30.86 kB / 0.7432 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.906e-06/0.3967, allocations: 80.14 kB / 0.7433 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.3967, allocations: 39.94 kB / 0.7433 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.3967, allocations: 30.58 kB / 0.7434 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/0.3968, allocations: 315.2 kB / 0.7437 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3969, allocations: 32.62 kB / 0.7437 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.397, allocations: 31.52 kB / 0.7437 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3973, allocations: 77.23 kB / 0.7438 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3973, allocations: 0 / 0.7438 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003102/0.3976, allocations: 117.6 kB / 0.7439 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3976, allocations: 4.469 kB / 0.7439 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3976, allocations: 1.797 kB / 0.7439 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3976, allocations: 9.094 kB / 0.7439 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3978, allocations: 27.55 kB / 0.744 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3978, allocations: 0 / 0.744 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.3978, allocations: 5.547 kB / 0.744 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3979, allocations: 4.297 kB / 0.744 GB, free: 14.72 MB / 0.5919 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 5.175e-05/0.3979, allocations: 117.3 kB / 0.7441 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.3979, allocations: 5.906 kB / 0.7441 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.398, allocations: 17.83 kB / 0.7441 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.398, allocations: 1.312 kB / 0.7441 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.398, allocations: 7.938 kB / 0.7441 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.398, allocations: 0.7969 kB / 0.7441 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.637e-05/0.398, allocations: 125.7 kB / 0.7442 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.398, allocations: 5.125 kB / 0.7442 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.3982, allocations: 27.31 kB / 0.7443 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3982, allocations: 1.062 kB / 0.7443 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3982, allocations: 3.156 kB / 0.7443 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3982, allocations: 5.156 kB / 0.7443 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3982, allocations: 0 / 0.7443 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3985, allocations: 144.1 kB / 0.7444 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.3985, allocations: 6.328 kB / 0.7444 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3985, allocations: 2.594 kB / 0.7444 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.3986, allocations: 12.12 kB / 0.7444 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.3986, allocations: 13.94 kB / 0.7445 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3986, allocations: 9.656 kB / 0.7445 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.307e-06/0.3987, allocations: 75.28 kB / 0.7445 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3987, allocations: 0 / 0.7445 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002496/0.3989, allocations: 21.88 kB / 0.7446 GB, free: 14.24 MB / 0.5919 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.0001334/0.399, allocations: 116.6 kB / 0.7447 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003228/0.3994, allocations: 83.8 kB / 0.7447 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3994, allocations: 0 / 0.7447 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3995, allocations: 46 kB / 0.7448 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.3996, allocations: 5.594 kB / 0.7448 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.4, allocations: 171.2 kB / 0.745 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.4, allocations: 69.41 kB / 0.745 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.4001, allocations: 45.05 kB / 0.7451 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.4002, allocations: 25.17 kB / 0.7451 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.4002, allocations: 0 / 0.7451 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.003305/0.4035, allocations: 0.9867 MB / 0.7461 GB, free: 13.76 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.358271526056342] Failed to read output from testmodel.py, exit status != 0: 0.4109620829112828 0.42147769199999996 0.024859197000000003 Calling exit ...