Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001462/0.001462, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001713/0.001713, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.995/0.995, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.001804/0.001804, allocations: 244.2 kB / 261.3 MB, free: 12.67 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.8309/0.8309, allocations: 138.4 MB / 456.3 MB, free: 1.461 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 3.984 kB / 0.5564 GB, free: 272 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.232e-05, allocations: 5.266 kB / 0.5564 GB, free: 268 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002036/0.002058, allocations: 1.597 MB / 0.5579 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003753/0.002434, allocations: 184.2 kB / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.002473, allocations: 0 / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.002501, allocations: 3.938 kB / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.002542, allocations: 7.938 kB / 0.5581 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.002862, allocations: 55.75 kB / 0.5582 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.002929, allocations: 35.91 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.003011, allocations: 8 kB / 0.5582 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.003051, allocations: 23.92 kB / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.416e-05/0.003085, allocations: 15.97 kB / 0.5583 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.003099, allocations: 4 kB / 0.5583 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.003204, allocations: 47.94 kB / 0.5583 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.00322, allocations: 11.92 kB / 0.5583 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.003238, allocations: 8 kB / 0.5583 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.00337, allocations: 75.77 kB / 0.5584 GB, free: 14.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003372, allocations: 0 / 0.5584 GB, free: 14.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003373, allocations: 0 / 0.5584 GB, free: 14.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003377, allocations: 0 / 0.5584 GB, free: 14.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003319/0.003709, allocations: 376.5 kB / 0.5588 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.003741, allocations: 8.75 kB / 0.5588 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.003779, allocations: 12.89 kB / 0.5588 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.485e-05/0.003864, allocations: 120.5 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.00388, allocations: 384 / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.003887, allocations: 4.375 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.003995, allocations: 70.92 kB / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004002, allocations: 192 / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.004008, allocations: 384 / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004014, allocations: 384 / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.69e-05/0.00404, allocations: 15.92 kB / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.004283, allocations: 248.3 kB / 0.5592 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.00442, allocations: 51.03 kB / 0.5593 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.00444, allocations: 15.75 kB / 0.5593 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.784e-05/0.004538, allocations: 11.98 kB / 0.5593 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.00456, allocations: 37.39 kB / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.004561, allocations: 0 / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001708/0.004732, allocations: 57.75 kB / 0.5594 GB, free: 13.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.004761, allocations: 51.41 kB / 0.5594 GB, free: 12.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.00483, allocations: 162 kB / 0.5596 GB, free: 12.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.004841, allocations: 29.64 kB / 0.5596 GB, free: 12.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.004888, allocations: 138.8 kB / 0.5597 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.004904, allocations: 7.938 kB / 0.5598 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.004936, allocations: 23.36 kB / 0.5598 GB, free: 12.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.005054, allocations: 496.1 kB / 0.5602 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.005065, allocations: 7.984 kB / 0.5603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.201e-05/0.005077, allocations: 7.984 kB / 0.5603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.005109, allocations: 23.62 kB / 0.5603 GB, free: 12.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005111, allocations: 0 / 0.5603 GB, free: 12.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.272e-05/0.005174, allocations: 41.69 kB / 0.5603 GB, free: 11.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005186, allocations: 7.938 kB / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.00519, allocations: 0 / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.005203, allocations: 0 / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-05/0.005251, allocations: 11.98 kB / 0.5603 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005254, allocations: 0 / 0.5603 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.005276, allocations: 8 kB / 0.5604 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005281, allocations: 4.25 kB / 0.5604 GB, free: 11.96 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.262e-05/0.005344, allocations: 156.6 kB / 0.5605 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.005362, allocations: 7.953 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.005436, allocations: 57.23 kB / 0.5606 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.005439, allocations: 4 kB / 0.5606 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005441, allocations: 4 kB / 0.5606 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005443, allocations: 0 / 0.5606 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.915e-05/0.005532, allocations: 101.2 kB / 0.5607 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.005533, allocations: 4 kB / 0.5607 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.005565, allocations: 11.98 kB / 0.5607 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005566, allocations: 0 / 0.5607 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.00557, allocations: 0 / 0.5607 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005571, allocations: 0 / 0.5607 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.005572, allocations: 3.938 kB / 0.5607 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.129e-05/0.005663, allocations: 195.8 kB / 0.5609 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.005671, allocations: 7.891 kB / 0.5609 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.005682, allocations: 4 kB / 0.5609 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.005714, allocations: 7.984 kB / 0.5609 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.005743, allocations: 3.938 kB / 0.5609 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.005746, allocations: 8 kB / 0.5609 GB, free: 11.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.231e-05/0.005778, allocations: 131.2 kB / 0.561 GB, free: 11.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005778, allocations: 0 / 0.561 GB, free: 11.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.005941, allocations: 16 kB / 0.561 GB, free: 11.19 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001125/0.006053, allocations: 115.2 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.52e-05/0.006119, allocations: 19.91 kB / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.51e-07/0.006119, allocations: 0 / 0.5612 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.258e-05/0.006142, allocations: 19.72 kB / 0.5612 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.006302, allocations: 18.8 kB / 0.5612 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/0.006507, allocations: 129.4 kB / 0.5613 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.363e-05/0.006541, allocations: 55.36 kB / 0.5614 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.00656, allocations: 3.984 kB / 0.5614 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.006604, allocations: 74.2 kB / 0.5615 GB, free: 10.7 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.006604, allocations: 0 / 0.5615 GB, free: 10.7 MB / 490.7 MB Notification: Performance of Templates: time 0.002454/0.009058, allocations: 1.125 MB / 0.5626 GB, free: 9.578 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.733343572821468]