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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 103.9 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009939/0.000994, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 278.8 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8877/0.8877, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 97.66 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1493, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002363/0.1517, allocations: 1.529 MB / 0.6831 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000396/0.1521, allocations: 180.2 kB / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.1522, allocations: 4 kB / 0.6833 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.1522, allocations: 3.938 kB / 0.6833 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.1523, allocations: 3.938 kB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1525, allocations: 51.88 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7e-05/0.1526, allocations: 35.92 kB / 0.6834 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.1527, allocations: 15.98 kB / 0.6834 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.749e-05/0.1527, allocations: 15.94 kB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.1528, allocations: 19.91 kB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1528, allocations: 8 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1529, allocations: 47.95 kB / 0.6835 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.1529, allocations: 4 kB / 0.6835 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.153, allocations: 27.84 kB / 0.6835 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1531, allocations: 63.84 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1531, allocations: 0 / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1531, allocations: 0 / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1531, allocations: 0 / 0.6835 GB, free: 5.457 MB / 494.1 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.0004213/0.1536, allocations: 355.4 kB / 0.6839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.1536, allocations: 12.03 kB / 0.6839 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1536, allocations: 8.922 kB / 0.6839 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.1537, allocations: 172.2 kB / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1538, allocations: 384 / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.1538, allocations: 4.375 kB / 0.6841 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.154, allocations: 62.22 kB / 0.6841 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.154, allocations: 192 / 0.6841 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.154, allocations: 7.938 kB / 0.6841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.154, allocations: 0 / 0.6841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1542, allocations: 51.94 kB / 0.6842 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.1545, allocations: 276.7 kB / 0.6845 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.1548, allocations: 58.53 kB / 0.6845 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.1549, allocations: 32.84 kB / 0.6845 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/0.1551, allocations: 170.3 kB / 0.6847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1552, allocations: 34.55 kB / 0.6847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1552, allocations: 0 / 0.6847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003615/0.1555, allocations: 101.5 kB / 0.6848 GB, free: 3.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1556, allocations: 51.41 kB / 0.6849 GB, free: 3.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.1556, allocations: 109.8 kB / 0.685 GB, free: 3.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1557, allocations: 29.7 kB / 0.685 GB, free: 3.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1557, allocations: 88.12 kB / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.1557, allocations: 7.906 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1558, allocations: 13.72 kB / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.1559, allocations: 318.8 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.863e-05/0.156, allocations: 19.97 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.456e-05/0.156, allocations: 27.98 kB / 0.6855 GB, free: 3.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1562, allocations: 44.81 kB / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1562, allocations: 0 / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001935/0.1564, allocations: 77.59 kB / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1564, allocations: 4 kB / 0.6856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1564, allocations: 0 / 0.6856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1565, allocations: 11.98 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.1565, allocations: 4 kB / 0.6856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1565, allocations: 4 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.1566, allocations: 11.89 kB / 0.6856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1566, allocations: 0 / 0.6856 GB, free: 3.066 MB / 494.1 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.697e-05/0.1567, allocations: 113.7 kB / 0.6857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1567, allocations: 8 kB / 0.6857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.157, allocations: 93.47 kB / 0.6858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.157, allocations: 0 / 0.6858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.157, allocations: 0 / 0.6858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.157, allocations: 0 / 0.6858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.1571, allocations: 173.5 kB / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1572, allocations: 0 / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.58e-05/0.1572, allocations: 11.98 kB / 0.686 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1572, allocations: 384 / 0.686 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1573, allocations: 0 / 0.686 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1573, allocations: 4 kB / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1573, allocations: 0 / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1575, allocations: 183.3 kB / 0.6862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.1575, allocations: 81.11 kB / 0.6863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1576, allocations: 0 / 0.6863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.1577, allocations: 11.98 kB / 0.6863 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1577, allocations: 8 kB / 0.6863 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1577, allocations: 3.938 kB / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.709e-05/0.1578, allocations: 87.27 kB / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1578, allocations: 0 / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.158, allocations: 16 kB / 0.6864 GB, free: 2.184 MB / 494.1 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.0001448/0.1581, allocations: 119.2 kB / 0.6865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1584, allocations: 43.95 kB / 0.6865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1584, allocations: 0 / 0.6865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.1585, allocations: 31.91 kB / 0.6866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1587, allocations: 14.12 kB / 0.6866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.159, allocations: 113.6 kB / 0.6867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.1593, allocations: 0.6768 MB / 0.6873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.1593, allocations: 12.48 kB / 0.6874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.1593, allocations: 19.42 kB / 0.6874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1593, allocations: 0 / 0.6874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of Templates: time 0.002958/0.1623, allocations: 0.9822 MB / 0.6883 GB, free: 124 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)