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.001172/0.001172, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001136/0.001137, allocations: 187 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 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.8701/0.8701, allocations: 143 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 71.95 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1654, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002822/0.1683, allocations: 1.517 MB / 0.6778 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003694/0.1687, allocations: 120.5 kB / 0.6779 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.1687, allocations: 0 / 0.6779 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.1688, allocations: 3.938 kB / 0.6779 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.1688, allocations: 3.938 kB / 0.6779 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.1691, allocations: 23.97 kB / 0.6779 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.1691, allocations: 35.84 kB / 0.678 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1693, allocations: 12 kB / 0.678 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.1693, allocations: 15.92 kB / 0.678 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.1694, allocations: 15.92 kB / 0.678 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1694, allocations: 4 kB / 0.678 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.614e-05/0.1695, allocations: 12 kB / 0.678 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1695, allocations: 7.969 kB / 0.678 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1695, allocations: 11.94 kB / 0.678 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1697, allocations: 35.89 kB / 0.6781 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1697, allocations: 0 / 0.6781 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1697, allocations: 0 / 0.6781 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1697, allocations: 0 / 0.6781 GB, free: 8.512 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.0004979/0.1702, allocations: 347.5 kB / 0.6784 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1702, allocations: 8.031 kB / 0.6784 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.1703, allocations: 8.844 kB / 0.6784 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1704, allocations: 168.3 kB / 0.6786 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1704, allocations: 384 / 0.6786 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.1705, allocations: 4.375 kB / 0.6786 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1707, allocations: 58.23 kB / 0.6786 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1707, allocations: 4.188 kB / 0.6787 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1707, allocations: 3.938 kB / 0.6787 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1707, allocations: 0 / 0.6787 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1709, allocations: 39.89 kB / 0.6787 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1713, allocations: 276.8 kB / 0.679 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.1716, allocations: 58.48 kB / 0.679 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1718, allocations: 24.89 kB / 0.679 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.1719, allocations: 81.11 kB / 0.6791 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1719, allocations: 34.56 kB / 0.6791 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.1719, allocations: 7.984 kB / 0.6792 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004147/0.1724, allocations: 97.56 kB / 0.6792 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1724, allocations: 51.41 kB / 0.6793 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.1725, allocations: 101.8 kB / 0.6794 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1725, allocations: 25.7 kB / 0.6794 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.1726, allocations: 80.14 kB / 0.6795 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.1726, allocations: 15.84 kB / 0.6795 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.1726, allocations: 13.72 kB / 0.6795 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1727, allocations: 322.8 kB / 0.6798 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.1728, allocations: 15.98 kB / 0.6798 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.1729, allocations: 23.97 kB / 0.6799 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1731, allocations: 44.83 kB / 0.6799 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1731, allocations: 3.938 kB / 0.6799 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002247/0.1734, allocations: 81.58 kB / 0.68 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1734, allocations: 14.91 kB / 0.68 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1734, allocations: 0 / 0.68 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1734, allocations: 0 / 0.68 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.1735, allocations: 11.98 kB / 0.68 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1735, allocations: 0 / 0.68 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.1736, allocations: 4 kB / 0.68 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1736, allocations: 3.984 kB / 0.68 GB, free: 6.273 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 9.039e-05/0.1737, allocations: 117.8 kB / 0.6801 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1737, allocations: 3.906 kB / 0.6801 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.174, allocations: 89.06 kB / 0.6802 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.174, allocations: 4 kB / 0.6802 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.174, allocations: 0 / 0.6802 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.174, allocations: 0 / 0.6802 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1742, allocations: 161.6 kB / 0.6804 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1742, allocations: 7.938 kB / 0.6804 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.1743, allocations: 11.98 kB / 0.6804 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1743, allocations: 4 kB / 0.6804 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1743, allocations: 0 / 0.6804 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1743, allocations: 0 / 0.6804 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1744, allocations: 0 / 0.6804 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1746, allocations: 179.9 kB / 0.6806 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1747, allocations: 77.11 kB / 0.6807 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1747, allocations: 4 kB / 0.6807 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.354e-05/0.1748, allocations: 4 kB / 0.6807 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.1748, allocations: 12.02 kB / 0.6807 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1749, allocations: 0 / 0.6807 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.1749, allocations: 87.27 kB / 0.6808 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1749, allocations: 0 / 0.6808 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000227/0.1751, allocations: 11.91 kB / 0.6808 GB, free: 5.414 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.0001511/0.1753, allocations: 103.2 kB / 0.6809 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1756, allocations: 43.95 kB / 0.6809 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1756, allocations: 0 / 0.6809 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1757, allocations: 31.91 kB / 0.6809 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.176, allocations: 3.938 kB / 0.6809 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.1763, allocations: 135.2 kB / 0.6811 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1765, allocations: 0.6807 MB / 0.6817 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.1766, allocations: 11.44 kB / 0.6817 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1766, allocations: 0 / 0.6817 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.002209/0.1788, allocations: 0.7445 MB / 0.6825 GB, free: 3.594 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)