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.00116/0.00116, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001246/0.001246, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.197/1.197, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 286.2 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8666/0.8666, allocations: 169.2 MB / 0.4985 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 91.27 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1511, allocations: 86.98 MB / 0.6803 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002633/0.1538, allocations: 1.584 MB / 0.6818 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004033/0.1542, allocations: 181.1 kB / 0.682 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.1543, allocations: 3.938 kB / 0.682 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.1543, allocations: 3.938 kB / 0.682 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.1544, allocations: 0 / 0.682 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1546, allocations: 47.89 kB / 0.682 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.1547, allocations: 31.98 kB / 0.6821 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.1548, allocations: 11.98 kB / 0.6821 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.1548, allocations: 11.94 kB / 0.6821 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.1549, allocations: 31.89 kB / 0.6821 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1549, allocations: 4 kB / 0.6821 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.155, allocations: 43.91 kB / 0.6822 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.155, allocations: 8 kB / 0.6822 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1551, allocations: 23.86 kB / 0.6822 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.586e-05/0.1552, allocations: 40.2 kB / 0.6822 GB, free: 6.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1552, allocations: 0 / 0.6822 GB, free: 6.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1552, allocations: 0 / 0.6822 GB, free: 6.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1552, allocations: 0 / 0.6822 GB, free: 6.512 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.000434/0.1556, allocations: 359.4 kB / 0.6826 GB, free: 6.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.1557, allocations: 8.031 kB / 0.6826 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.1557, allocations: 4.938 kB / 0.6826 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1558, allocations: 168.3 kB / 0.6828 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1558, allocations: 4.375 kB / 0.6828 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.1558, allocations: 384 / 0.6828 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.156, allocations: 62.23 kB / 0.6828 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.156, allocations: 192 / 0.6828 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1561, allocations: 11.86 kB / 0.6828 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1561, allocations: 4 kB / 0.6828 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.1562, allocations: 51.88 kB / 0.6829 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.1566, allocations: 280.8 kB / 0.6832 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.1569, allocations: 62.53 kB / 0.6832 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.157, allocations: 28.84 kB / 0.6832 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.1572, allocations: 162.2 kB / 0.6834 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1573, allocations: 38.56 kB / 0.6834 GB, free: 5.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1573, allocations: 0 / 0.6834 GB, free: 5.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003422/0.1576, allocations: 97.53 kB / 0.6835 GB, free: 4.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.1577, allocations: 51.41 kB / 0.6836 GB, free: 4.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.1577, allocations: 109.8 kB / 0.6837 GB, free: 4.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1578, allocations: 29.7 kB / 0.6837 GB, free: 4.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.1578, allocations: 80.14 kB / 0.6838 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.1578, allocations: 7.906 kB / 0.6838 GB, free: 4.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1579, allocations: 17.7 kB / 0.6838 GB, free: 4.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.158, allocations: 322.8 kB / 0.6841 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.1581, allocations: 27.91 kB / 0.6841 GB, free: 4.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.1581, allocations: 19.92 kB / 0.6842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1583, allocations: 44.81 kB / 0.6842 GB, free: 4.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1583, allocations: 4 kB / 0.6842 GB, free: 4.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001956/0.1585, allocations: 73.66 kB / 0.6843 GB, free: 4.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1585, allocations: 14.19 kB / 0.6843 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1585, allocations: 0 / 0.6843 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.1586, allocations: 0 / 0.6843 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.1586, allocations: 11.98 kB / 0.6843 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1586, allocations: 3.938 kB / 0.6843 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.1587, allocations: 11.89 kB / 0.6843 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1587, allocations: 0 / 0.6843 GB, free: 4.121 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.99e-05/0.1588, allocations: 117.8 kB / 0.6844 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1588, allocations: 4 kB / 0.6844 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.1591, allocations: 81.55 kB / 0.6845 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1591, allocations: 0 / 0.6845 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1591, allocations: 0 / 0.6845 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1591, allocations: 4.312 kB / 0.6845 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.1593, allocations: 177.5 kB / 0.6847 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1593, allocations: 0 / 0.6847 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.118e-05/0.1594, allocations: 11.98 kB / 0.6847 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1594, allocations: 4 kB / 0.6847 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1594, allocations: 0 / 0.6847 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1594, allocations: 7.938 kB / 0.6847 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1594, allocations: 3.984 kB / 0.6847 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1596, allocations: 171.4 kB / 0.6849 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.1597, allocations: 81.09 kB / 0.685 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1597, allocations: 4 kB / 0.685 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.1598, allocations: 8 kB / 0.685 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1598, allocations: 7.984 kB / 0.685 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1598, allocations: 0 / 0.685 GB, free: 3.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.1599, allocations: 91.27 kB / 0.6851 GB, free: 3.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1599, allocations: 0 / 0.6851 GB, free: 3.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1601, allocations: 16 kB / 0.6851 GB, free: 3.242 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.0001584/0.1603, allocations: 119.3 kB / 0.6852 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1605, allocations: 51.89 kB / 0.6852 GB, free: 3.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1605, allocations: 4 kB / 0.6852 GB, free: 3.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.1606, allocations: 15.98 kB / 0.6853 GB, free: 3.047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1609, allocations: 15.92 kB / 0.6853 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.1612, allocations: 155.3 kB / 0.6854 GB, free: 2.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1614, allocations: 0.6845 MB / 0.6861 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.1615, allocations: 11.44 kB / 0.6861 GB, free: 2.125 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1615, allocations: 0 / 0.6861 GB, free: 2.125 MB / 494.1 MB Notification: Performance of Templates: time 0.00221/0.1637, allocations: 0.985 MB / 0.6871 GB, free: 1.145 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)