Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004722/0.004722, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001245/0.001245, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 278.6 kB / 290.8 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 95.84 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1531, allocations: 86.97 MB / 0.7664 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001728/0.1549, allocations: 0.5722 MB / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.1553, allocations: 107.6 kB / 0.7671 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1554, allocations: 0 / 0.7671 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.1554, allocations: 3.938 kB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.1554, allocations: 0 / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1558, allocations: 43.89 kB / 0.7671 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.156, allocations: 63.92 kB / 0.7672 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.156, allocations: 4 kB / 0.7672 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.156, allocations: 23.92 kB / 0.7672 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.1561, allocations: 27.95 kB / 0.7672 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1561, allocations: 0 / 0.7672 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1563, allocations: 47.95 kB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1563, allocations: 19.97 kB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.1564, allocations: 23.92 kB / 0.7673 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1565, allocations: 71.7 kB / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1565, allocations: 0 / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1565, allocations: 0 / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1566, allocations: 3.938 kB / 0.7674 GB, free: 7.352 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004935/0.1571, allocations: 379.4 kB / 0.7678 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1571, allocations: 12.03 kB / 0.7678 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.1571, allocations: 4.938 kB / 0.7678 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1573, allocations: 164.3 kB / 0.7679 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.1575, allocations: 281.6 kB / 0.7682 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1576, allocations: 8.312 kB / 0.7682 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.1578, allocations: 78.19 kB / 0.7683 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1578, allocations: 11.94 kB / 0.7683 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1578, allocations: 4 kB / 0.7683 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1578, allocations: 0 / 0.7683 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.1582, allocations: 131.8 kB / 0.7684 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1584, allocations: 181.5 kB / 0.7686 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.1587, allocations: 102.5 kB / 0.7687 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1589, allocations: 40.83 kB / 0.7687 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1589, allocations: 0 / 0.7687 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1589, allocations: 42.56 kB / 0.7688 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.1589, allocations: 0 / 0.7688 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005257/0.1595, allocations: 149.8 kB / 0.7689 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.1595, allocations: 59.34 kB / 0.769 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.289e-05/0.1595, allocations: 89.86 kB / 0.7691 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1596, allocations: 29.7 kB / 0.7691 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.1596, allocations: 80.14 kB / 0.7692 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.1596, allocations: 35.69 kB / 0.7692 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1597, allocations: 33.64 kB / 0.7692 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1598, allocations: 318.8 kB / 0.7695 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.16, allocations: 27.97 kB / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1601, allocations: 35.97 kB / 0.7696 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.1604, allocations: 72.81 kB / 0.7697 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1604, allocations: 0 / 0.7697 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003305/0.1607, allocations: 113.5 kB / 0.7698 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1607, allocations: 15.94 kB / 0.7698 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1607, allocations: 0 / 0.7698 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1608, allocations: 0 / 0.7698 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1609, allocations: 31.91 kB / 0.7698 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1609, allocations: 7.984 kB / 0.7698 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.161, allocations: 3.938 kB / 0.7698 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.161, allocations: 7.984 kB / 0.7698 GB, free: 4.562 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001003/0.1611, allocations: 114.5 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.1611, allocations: 15.83 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1612, allocations: 15.97 kB / 0.77 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1612, allocations: 0 / 0.77 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1612, allocations: 0 / 0.77 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1612, allocations: 7.984 kB / 0.77 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.1614, allocations: 173.6 kB / 0.7702 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1614, allocations: 0 / 0.7702 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.1615, allocations: 27.92 kB / 0.7702 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1615, allocations: 3.938 kB / 0.7702 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1615, allocations: 3.984 kB / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1615, allocations: 0 / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1615, allocations: 0 / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.1619, allocations: 145.8 kB / 0.7703 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.162, allocations: 88.98 kB / 0.7704 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.162, allocations: 3.938 kB / 0.7704 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.1621, allocations: 12 kB / 0.7704 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.1621, allocations: 7.984 kB / 0.7704 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.1621, allocations: 7.984 kB / 0.7704 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.1622, allocations: 79.28 kB / 0.7705 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1622, allocations: 0 / 0.7705 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002175/0.1624, allocations: 24 kB / 0.7705 GB, free: 3.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002032/0.1626, allocations: 119.2 kB / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003336/0.163, allocations: 83.88 kB / 0.7707 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.163, allocations: 0 / 0.7707 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1631, allocations: 52.23 kB / 0.7708 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1633, allocations: 6.562 kB / 0.7708 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.1636, allocations: 170.9 kB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1639, allocations: 0.6845 MB / 0.7716 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.1641, allocations: 39.94 kB / 0.7717 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.1641, allocations: 19.42 kB / 0.7717 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1641, allocations: 0 / 0.7717 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of Templates: time 0.003096/0.1672, allocations: 1.029 MB / 0.7727 GB, free: 1.5 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)