Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7978/0.7978, allocations: 131 MB / 146.3 MB, free: 1.328 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.0009409/0.0009409, allocations: 196.2 kB / 176.4 MB, free: 4.891 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.479/1.479, allocations: 225.7 MB / 431.9 MB, free: 8.727 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.0008926/0.0008926, allocations: 108.5 kB / 0.5003 GB, free: 9.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.000323, allocations: 12 kB / 0.5885 GB, free: 72.69 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 79.6 MB / 0.6663 GB, free: 8.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007338/0.1445, allocations: 310.1 kB / 0.6666 GB, free: 8.621 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003098/0.1448, allocations: 129 kB / 0.6667 GB, free: 8.477 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.1449, allocations: 0 / 0.6667 GB, free: 8.477 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.1449, allocations: 0 / 0.6667 GB, free: 8.477 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.1449, allocations: 0 / 0.6667 GB, free: 8.477 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.1452, allocations: 19.97 kB / 0.6667 GB, free: 8.457 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.079e-05/0.1452, allocations: 27.92 kB / 0.6667 GB, free: 8.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.1453, allocations: 8 kB / 0.6667 GB, free: 8.422 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.1453, allocations: 15.97 kB / 0.6668 GB, free: 8.406 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.579e-05/0.1454, allocations: 4 kB / 0.6668 GB, free: 8.402 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1454, allocations: 4 kB / 0.6668 GB, free: 8.398 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.1454, allocations: 15.98 kB / 0.6668 GB, free: 8.383 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.1455, allocations: 15.92 kB / 0.6668 GB, free: 8.367 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.1455, allocations: 37.62 kB / 0.6668 GB, free: 8.324 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.598e-05/0.1456, allocations: 31.89 kB / 0.6669 GB, free: 8.293 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1456, allocations: 0 / 0.6669 GB, free: 8.293 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1456, allocations: 0 / 0.6669 GB, free: 8.293 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1456, allocations: 4 kB / 0.6669 GB, free: 8.289 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003086/0.146, allocations: 327.6 kB / 0.6672 GB, free: 7.918 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.146, allocations: 12.03 kB / 0.6672 GB, free: 7.906 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.146, allocations: 4.844 kB / 0.6672 GB, free: 7.902 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1461, allocations: 168.6 kB / 0.6674 GB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1462, allocations: 8.375 kB / 0.6674 GB, free: 7.691 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1462, allocations: 4.375 kB / 0.6674 GB, free: 7.688 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1464, allocations: 66.16 kB / 0.6674 GB, free: 7.617 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1464, allocations: 4.125 kB / 0.6674 GB, free: 7.613 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1464, allocations: 7.938 kB / 0.6674 GB, free: 7.605 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1464, allocations: 4 kB / 0.6674 GB, free: 7.602 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1465, allocations: 99.86 kB / 0.6675 GB, free: 7.504 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.1467, allocations: 165.7 kB / 0.6677 GB, free: 7.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1469, allocations: 74.53 kB / 0.6678 GB, free: 7.211 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.1469, allocations: 32.84 kB / 0.6678 GB, free: 7.176 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/0.1472, allocations: 401.5 kB / 0.6682 GB, free: 6.691 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1473, allocations: 46.5 kB / 0.6682 GB, free: 6.637 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1473, allocations: 3.938 kB / 0.6682 GB, free: 6.633 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002292/0.1475, allocations: 113.9 kB / 0.6683 GB, free: 6.516 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.1475, allocations: 55.39 kB / 0.6684 GB, free: 6.449 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.299e-05/0.1476, allocations: 97.77 kB / 0.6685 GB, free: 6.344 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1476, allocations: 29.7 kB / 0.6685 GB, free: 6.309 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.1477, allocations: 80.14 kB / 0.6686 GB, free: 6.227 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1477, allocations: 23.66 kB / 0.6686 GB, free: 6.203 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1477, allocations: 0 / 0.6686 GB, free: 6.203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1478, allocations: 322.8 kB / 0.6689 GB, free: 5.879 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.1478, allocations: 19.98 kB / 0.6689 GB, free: 5.859 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.1479, allocations: 20.42 kB / 0.669 GB, free: 5.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.148, allocations: 60.94 kB / 0.669 GB, free: 5.777 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.148, allocations: 3.938 kB / 0.669 GB, free: 5.773 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001192/0.1481, allocations: 93.66 kB / 0.6691 GB, free: 5.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1481, allocations: 4 kB / 0.6691 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1481, allocations: 3.938 kB / 0.6691 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1482, allocations: 0 / 0.6691 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.1483, allocations: 20 kB / 0.6691 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1483, allocations: 7.922 kB / 0.6691 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1483, allocations: 4 kB / 0.6692 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1483, allocations: 4 kB / 0.6692 GB, free: 5.633 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.0001208/0.1484, allocations: 117.8 kB / 0.6693 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1485, allocations: 11.89 kB / 0.6693 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1487, allocations: 129.4 kB / 0.6694 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1487, allocations: 0 / 0.6694 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1487, allocations: 0 / 0.6694 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1487, allocations: 0 / 0.6694 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.1488, allocations: 181.5 kB / 0.6696 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1488, allocations: 3.938 kB / 0.6696 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.1489, allocations: 16 kB / 0.6696 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1489, allocations: 3.938 kB / 0.6696 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1489, allocations: 3.984 kB / 0.6696 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1489, allocations: 0 / 0.6696 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1489, allocations: 4 kB / 0.6696 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.1491, allocations: 121 kB / 0.6697 GB, free: 4.973 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.1491, allocations: 88.94 kB / 0.6698 GB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.1491, allocations: 0 / 0.6698 GB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.1492, allocations: 4 kB / 0.6698 GB, free: 4.863 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1492, allocations: 15.92 kB / 0.6698 GB, free: 4.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1492, allocations: 4 kB / 0.6698 GB, free: 4.844 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.684e-05/0.1492, allocations: 75.28 kB / 0.6699 GB, free: 4.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1493, allocations: 4 kB / 0.6699 GB, free: 4.766 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.1494, allocations: 15.94 kB / 0.6699 GB, free: 4.75 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.000164/0.1496, allocations: 125.3 kB / 0.67 GB, free: 4.621 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1497, allocations: 51.97 kB / 0.6701 GB, free: 4.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1497, allocations: 3.938 kB / 0.6701 GB, free: 4.566 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.1498, allocations: 39.92 kB / 0.6701 GB, free: 4.527 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.1499, allocations: 7.938 kB / 0.6701 GB, free: 4.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.1502, allocations: 155.5 kB / 0.6703 GB, free: 4.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1504, allocations: 0.6809 MB / 0.671 GB, free: 3.633 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.403e-05/0.1505, allocations: 39.92 kB / 0.671 GB, free: 3.594 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.1505, allocations: 11.44 kB / 0.671 GB, free: 3.582 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1506, allocations: 11.94 kB / 0.671 GB, free: 3.57 MB / 442.7 MB Notification: Performance of Templates: time 0.002234/0.1528, allocations: 0.6109 MB / 0.6716 GB, free: 2.961 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)