Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006298/0.006298, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001329/0.001329, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.12 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.8379/0.8379, allocations: 143 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 63.84 kB / 0.5955 GB, free: 12.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1677, allocations: 82.03 MB / 0.6756 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.0027/0.1704, allocations: 1.53 MB / 0.6771 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000336/0.1708, allocations: 124.5 kB / 0.6772 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.1708, allocations: 0 / 0.6772 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.1709, allocations: 3.938 kB / 0.6772 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.1709, allocations: 0 / 0.6772 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1711, allocations: 19.92 kB / 0.6773 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.1712, allocations: 27.92 kB / 0.6773 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.1713, allocations: 11.98 kB / 0.6773 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.1714, allocations: 19.92 kB / 0.6773 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.1714, allocations: 19.86 kB / 0.6773 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1714, allocations: 4 kB / 0.6773 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.1715, allocations: 15.98 kB / 0.6774 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1715, allocations: 4 kB / 0.6774 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.1716, allocations: 15.92 kB / 0.6774 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1717, allocations: 35.89 kB / 0.6774 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1717, allocations: 0 / 0.6774 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1717, allocations: 0 / 0.6774 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.1717, allocations: 0 / 0.6774 GB, free: 8.613 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004315/0.1721, allocations: 347.5 kB / 0.6777 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1722, allocations: 8.031 kB / 0.6778 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1722, allocations: 8.844 kB / 0.6778 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.1723, allocations: 160.4 kB / 0.6779 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1723, allocations: 4.375 kB / 0.6779 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1724, allocations: 384 / 0.6779 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1725, allocations: 66.16 kB / 0.678 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1726, allocations: 192 / 0.678 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1726, allocations: 7.938 kB / 0.678 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.1726, allocations: 0 / 0.678 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.1728, allocations: 47.89 kB / 0.678 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.1731, allocations: 260.9 kB / 0.6783 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.1734, allocations: 66.41 kB / 0.6783 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.1735, allocations: 28.91 kB / 0.6784 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1737, allocations: 81.09 kB / 0.6784 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1737, allocations: 34.56 kB / 0.6785 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1737, allocations: 0 / 0.6785 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003881/0.1741, allocations: 93.62 kB / 0.6786 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1741, allocations: 55.41 kB / 0.6786 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.1742, allocations: 97.8 kB / 0.6787 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1743, allocations: 29.7 kB / 0.6787 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.1743, allocations: 84.14 kB / 0.6788 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1743, allocations: 11.83 kB / 0.6788 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.1744, allocations: 17.72 kB / 0.6789 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1745, allocations: 310.8 kB / 0.6792 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.1746, allocations: 27.97 kB / 0.6792 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.1747, allocations: 19.98 kB / 0.6792 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1748, allocations: 40.81 kB / 0.6792 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1748, allocations: 3.938 kB / 0.6792 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002186/0.1751, allocations: 73.66 kB / 0.6793 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1751, allocations: 5.562 kB / 0.6793 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1751, allocations: 4 kB / 0.6793 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1751, allocations: 3.938 kB / 0.6793 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1752, allocations: 15.92 kB / 0.6793 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1752, allocations: 0 / 0.6793 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.1753, allocations: 7.984 kB / 0.6793 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1753, allocations: 4 kB / 0.6793 GB, free: 6.383 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 (rea2Int.y,fac.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 8.055e-05/0.1754, allocations: 117.8 kB / 0.6795 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1754, allocations: 3.906 kB / 0.6795 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1757, allocations: 85.14 kB / 0.6795 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1757, allocations: 0 / 0.6795 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1757, allocations: 0 / 0.6795 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1757, allocations: 0.5625 kB / 0.6795 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1759, allocations: 173.6 kB / 0.6797 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1759, allocations: 3.938 kB / 0.6797 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.176, allocations: 15.92 kB / 0.6797 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.176, allocations: 0 / 0.6797 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.176, allocations: 4 kB / 0.6797 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.176, allocations: 0 / 0.6797 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.176, allocations: 0 / 0.6797 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1763, allocations: 175.4 kB / 0.6799 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.1763, allocations: 77.11 kB / 0.68 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1763, allocations: 4 kB / 0.68 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.1764, allocations: 7.984 kB / 0.68 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1765, allocations: 11.98 kB / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1765, allocations: 0 / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.1765, allocations: 79.28 kB / 0.6801 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1765, allocations: 0 / 0.6801 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002384/0.1768, allocations: 15.91 kB / 0.6801 GB, free: 5.523 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 (fac.y,rea2Int.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.0001669/0.177, allocations: 107.2 kB / 0.6802 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1772, allocations: 43.95 kB / 0.6802 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1772, allocations: 0 / 0.6802 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.409e-05/0.1773, allocations: 23.98 kB / 0.6803 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1776, allocations: 11.94 kB / 0.6803 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.1779, allocations: 105.5 kB / 0.6804 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1782, allocations: 0.6806 MB / 0.681 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.1782, allocations: 11.98 kB / 0.681 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.1783, allocations: 11.44 kB / 0.6811 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1783, allocations: 0 / 0.6811 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of Templates: time 0.003093/0.1814, allocations: 0.7088 MB / 0.6817 GB, free: 3.762 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1)