Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8416/0.8416, allocations: 143.8 MB / 159.1 MB, free: 6.504 MB / 122.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.001048/0.001048, allocations: 183.4 kB / 192 MB, free: 6.707 MB / 154.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.372/1.372, allocations: 225.7 MB / 450.4 MB, free: 4.992 MB / 330.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.000785/0.0007848, allocations: 99.52 kB / 0.5211 GB, free: 1.648 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001562/0.001562, allocations: 280.7 kB / 0.6025 GB, free: 49.27 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 17.72 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1301, allocations: 82.45 MB / 0.7753 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.0006624/0.1308, allocations: 314.5 kB / 0.7756 GB, free: 14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000489/0.1313, allocations: 341.6 kB / 0.7759 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.1314, allocations: 0 / 0.7759 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.1314, allocations: 0 / 0.7759 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.1314, allocations: 0 / 0.7759 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1317, allocations: 31.95 kB / 0.776 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1319, allocations: 59.94 kB / 0.776 GB, free: 13.53 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.1319, allocations: 3.938 kB / 0.776 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.132, allocations: 27.97 kB / 0.7761 GB, free: 13.5 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.132, allocations: 19.97 kB / 0.7761 GB, free: 13.48 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.132, allocations: 4 kB / 0.7761 GB, free: 13.47 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1322, allocations: 51.88 kB / 0.7761 GB, free: 13.42 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.1322, allocations: 23.92 kB / 0.7762 GB, free: 13.4 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.1323, allocations: 49.61 kB / 0.7762 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1324, allocations: 67.83 kB / 0.7763 GB, free: 13.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1324, allocations: 0 / 0.7763 GB, free: 13.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1324, allocations: 4 kB / 0.7763 GB, free: 13.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.1324, allocations: 0 / 0.7763 GB, free: 13.27 MB / 458.7 MB 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.0004876/0.1329, allocations: 355.8 kB / 0.7766 GB, free: 12.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.133, allocations: 12.03 kB / 0.7766 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.133, allocations: 8.844 kB / 0.7766 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1332, allocations: 160.4 kB / 0.7768 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.1334, allocations: 281.6 kB / 0.7771 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1334, allocations: 4.375 kB / 0.7771 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1337, allocations: 90.08 kB / 0.7771 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1337, allocations: 3.938 kB / 0.7771 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1337, allocations: 0 / 0.7771 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1338, allocations: 4 kB / 0.7771 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.1341, allocations: 135.8 kB / 0.7773 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.1343, allocations: 169.7 kB / 0.7774 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1346, allocations: 90.53 kB / 0.7775 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1347, allocations: 40.83 kB / 0.7776 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1348, allocations: 11.98 kB / 0.7776 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1348, allocations: 38.5 kB / 0.7776 GB, free: 11.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1348, allocations: 0 / 0.7776 GB, free: 11.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005474/0.1354, allocations: 153.7 kB / 0.7778 GB, free: 11.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1354, allocations: 55.41 kB / 0.7778 GB, free: 11.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.094e-05/0.1355, allocations: 89.86 kB / 0.7779 GB, free: 11.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1355, allocations: 29.7 kB / 0.7779 GB, free: 11.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.1355, allocations: 84.14 kB / 0.778 GB, free: 11.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.1356, allocations: 35.48 kB / 0.778 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-06/0.1356, allocations: 0 / 0.778 GB, free: 11.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1357, allocations: 322.8 kB / 0.7783 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1359, allocations: 23.98 kB / 0.7784 GB, free: 10.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.136, allocations: 35.97 kB / 0.7784 GB, free: 10.81 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1363, allocations: 76.69 kB / 0.7785 GB, free: 10.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1363, allocations: 0 / 0.7785 GB, free: 10.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000303/0.1366, allocations: 113.5 kB / 0.7786 GB, free: 10.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1366, allocations: 11.94 kB / 0.7786 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1366, allocations: 0 / 0.7786 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1366, allocations: 3.938 kB / 0.7786 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1368, allocations: 27.97 kB / 0.7786 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1368, allocations: 3.938 kB / 0.7786 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.1369, allocations: 8 kB / 0.7786 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1369, allocations: 7.984 kB / 0.7786 GB, free: 10.55 MB / 458.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: 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 8.271e-05/0.137, allocations: 113.8 kB / 0.7788 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.137, allocations: 15.78 kB / 0.7788 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.1371, allocations: 11.97 kB / 0.7788 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1371, allocations: 4 kB / 0.7788 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1371, allocations: 3.984 kB / 0.7788 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1371, allocations: 3.984 kB / 0.7788 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1373, allocations: 173.7 kB / 0.779 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1373, allocations: 0 / 0.779 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1374, allocations: 23.98 kB / 0.779 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1374, allocations: 3.938 kB / 0.779 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1374, allocations: 7.984 kB / 0.779 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1374, allocations: 7.984 kB / 0.779 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1374, allocations: 3.938 kB / 0.779 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.1378, allocations: 141 kB / 0.7791 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.1378, allocations: 81.05 kB / 0.7792 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1378, allocations: 11.88 kB / 0.7792 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.1379, allocations: 4 kB / 0.7792 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.138, allocations: 11.98 kB / 0.7792 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.138, allocations: 7.984 kB / 0.7793 GB, free: 9.836 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.189e-05/0.138, allocations: 79.28 kB / 0.7793 GB, free: 9.758 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.138, allocations: 0 / 0.7793 GB, free: 9.758 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.1382, allocations: 24 kB / 0.7794 GB, free: 9.734 MB / 458.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: 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.0001833/0.1384, allocations: 127.2 kB / 0.7795 GB, free: 9.602 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.1388, allocations: 84.81 kB / 0.7796 GB, free: 9.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1388, allocations: 0 / 0.7796 GB, free: 9.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.1389, allocations: 48.06 kB / 0.7796 GB, free: 9.473 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1391, allocations: 8.219 kB / 0.7796 GB, free: 9.465 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.1394, allocations: 170.9 kB / 0.7798 GB, free: 9.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1397, allocations: 0.6809 MB / 0.7804 GB, free: 8.562 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.1398, allocations: 39.94 kB / 0.7805 GB, free: 8.523 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1399, allocations: 23.42 kB / 0.7805 GB, free: 8.5 MB / 458.7 MB Notification: Performance of SimCode: time 3e-07/0.1399, allocations: 0 / 0.7805 GB, free: 8.5 MB / 458.7 MB Notification: Performance of Templates: time 0.002871/0.1427, allocations: 0.9697 MB / 0.7814 GB, free: 7.535 MB / 458.7 MB 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)