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.001312/0.001312, allocations: 104.3 kB / 16.27 MB, free: 6.09 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.001307/0.001307, allocations: 188.9 kB / 17.2 MB, free: 5.711 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.277/1.277, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 282.5 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9146/0.9146, allocations: 169.2 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 98 kB / 0.5959 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1499, allocations: 86.97 MB / 0.6808 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002743/0.1527, allocations: 1.519 MB / 0.6823 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004339/0.1532, allocations: 172.3 kB / 0.6825 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.1532, allocations: 4 kB / 0.6825 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.1533, allocations: 11.92 kB / 0.6825 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/0.1534, allocations: 3.938 kB / 0.6825 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1537, allocations: 55.81 kB / 0.6826 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.744e-05/0.1538, allocations: 31.92 kB / 0.6826 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.1539, allocations: 12 kB / 0.6826 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.1539, allocations: 15.92 kB / 0.6826 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.154, allocations: 23.91 kB / 0.6826 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.154, allocations: 4 kB / 0.6826 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1541, allocations: 47.97 kB / 0.6827 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1541, allocations: 11.98 kB / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.1542, allocations: 15.88 kB / 0.6827 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1543, allocations: 60.12 kB / 0.6828 GB, free: 6.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1543, allocations: 0 / 0.6828 GB, free: 6.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1543, allocations: 0 / 0.6828 GB, free: 6.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1543, allocations: 0 / 0.6828 GB, free: 6.242 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.0004559/0.1548, allocations: 363.4 kB / 0.6831 GB, free: 5.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1548, allocations: 12.03 kB / 0.6831 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.1549, allocations: 4.938 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.155, allocations: 168.3 kB / 0.6833 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.155, allocations: 4.375 kB / 0.6833 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.155, allocations: 4.312 kB / 0.6833 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1552, allocations: 70.16 kB / 0.6834 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1553, allocations: 192 / 0.6834 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1553, allocations: 3.938 kB / 0.6834 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1553, allocations: 0 / 0.6834 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.1555, allocations: 47.95 kB / 0.6834 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1559, allocations: 276.8 kB / 0.6837 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.1562, allocations: 62.47 kB / 0.6837 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1563, allocations: 32.89 kB / 0.6838 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.1565, allocations: 162.2 kB / 0.6839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1566, allocations: 34.56 kB / 0.684 GB, free: 4.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.1566, allocations: 3.984 kB / 0.684 GB, free: 4.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003821/0.157, allocations: 97.53 kB / 0.6841 GB, free: 4.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.157, allocations: 59.34 kB / 0.6841 GB, free: 4.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.1571, allocations: 109.8 kB / 0.6842 GB, free: 4.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1571, allocations: 25.7 kB / 0.6842 GB, free: 4.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.1572, allocations: 84.14 kB / 0.6843 GB, free: 4.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1572, allocations: 7.969 kB / 0.6843 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.1572, allocations: 17.72 kB / 0.6843 GB, free: 4.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1573, allocations: 322.8 kB / 0.6847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.1574, allocations: 19.98 kB / 0.6847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.1575, allocations: 23.97 kB / 0.6847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1577, allocations: 44.83 kB / 0.6847 GB, free: 3.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1577, allocations: 0 / 0.6847 GB, free: 3.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002235/0.1579, allocations: 81.52 kB / 0.6848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.158, allocations: 4 kB / 0.6848 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.158, allocations: 4.312 kB / 0.6848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.158, allocations: 0 / 0.6848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.1581, allocations: 11.98 kB / 0.6848 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1581, allocations: 0 / 0.6848 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.1582, allocations: 15.91 kB / 0.6849 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1582, allocations: 3.984 kB / 0.6849 GB, free: 3.84 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 7.282e-05/0.1582, allocations: 117.8 kB / 0.685 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1583, allocations: 0 / 0.685 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1585, allocations: 93.48 kB / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1586, allocations: 0 / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1586, allocations: 0 / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1586, allocations: 0 / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1587, allocations: 173.5 kB / 0.6852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1587, allocations: 0 / 0.6852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.1588, allocations: 15.98 kB / 0.6852 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1588, allocations: 0 / 0.6852 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1589, allocations: 8 kB / 0.6852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1589, allocations: 0 / 0.6852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1589, allocations: 0 / 0.6852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.1591, allocations: 175.3 kB / 0.6854 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.1592, allocations: 77.11 kB / 0.6855 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1592, allocations: 0 / 0.6855 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.1593, allocations: 12.41 kB / 0.6855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1593, allocations: 8 kB / 0.6855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1594, allocations: 3.984 kB / 0.6855 GB, free: 3.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.723e-05/0.1594, allocations: 87.28 kB / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1597, allocations: 16 kB / 0.6856 GB, free: 2.965 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.0001573/0.1598, allocations: 118.2 kB / 0.6857 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1601, allocations: 55.94 kB / 0.6858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1601, allocations: 0 / 0.6858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.664e-05/0.1602, allocations: 23.97 kB / 0.6858 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1604, allocations: 10.28 kB / 0.6858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.1608, allocations: 151.2 kB / 0.686 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.161, allocations: 0.6846 MB / 0.6866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.1611, allocations: 11.42 kB / 0.6866 GB, free: 1.855 MB / 494.1 MB Notification: Performance of SimCode: time 1.754e-06/0.1611, allocations: 4 kB / 0.6866 GB, free: 1.852 MB / 494.1 MB Notification: Performance of Templates: time 0.002284/0.1633, allocations: 0.965 MB / 0.6876 GB, free: 0.8867 MB / 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)