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.000852/0.000852, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001003/0.001003, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9876/0.9876, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 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.001699/0.001699, allocations: 241.9 kB / 260.5 MB, free: 12.7 MB / 250.7 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.7108/0.7108, allocations: 138.4 MB / 402.2 MB, free: 0.5781 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.255e-05, allocations: 4.203 kB / 462.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001475/0.001498, allocations: 0.6044 MB / 463 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003497/0.001848, allocations: 106.6 kB / 463.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.001865, allocations: 0.625 kB / 463.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.001898, allocations: 2.516 kB / 463.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.001904, allocations: 0.9062 kB / 463.1 MB, free: 460 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.002221, allocations: 44.41 kB / 463.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.002342, allocations: 64.11 kB / 463.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.002378, allocations: 3.547 kB / 463.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.002434, allocations: 36.62 kB / 463.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.002479, allocations: 24.83 kB / 463.3 MB, free: 404 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.002494, allocations: 2 kB / 463.3 MB, free: 404 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.002616, allocations: 50.55 kB / 463.3 MB, free: 392 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.002652, allocations: 24.89 kB / 463.3 MB, free: 384 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.002675, allocations: 14.73 kB / 463.4 MB, free: 380 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.002819, allocations: 87.75 kB / 463.4 MB, free: 352 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002821, allocations: 3.938 kB / 463.4 MB, free: 348 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002822, allocations: 0 / 463.4 MB, free: 348 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.002825, allocations: 2.469 kB / 463.4 MB, free: 348 kB / 410.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.0003066/0.003132, allocations: 271.3 kB / 463.7 MB, free: 96 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.003162, allocations: 10.66 kB / 463.7 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.0032, allocations: 16.97 kB / 463.7 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.337e-05/0.003263, allocations: 109.7 kB / 463.8 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.003551, allocations: 0.5273 MB / 464.4 MB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.003572, allocations: 7.906 kB / 464.4 MB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.003749, allocations: 85.89 kB / 464.5 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.003757, allocations: 1.344 kB / 464.5 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.003766, allocations: 384 / 464.5 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.003774, allocations: 5.375 kB / 464.5 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.003917, allocations: 86.91 kB / 464.6 MB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.004035, allocations: 70.86 kB / 464.6 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.724e-05/0.004133, allocations: 58.38 kB / 464.7 MB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.004171, allocations: 21.58 kB / 464.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.00419, allocations: 6.891 kB / 464.7 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.004213, allocations: 34.06 kB / 464.7 MB, free: 15.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.004214, allocations: 1.156 kB / 464.7 MB, free: 15.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.003212/0.007425, allocations: 80.75 kB / 464.8 MB, free: 15.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.007461, allocations: 52.5 kB / 464.9 MB, free: 15.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.297e-05/0.007494, allocations: 91.64 kB / 465 MB, free: 14.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.007508, allocations: 30.42 kB / 465 MB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.006e-05/0.007528, allocations: 82.19 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.007571, allocations: 43.11 kB / 465.1 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.007616, allocations: 25.28 kB / 465.1 MB, free: 14.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.007701, allocations: 322.7 kB / 465.5 MB, free: 14.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.626e-05/0.007727, allocations: 11.7 kB / 465.5 MB, free: 14.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.007753, allocations: 13.27 kB / 465.5 MB, free: 14.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.007829, allocations: 47.17 kB / 465.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007831, allocations: 0 / 465.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001032/0.007934, allocations: 62.39 kB / 465.6 MB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.007949, allocations: 8.016 kB / 465.6 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007954, allocations: 0.7031 kB / 465.6 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.007967, allocations: 0.6094 kB / 465.6 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.008083, allocations: 21.88 kB / 465.6 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.008087, allocations: 2.734 kB / 465.6 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.008127, allocations: 13.7 kB / 465.6 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.008141, allocations: 9.469 kB / 465.6 MB, free: 14.37 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 6.679e-05/0.008208, allocations: 119.9 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.008222, allocations: 4.719 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.008251, allocations: 14.05 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008253, allocations: 2.906 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.008256, allocations: 1.828 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.008259, allocations: 0.5625 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.008346, allocations: 86.84 kB / 465.9 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008348, allocations: 0.5156 kB / 465.9 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.008422, allocations: 22.31 kB / 465.9 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.008424, allocations: 2.234 kB / 465.9 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.008436, allocations: 6.797 kB / 465.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008438, allocations: 1.891 kB / 465.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008439, allocations: 0 / 465.9 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.00856, allocations: 102.7 kB / 466 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.008568, allocations: 7.516 kB / 466 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.008581, allocations: 7.438 kB / 466 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.173e-05/0.008613, allocations: 8.234 kB / 466 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.008656, allocations: 10.62 kB / 466 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.008663, allocations: 2.578 kB / 466 MB, free: 14.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.147e-06/0.008672, allocations: 10.2 kB / 466 MB, free: 14.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008673, allocations: 0 / 466 MB, free: 14.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.00887, allocations: 18.16 kB / 466.1 MB, free: 14.05 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.0001516/0.009021, allocations: 102.8 kB / 466.2 MB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.009123, allocations: 47.92 kB / 466.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.009125, allocations: 0.875 kB / 466.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.009178, allocations: 39.92 kB / 466.2 MB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.23e-05/0.00925, allocations: 25.41 kB / 466.3 MB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.009513, allocations: 132.5 kB / 466.4 MB, free: 13.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.009552, allocations: 60.95 kB / 466.5 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.742e-05/0.009619, allocations: 20.67 kB / 466.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.009689, allocations: 63.91 kB / 466.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of SimCode: time 6.92e-07/0.00969, allocations: 0 / 466.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of Templates: time 0.009822/0.01951, allocations: 1.221 MB / 467.8 MB, free: 12.97 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.556635250803083]