Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 113.9 kB / 16.41 MB, free: 6.496 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.001557/0.001557, allocations: 183 kB / 17.34 MB, free: 5.762 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9208/0.9208, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 60.09 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1545, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00311/0.1577, allocations: 1.537 MB / 0.6778 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004578/0.1581, allocations: 132.5 kB / 0.6779 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.1582, allocations: 4 kB / 0.6779 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.1582, allocations: 7.922 kB / 0.678 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.1583, allocations: 3.938 kB / 0.678 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.1586, allocations: 31.91 kB / 0.678 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.1587, allocations: 39.91 kB / 0.678 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.1588, allocations: 11.94 kB / 0.678 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.1588, allocations: 11.98 kB / 0.6781 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.1589, allocations: 23.91 kB / 0.6781 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1589, allocations: 0 / 0.6781 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.159, allocations: 19.98 kB / 0.6781 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.159, allocations: 7.938 kB / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.159, allocations: 23.92 kB / 0.6781 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1592, allocations: 43.81 kB / 0.6782 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1592, allocations: 0 / 0.6782 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1592, allocations: 0 / 0.6782 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.1592, allocations: 3.984 kB / 0.6782 GB, free: 8.438 MB / 0.5137 GB 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.0005273/0.1597, allocations: 355.3 kB / 0.6785 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1597, allocations: 8.031 kB / 0.6785 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.1598, allocations: 8.891 kB / 0.6785 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.1599, allocations: 168.3 kB / 0.6787 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1599, allocations: 8.375 kB / 0.6787 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1599, allocations: 4.359 kB / 0.6787 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1601, allocations: 66.17 kB / 0.6788 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1602, allocations: 192 / 0.6788 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1602, allocations: 3.938 kB / 0.6788 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1602, allocations: 3.984 kB / 0.6788 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1604, allocations: 43.95 kB / 0.6788 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1608, allocations: 284.8 kB / 0.6791 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.1612, allocations: 62.42 kB / 0.6791 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1613, allocations: 28.89 kB / 0.6792 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.1616, allocations: 397.5 kB / 0.6795 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1616, allocations: 38.56 kB / 0.6796 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1616, allocations: 0 / 0.6796 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004/0.162, allocations: 97.52 kB / 0.6797 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1621, allocations: 55.41 kB / 0.6797 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.1622, allocations: 113.8 kB / 0.6798 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1622, allocations: 25.7 kB / 0.6799 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.1622, allocations: 84.14 kB / 0.6799 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.1623, allocations: 11.95 kB / 0.68 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.1623, allocations: 17.7 kB / 0.68 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1624, allocations: 318.8 kB / 0.6803 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.1625, allocations: 19.97 kB / 0.6803 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.1626, allocations: 15.98 kB / 0.6803 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1628, allocations: 52.81 kB / 0.6804 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1628, allocations: 0 / 0.6804 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002254/0.163, allocations: 77.59 kB / 0.6804 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.163, allocations: 4 kB / 0.6804 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.163, allocations: 0 / 0.6804 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1631, allocations: 0 / 0.6804 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.1631, allocations: 15.92 kB / 0.6805 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1631, allocations: 0 / 0.6805 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.1632, allocations: 15.94 kB / 0.6805 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1632, allocations: 4 kB / 0.6805 GB, free: 5.758 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.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 9.713e-05/0.1633, allocations: 117.7 kB / 0.6806 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1633, allocations: 4 kB / 0.6806 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.1636, allocations: 81.48 kB / 0.6807 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1636, allocations: 4 kB / 0.6807 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1636, allocations: 4 kB / 0.6807 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1636, allocations: 0 / 0.6807 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1638, allocations: 173.6 kB / 0.6808 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1638, allocations: 384 / 0.6808 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.1639, allocations: 11.98 kB / 0.6808 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1639, allocations: 0 / 0.6808 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1639, allocations: 0 / 0.6808 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1639, allocations: 0 / 0.6808 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1639, allocations: 4 kB / 0.6809 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.1642, allocations: 179.4 kB / 0.681 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.1642, allocations: 85.09 kB / 0.6811 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1642, allocations: 0 / 0.6811 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.1643, allocations: 8 kB / 0.6811 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.1644, allocations: 7.922 kB / 0.6811 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1644, allocations: 7.938 kB / 0.6811 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.1644, allocations: 87.27 kB / 0.6812 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1644, allocations: 4 kB / 0.6812 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000224/0.1647, allocations: 8 kB / 0.6812 GB, free: 4.883 MB / 0.5137 GB 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,falFac.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.0001777/0.1648, allocations: 99.25 kB / 0.6813 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1651, allocations: 47.95 kB / 0.6814 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1651, allocations: 0 / 0.6814 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1652, allocations: 27.97 kB / 0.6814 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.1654, allocations: 10.75 kB / 0.6814 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.1658, allocations: 151.1 kB / 0.6815 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1661, allocations: 0.6807 MB / 0.6822 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.1661, allocations: 11.42 kB / 0.6822 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1661, allocations: 0 / 0.6822 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of Templates: time 0.002527/0.1687, allocations: 0.8083 MB / 0.683 GB, free: 2.984 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)