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.001816/0.001816, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002674/0.002674, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.002607/0.002607, allocations: 240.2 kB / 259.8 MB, free: 12.84 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 1.063/1.063, allocations: 138.4 MB / 454.7 MB, free: 1.449 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.833e-06/1.833e-06, allocations: 0 / 0.5544 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.359e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001592/0.001616, allocations: 0.5887 MB / 0.555 GB, free: 180 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000393/0.002009, allocations: 103.6 kB / 0.5551 GB, free: 76 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.002027, allocations: 0 / 0.5551 GB, free: 76 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.00206, allocations: 0 / 0.5551 GB, free: 76 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.002065, allocations: 0 / 0.5551 GB, free: 76 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.002409, allocations: 39.89 kB / 0.5551 GB, free: 36 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.002555, allocations: 64 kB / 0.5552 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.938e-05/0.002584, allocations: 7.938 kB / 0.5552 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.002656, allocations: 31.88 kB / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.002705, allocations: 23.95 kB / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.002725, allocations: 4 kB / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.002874, allocations: 55.88 kB / 0.5553 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.002923, allocations: 27.89 kB / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.002954, allocations: 7.984 kB / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.003131, allocations: 87.75 kB / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003133, allocations: 0 / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003133, allocations: 0 / 0.5554 GB, free: 15.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.003137, allocations: 4 kB / 0.5554 GB, free: 15.73 MB / 490.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.0005463/0.003683, allocations: 302.3 kB / 0.5557 GB, free: 15.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.003718, allocations: 8.75 kB / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.003786, allocations: 16.94 kB / 0.5557 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.003892, allocations: 109.7 kB / 0.5558 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005147/0.004406, allocations: 0.5338 MB / 0.5563 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.004424, allocations: 4.375 kB / 0.5563 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.004698, allocations: 78.19 kB / 0.5564 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004705, allocations: 192 / 0.5564 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.004721, allocations: 4.375 kB / 0.5564 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.004728, allocations: 4.125 kB / 0.5564 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.005123, allocations: 135.8 kB / 0.5566 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.005307, allocations: 121.3 kB / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.005658, allocations: 90.45 kB / 0.5568 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.005824, allocations: 40.83 kB / 0.5568 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.005853, allocations: 0 / 0.5568 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.005894, allocations: 38.56 kB / 0.5568 GB, free: 14.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 8.71e-07/0.005894, allocations: 0 / 0.5568 GB, free: 14.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006082/0.006503, allocations: 149.8 kB / 0.557 GB, free: 13.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.006549, allocations: 51.41 kB / 0.557 GB, free: 13.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.006613, allocations: 101.8 kB / 0.5571 GB, free: 13.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.006638, allocations: 29.7 kB / 0.5571 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.006683, allocations: 80.14 kB / 0.5572 GB, free: 13.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.006742, allocations: 35.69 kB / 0.5573 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.006805, allocations: 33.69 kB / 0.5573 GB, free: 13.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.006975, allocations: 314.8 kB / 0.5576 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.007123, allocations: 27.97 kB / 0.5576 GB, free: 13.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.007268, allocations: 40.34 kB / 0.5577 GB, free: 13.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.007577, allocations: 72.83 kB / 0.5577 GB, free: 13.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007579, allocations: 0 / 0.5577 GB, free: 13.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003844/0.007963, allocations: 129.5 kB / 0.5578 GB, free: 12.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.007979, allocations: 4 kB / 0.5579 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007984, allocations: 0 / 0.5579 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.007999, allocations: 0 / 0.5579 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.008159, allocations: 27.98 kB / 0.5579 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.008169, allocations: 7.922 kB / 0.5579 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.008233, allocations: 7.984 kB / 0.5579 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.00825, allocations: 8 kB / 0.5579 GB, free: 12.86 MB / 490.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 0.0001123/0.008362, allocations: 113.8 kB / 0.558 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.008398, allocations: 15.95 kB / 0.558 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.008434, allocations: 7.969 kB / 0.558 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.008436, allocations: 3.938 kB / 0.558 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.00844, allocations: 4 kB / 0.558 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.008445, allocations: 3.938 kB / 0.558 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.008587, allocations: 121.2 kB / 0.5582 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.008588, allocations: 0 / 0.5582 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.008721, allocations: 23.97 kB / 0.5582 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.008726, allocations: 4 kB / 0.5582 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.008739, allocations: 4 kB / 0.5582 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.008741, allocations: 0 / 0.5582 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.008741, allocations: 4 kB / 0.5582 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.009184, allocations: 152.8 kB / 0.5583 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.009195, allocations: 8 kB / 0.5583 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.00921, allocations: 0 / 0.5583 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.009271, allocations: 4 kB / 0.5584 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.009343, allocations: 15.97 kB / 0.5584 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.009354, allocations: 4 kB / 0.5584 GB, free: 12.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.217e-05/0.009396, allocations: 79.22 kB / 0.5584 GB, free: 12.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009396, allocations: 0 / 0.5584 GB, free: 12.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.009638, allocations: 27.92 kB / 0.5585 GB, free: 12.22 MB / 490.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.0002013/0.00984, allocations: 123.2 kB / 0.5586 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.0102, allocations: 87.88 kB / 0.5587 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01021, allocations: 0 / 0.5587 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.01038, allocations: 39.97 kB / 0.5587 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.01053, allocations: 15.28 kB / 0.5587 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.01098, allocations: 171.9 kB / 0.5589 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.01106, allocations: 63.34 kB / 0.5589 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.0112, allocations: 39.94 kB / 0.559 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.01127, allocations: 28.47 kB / 0.559 GB, free: 11.62 MB / 490.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01127, allocations: 0 / 0.559 GB, free: 11.62 MB / 490.7 MB Notification: Performance of Templates: time 0.003913/0.01519, allocations: 1.022 MB / 0.56 GB, free: 10.61 MB / 490.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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.450381028931588]