Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006001/0.006001, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001415/0.001415, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8595/0.8595, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 64.81 kB / 0.5956 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1628, allocations: 82.02 MB / 0.6757 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001733/0.1646, allocations: 0.6 MB / 0.6762 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.1648, allocations: 43.86 kB / 0.6763 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.1649, allocations: 0 / 0.6763 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1649, allocations: 4 kB / 0.6763 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.1649, allocations: 0 / 0.6763 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1651, allocations: 15.94 kB / 0.6763 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.016e-05/0.1652, allocations: 3.984 kB / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.1653, allocations: 4 kB / 0.6763 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.1653, allocations: 0 / 0.6763 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.233e-05/0.1653, allocations: 3.984 kB / 0.6763 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.1653, allocations: 0 / 0.6763 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.898e-05/0.1654, allocations: 8 kB / 0.6763 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.1654, allocations: 0 / 0.6763 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1654, allocations: 7.938 kB / 0.6763 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.671e-05/0.1655, allocations: 11.98 kB / 0.6763 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1655, allocations: 0 / 0.6763 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1655, allocations: 4 kB / 0.6763 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1655, allocations: 0 / 0.6763 GB, free: 9.609 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002705/0.1658, allocations: 315.6 kB / 0.6767 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1658, allocations: 8.031 kB / 0.6767 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.1659, allocations: 4.938 kB / 0.6767 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.76e-05/0.166, allocations: 160.4 kB / 0.6768 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.166, allocations: 4.312 kB / 0.6768 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.166, allocations: 4.375 kB / 0.6768 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.1661, allocations: 34.25 kB / 0.6769 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1661, allocations: 4.188 kB / 0.6769 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1661, allocations: 3.938 kB / 0.6769 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1661, allocations: 0 / 0.6769 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.1661, allocations: 4 kB / 0.6769 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1663, allocations: 161.6 kB / 0.677 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.287e-05/0.1663, allocations: 30.88 kB / 0.6771 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.1664, allocations: 4.859 kB / 0.6771 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.1665, allocations: 89.17 kB / 0.6771 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1665, allocations: 34.55 kB / 0.6772 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.1665, allocations: 0 / 0.6772 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001338/0.1667, allocations: 45.58 kB / 0.6772 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1667, allocations: 55.41 kB / 0.6773 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.253e-05/0.1668, allocations: 89.86 kB / 0.6774 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1668, allocations: 25.7 kB / 0.6774 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.1668, allocations: 80.27 kB / 0.6775 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1668, allocations: 7.906 kB / 0.6775 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.1669, allocations: 17.7 kB / 0.6775 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.167, allocations: 318.8 kB / 0.6778 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.167, allocations: 7.938 kB / 0.6778 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.167, allocations: 0 / 0.6778 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.167, allocations: 8.859 kB / 0.6778 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.167, allocations: 0 / 0.6778 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.463e-05/0.1671, allocations: 45.75 kB / 0.6778 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1671, allocations: 9.875 kB / 0.6779 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1671, allocations: 0 / 0.6779 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1672, allocations: 3.938 kB / 0.6779 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.1672, allocations: 4 kB / 0.6779 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1672, allocations: 3.984 kB / 0.6779 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.1673, allocations: 7.875 kB / 0.6779 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.1673, allocations: 0 / 0.6779 GB, free: 7.805 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.275e-05/0.1673, allocations: 114.5 kB / 0.678 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.1673, allocations: 8.031 kB / 0.678 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.398e-05/0.1674, allocations: 40.77 kB / 0.678 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1674, allocations: 0 / 0.678 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1674, allocations: 3.984 kB / 0.678 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1675, allocations: 0 / 0.678 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.275e-05/0.1675, allocations: 145.7 kB / 0.6782 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1676, allocations: 4 kB / 0.6782 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.1676, allocations: 0 / 0.6782 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1676, allocations: 0 / 0.6782 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1676, allocations: 11.92 kB / 0.6782 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1676, allocations: 4.031 kB / 0.6782 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.1676, allocations: 0 / 0.6782 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.707e-05/0.1677, allocations: 61.08 kB / 0.6782 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.1677, allocations: 81.09 kB / 0.6783 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1677, allocations: 3.938 kB / 0.6783 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.1678, allocations: 11.88 kB / 0.6783 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.1678, allocations: 0 / 0.6783 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1678, allocations: 4.031 kB / 0.6783 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.531e-05/0.1678, allocations: 75.28 kB / 0.6784 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1678, allocations: 0 / 0.6784 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001948/0.168, allocations: 8 kB / 0.6784 GB, free: 7.141 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001373/0.1682, allocations: 107.2 kB / 0.6785 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.943e-05/0.1682, allocations: 7.938 kB / 0.6785 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1683, allocations: 0 / 0.6785 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.1683, allocations: 8.062 kB / 0.6785 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.1684, allocations: 10.34 kB / 0.6786 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.1686, allocations: 80.92 kB / 0.6786 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.1688, allocations: 0.6768 MB / 0.6793 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.277e-05/0.1688, allocations: 0 / 0.6793 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.1688, allocations: 11.44 kB / 0.6793 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1689, allocations: 0 / 0.6793 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.002109/0.171, allocations: 326.4 kB / 0.6796 GB, free: 5.863 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)