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.001435/0.001435, allocations: 110.7 kB / 16.41 MB, free: 6.453 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.001541/0.001541, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.9577/0.9577, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 61 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1625, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002843/0.1653, allocations: 1.518 MB / 0.6778 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003857/0.1657, allocations: 120.5 kB / 0.6779 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.1657, allocations: 0 / 0.6779 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.1658, allocations: 7.922 kB / 0.6779 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.1658, allocations: 0 / 0.6779 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1661, allocations: 31.91 kB / 0.678 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.1661, allocations: 27.92 kB / 0.678 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1662, allocations: 11.98 kB / 0.678 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.1663, allocations: 11.94 kB / 0.678 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.1663, allocations: 23.91 kB / 0.678 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1664, allocations: 7.938 kB / 0.678 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.1664, allocations: 15.98 kB / 0.678 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1664, allocations: 0 / 0.678 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1665, allocations: 11.94 kB / 0.6781 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1666, allocations: 39.81 kB / 0.6781 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1666, allocations: 0 / 0.6781 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1666, allocations: 0 / 0.6781 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.1666, allocations: 0 / 0.6781 GB, free: 8.527 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.0005364/0.1671, allocations: 347.5 kB / 0.6784 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1672, allocations: 8.031 kB / 0.6784 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1672, allocations: 4.938 kB / 0.6784 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1674, allocations: 176.2 kB / 0.6786 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1674, allocations: 4.375 kB / 0.6786 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1674, allocations: 4.359 kB / 0.6786 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1676, allocations: 58.23 kB / 0.6787 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1676, allocations: 192 / 0.6787 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1676, allocations: 3.938 kB / 0.6787 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1676, allocations: 4 kB / 0.6787 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.1678, allocations: 43.89 kB / 0.6787 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.1682, allocations: 264.9 kB / 0.679 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1686, allocations: 58.53 kB / 0.679 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1687, allocations: 24.84 kB / 0.6791 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.1688, allocations: 81.11 kB / 0.6791 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1689, allocations: 38.55 kB / 0.6792 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1689, allocations: 0 / 0.6792 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004049/0.1693, allocations: 89.58 kB / 0.6793 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1693, allocations: 59.41 kB / 0.6793 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.1694, allocations: 105.8 kB / 0.6794 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1694, allocations: 25.7 kB / 0.6794 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.1695, allocations: 80.14 kB / 0.6795 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1695, allocations: 11.95 kB / 0.6795 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.1696, allocations: 13.7 kB / 0.6795 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1697, allocations: 318.8 kB / 0.6798 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.1698, allocations: 15.98 kB / 0.6799 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.1699, allocations: 23.97 kB / 0.6799 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1701, allocations: 48.81 kB / 0.6799 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1701, allocations: 3.938 kB / 0.6799 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002357/0.1703, allocations: 73.59 kB / 0.68 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1703, allocations: 8 kB / 0.68 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1703, allocations: 4 kB / 0.68 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1704, allocations: 0 / 0.68 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.1704, allocations: 11.98 kB / 0.68 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1704, allocations: 3.938 kB / 0.68 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.1705, allocations: 7.984 kB / 0.68 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1705, allocations: 0 / 0.68 GB, free: 6.297 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.651e-05/0.1706, allocations: 114.3 kB / 0.6801 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1706, allocations: 3.953 kB / 0.6801 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.1709, allocations: 93.06 kB / 0.6802 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1709, allocations: 0 / 0.6802 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1709, allocations: 4 kB / 0.6802 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1709, allocations: 0 / 0.6802 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1711, allocations: 165.5 kB / 0.6804 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1711, allocations: 3.938 kB / 0.6804 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.64e-05/0.1712, allocations: 15.98 kB / 0.6804 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1712, allocations: 0 / 0.6804 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1712, allocations: 8 kB / 0.6804 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1712, allocations: 0 / 0.6804 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1712, allocations: 0 / 0.6804 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.1715, allocations: 175.4 kB / 0.6806 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1716, allocations: 77.11 kB / 0.6807 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1716, allocations: 0 / 0.6807 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.1717, allocations: 15.92 kB / 0.6807 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1717, allocations: 4 kB / 0.6807 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1717, allocations: 4 kB / 0.6807 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.1718, allocations: 83.27 kB / 0.6808 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1718, allocations: 0 / 0.6808 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002291/0.172, allocations: 8 kB / 0.6808 GB, free: 5.438 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.0002034/0.1722, allocations: 99.23 kB / 0.6809 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.1725, allocations: 51.95 kB / 0.6809 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1725, allocations: 0 / 0.6809 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1726, allocations: 27.91 kB / 0.6809 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.1729, allocations: 7.938 kB / 0.681 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.1732, allocations: 139.1 kB / 0.6811 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1735, allocations: 0.6768 MB / 0.6817 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1735, allocations: 15.44 kB / 0.6818 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1735, allocations: 0 / 0.6818 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of Templates: time 0.002403/0.176, allocations: 0.7458 MB / 0.6825 GB, free: 3.609 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)