Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7265/0.7265, allocations: 131 MB / 146.3 MB, free: 1.277 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009175/0.0009176, allocations: 183.8 kB / 176.4 MB, free: 4.867 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.7 MB / 431.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007791/0.0007792, allocations: 85.42 kB / 0.5003 GB, free: 9.941 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 12 kB / 0.5885 GB, free: 72.7 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 79.6 MB / 0.6663 GB, free: 8.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002095/0.1526, allocations: 1.246 MB / 0.6675 GB, free: 7.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.1534, allocations: 407.7 kB / 0.6679 GB, free: 7.227 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.886e-05/0.1534, allocations: 4 kB / 0.6679 GB, free: 7.223 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.1535, allocations: 3.938 kB / 0.6679 GB, free: 7.219 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/0.1535, allocations: 0 / 0.6679 GB, free: 7.219 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.1539, allocations: 39.89 kB / 0.6679 GB, free: 7.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.154, allocations: 31.92 kB / 0.6679 GB, free: 7.148 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1541, allocations: 11.98 kB / 0.668 GB, free: 7.137 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.1542, allocations: 15.92 kB / 0.668 GB, free: 7.121 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.1542, allocations: 15.92 kB / 0.668 GB, free: 7.105 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1543, allocations: 8 kB / 0.668 GB, free: 7.098 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1544, allocations: 39.97 kB / 0.668 GB, free: 7.059 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.1544, allocations: 11.91 kB / 0.668 GB, free: 7.047 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.1545, allocations: 41.58 kB / 0.6681 GB, free: 7 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1547, allocations: 55.84 kB / 0.6681 GB, free: 6.945 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.922e-06/0.1547, allocations: 4 kB / 0.6681 GB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1547, allocations: 0 / 0.6681 GB, free: 6.941 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1547, allocations: 0 / 0.6681 GB, free: 6.941 MB / 442.7 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.0005557/0.1553, allocations: 359.6 kB / 0.6685 GB, free: 6.539 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1553, allocations: 8.031 kB / 0.6685 GB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1554, allocations: 4.938 kB / 0.6685 GB, free: 6.527 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1555, allocations: 168.4 kB / 0.6687 GB, free: 6.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.1556, allocations: 384 / 0.6687 GB, free: 6.324 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1556, allocations: 384 / 0.6687 GB, free: 6.324 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.1558, allocations: 70.22 kB / 0.6687 GB, free: 6.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1558, allocations: 4.188 kB / 0.6687 GB, free: 6.246 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1559, allocations: 3.938 kB / 0.6687 GB, free: 6.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1559, allocations: 3.938 kB / 0.6687 GB, free: 6.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1561, allocations: 55.95 kB / 0.6688 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.1565, allocations: 288.7 kB / 0.6691 GB, free: 5.852 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.1568, allocations: 66.55 kB / 0.6691 GB, free: 5.777 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1569, allocations: 36.83 kB / 0.6692 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.1572, allocations: 166.2 kB / 0.6693 GB, free: 5.539 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1572, allocations: 30.56 kB / 0.6693 GB, free: 5.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.1572, allocations: 0 / 0.6693 GB, free: 5.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004014/0.1576, allocations: 117.5 kB / 0.6695 GB, free: 5.379 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1576, allocations: 51.41 kB / 0.6695 GB, free: 5.316 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.1577, allocations: 105.8 kB / 0.6696 GB, free: 5.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1577, allocations: 29.7 kB / 0.6696 GB, free: 5.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.1578, allocations: 84.14 kB / 0.6697 GB, free: 5.082 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1578, allocations: 11.84 kB / 0.6697 GB, free: 5.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1578, allocations: 4 kB / 0.6697 GB, free: 5.066 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.1579, allocations: 322.8 kB / 0.67 GB, free: 4.742 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.158, allocations: 19.98 kB / 0.6701 GB, free: 4.723 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.1581, allocations: 24.17 kB / 0.6701 GB, free: 4.699 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1583, allocations: 60.89 kB / 0.6701 GB, free: 4.637 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1583, allocations: 0 / 0.6701 GB, free: 4.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002226/0.1585, allocations: 89.66 kB / 0.6702 GB, free: 4.543 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1586, allocations: 11.92 kB / 0.6702 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1586, allocations: 0 / 0.6702 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1586, allocations: 0 / 0.6702 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.1587, allocations: 19.94 kB / 0.6703 GB, free: 4.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1587, allocations: 3.984 kB / 0.6703 GB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.1588, allocations: 11.91 kB / 0.6703 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1588, allocations: 4 kB / 0.6703 GB, free: 4.492 MB / 442.7 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 (rea2Int.y,bin.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.422e-05/0.1589, allocations: 118.8 kB / 0.6704 GB, free: 4.367 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.1589, allocations: 7.984 kB / 0.6704 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.1592, allocations: 93.55 kB / 0.6705 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1592, allocations: 0 / 0.6705 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1592, allocations: 0 / 0.6705 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1592, allocations: 0 / 0.6705 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.1594, allocations: 169.6 kB / 0.6706 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1594, allocations: 0 / 0.6706 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.1594, allocations: 15.98 kB / 0.6707 GB, free: 4.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1595, allocations: 3.938 kB / 0.6707 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1595, allocations: 0 / 0.6707 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1595, allocations: 4 kB / 0.6707 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1595, allocations: 0 / 0.6707 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.1598, allocations: 187.4 kB / 0.6708 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.1598, allocations: 85.02 kB / 0.6709 GB, free: 3.723 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1598, allocations: 0 / 0.6709 GB, free: 3.723 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.1599, allocations: 11.98 kB / 0.6709 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.16, allocations: 0 / 0.6709 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.16, allocations: 4 kB / 0.6709 GB, free: 3.707 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.16, allocations: 87.58 kB / 0.671 GB, free: 3.621 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.16, allocations: 0 / 0.671 GB, free: 3.621 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.1603, allocations: 24 kB / 0.671 GB, free: 3.598 MB / 442.7 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.0001839/0.1604, allocations: 127.8 kB / 0.6712 GB, free: 3.465 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1607, allocations: 59.89 kB / 0.6712 GB, free: 3.406 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1607, allocations: 0 / 0.6712 GB, free: 3.406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.1608, allocations: 31.97 kB / 0.6713 GB, free: 3.375 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1611, allocations: 12.2 kB / 0.6713 GB, free: 3.363 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.1614, allocations: 124.7 kB / 0.6714 GB, free: 3.211 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.1617, allocations: 0.6848 MB / 0.6721 GB, free: 2.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.1617, allocations: 12.22 kB / 0.6721 GB, free: 2.488 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.1617, allocations: 15.42 kB / 0.6721 GB, free: 2.473 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1617, allocations: 0 / 0.6721 GB, free: 2.473 MB / 442.7 MB Notification: Performance of Templates: time 0.002905/0.1646, allocations: 0.8943 MB / 0.673 GB, free: 1.582 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)