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.001013/0.001013, allocations: 115 kB / 16.37 MB, free: 5.539 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.00105/0.00105, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 279.8 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8931/0.8931, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 89.64 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002522/0.1518, allocations: 1.522 MB / 0.6831 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004124/0.1522, allocations: 180.3 kB / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.1523, allocations: 0 / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.1523, allocations: 0 / 0.6833 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.1524, allocations: 11.88 kB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1527, allocations: 51.88 kB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.1528, allocations: 31.92 kB / 0.6834 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1529, allocations: 23.92 kB / 0.6834 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.1529, allocations: 12 kB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.1529, allocations: 19.91 kB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.153, allocations: 4 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1531, allocations: 43.95 kB / 0.6835 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1531, allocations: 19.88 kB / 0.6835 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.1531, allocations: 19.91 kB / 0.6835 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.1533, allocations: 63.84 kB / 0.6836 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1533, allocations: 0 / 0.6836 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1533, allocations: 0 / 0.6836 GB, free: 5.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1533, allocations: 7.938 kB / 0.6836 GB, free: 5.449 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.0004259/0.1537, allocations: 347.4 kB / 0.6839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1538, allocations: 12.03 kB / 0.6839 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1538, allocations: 0.9375 kB / 0.6839 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1539, allocations: 180.3 kB / 0.6841 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.154, allocations: 4.375 kB / 0.6841 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.154, allocations: 4.375 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1542, allocations: 62.22 kB / 0.6841 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1542, allocations: 4.125 kB / 0.6841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1542, allocations: 3.938 kB / 0.6842 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1542, allocations: 4 kB / 0.6842 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.1544, allocations: 47.95 kB / 0.6842 GB, free: 4.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.1547, allocations: 276.8 kB / 0.6845 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.155, allocations: 62.47 kB / 0.6845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.1551, allocations: 24.91 kB / 0.6845 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.1554, allocations: 170.2 kB / 0.6847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1554, allocations: 34.55 kB / 0.6847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1554, allocations: 0 / 0.6847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000371/0.1558, allocations: 93.55 kB / 0.6848 GB, free: 3.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1558, allocations: 51.41 kB / 0.6849 GB, free: 3.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.1559, allocations: 113.8 kB / 0.685 GB, free: 3.754 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1559, allocations: 29.7 kB / 0.685 GB, free: 3.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.156, allocations: 88.12 kB / 0.6851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.156, allocations: 7.906 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.1561, allocations: 17.72 kB / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.1562, allocations: 318.7 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.1563, allocations: 23.97 kB / 0.6855 GB, free: 3.254 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.1563, allocations: 15.98 kB / 0.6855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1565, allocations: 48.81 kB / 0.6855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1565, allocations: 3.938 kB / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001898/0.1567, allocations: 73.66 kB / 0.6856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1567, allocations: 4 kB / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1567, allocations: 0 / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1567, allocations: 0 / 0.6856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.1568, allocations: 19.92 kB / 0.6856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1568, allocations: 0 / 0.6856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.1569, allocations: 11.89 kB / 0.6856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1569, allocations: 8 kB / 0.6856 GB, free: 3.062 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.445e-05/0.157, allocations: 113.8 kB / 0.6857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.157, allocations: 4 kB / 0.6857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.1573, allocations: 90.17 kB / 0.6858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1573, allocations: 3.984 kB / 0.6858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1573, allocations: 4 kB / 0.6858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1573, allocations: 0 / 0.6858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.1575, allocations: 169.5 kB / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1575, allocations: 0 / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.1576, allocations: 15.92 kB / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1576, allocations: 0 / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1576, allocations: 0 / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1576, allocations: 0 / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1576, allocations: 3.984 kB / 0.686 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1578, allocations: 183.3 kB / 0.6862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.1579, allocations: 77.11 kB / 0.6863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1579, allocations: 4 kB / 0.6863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.158, allocations: 4 kB / 0.6863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.1581, allocations: 7.984 kB / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1581, allocations: 8 kB / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.1581, allocations: 87.27 kB / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1581, allocations: 0 / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1584, allocations: 19.94 kB / 0.6864 GB, free: 2.18 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.0001732/0.1586, allocations: 119.2 kB / 0.6865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.1588, allocations: 43.95 kB / 0.6865 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1588, allocations: 4 kB / 0.6866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.1589, allocations: 27.97 kB / 0.6866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1592, allocations: 6.125 kB / 0.6866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.1595, allocations: 117.6 kB / 0.6867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.1597, allocations: 0.6807 MB / 0.6874 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.1598, allocations: 8 kB / 0.6874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1598, allocations: 23.3 kB / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1598, allocations: 0 / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of Templates: time 0.003032/0.1628, allocations: 0.9735 MB / 0.6883 GB, free: 132 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)