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.001713/0.001713, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001679/0.001679, allocations: 187 kB / 17.34 MB, free: 5.715 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.05 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.9118/0.9118, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 75.84 kB / 0.5963 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1792, allocations: 82.02 MB / 0.6764 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001722/0.181, allocations: 0.5868 MB / 0.6769 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002721/0.1812, allocations: 51.8 kB / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1813, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.1813, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-06/0.1813, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1815, allocations: 11.92 kB / 0.677 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.403e-05/0.1816, allocations: 8 kB / 0.677 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.1816, allocations: 3.984 kB / 0.677 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.283e-05/0.1816, allocations: 0 / 0.677 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.1816, allocations: 3.984 kB / 0.677 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1817, allocations: 4 kB / 0.677 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.461e-05/0.1817, allocations: 12 kB / 0.677 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.1817, allocations: 0 / 0.677 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.1818, allocations: 3.938 kB / 0.677 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.206e-05/0.1819, allocations: 11.97 kB / 0.677 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1819, allocations: 0 / 0.677 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1819, allocations: 0 / 0.677 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1819, allocations: 0 / 0.677 GB, free: 9.598 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.0003519/0.1822, allocations: 319.5 kB / 0.6773 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1823, allocations: 12.03 kB / 0.6774 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.1823, allocations: 4.875 kB / 0.6774 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1824, allocations: 164.4 kB / 0.6775 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.1824, allocations: 384 / 0.6775 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1824, allocations: 384 / 0.6775 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1825, allocations: 38.2 kB / 0.6775 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1826, allocations: 192 / 0.6775 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1826, allocations: 3.938 kB / 0.6776 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1826, allocations: 3.984 kB / 0.6776 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.1826, allocations: 4 kB / 0.6776 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.1828, allocations: 145.7 kB / 0.6777 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.1828, allocations: 30.94 kB / 0.6777 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.1828, allocations: 4.859 kB / 0.6777 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.183, allocations: 81.17 kB / 0.6778 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.183, allocations: 34.5 kB / 0.6778 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.183, allocations: 0 / 0.6778 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001567/0.1832, allocations: 49.62 kB / 0.6779 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1832, allocations: 59.47 kB / 0.6779 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/0.1833, allocations: 93.81 kB / 0.678 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1833, allocations: 25.7 kB / 0.6781 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.1833, allocations: 84.14 kB / 0.6781 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1834, allocations: 0 / 0.6781 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1834, allocations: 13.72 kB / 0.6782 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1835, allocations: 318.8 kB / 0.6785 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.1835, allocations: 4 kB / 0.6785 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.1836, allocations: 8 kB / 0.6785 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.1836, allocations: 12.8 kB / 0.6785 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1836, allocations: 4 kB / 0.6785 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.573e-05/0.1837, allocations: 41.69 kB / 0.6785 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1837, allocations: 5.719 kB / 0.6785 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1837, allocations: 0 / 0.6785 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1837, allocations: 3.938 kB / 0.6785 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.292e-05/0.1837, allocations: 4 kB / 0.6785 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1838, allocations: 0 / 0.6785 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.1838, allocations: 8.094 kB / 0.6785 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1838, allocations: 0 / 0.6785 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 7.933e-05/0.1839, allocations: 109.8 kB / 0.6787 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.1839, allocations: 0 / 0.6787 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.821e-05/0.184, allocations: 56.67 kB / 0.6787 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.184, allocations: 0 / 0.6787 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.184, allocations: 0 / 0.6787 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.184, allocations: 0 / 0.6787 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.1841, allocations: 157.7 kB / 0.6789 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1841, allocations: 3.938 kB / 0.6789 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.1841, allocations: 0 / 0.6789 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1841, allocations: 4 kB / 0.6789 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1841, allocations: 3.938 kB / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1841, allocations: 0 / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1841, allocations: 0 / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.488e-05/0.1842, allocations: 69.02 kB / 0.6789 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.1842, allocations: 81.14 kB / 0.679 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1843, allocations: 7.938 kB / 0.679 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.07e-05/0.1843, allocations: 0 / 0.679 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1843, allocations: 7.922 kB / 0.679 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1843, allocations: 0 / 0.679 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.1843, allocations: 75.28 kB / 0.6791 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1843, allocations: 0 / 0.6791 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001941/0.1845, allocations: 4 kB / 0.6791 GB, free: 7.137 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.0001625/0.1847, allocations: 111.2 kB / 0.6792 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.466e-05/0.1848, allocations: 11.98 kB / 0.6792 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1848, allocations: 0 / 0.6792 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.1848, allocations: 7.938 kB / 0.6792 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.1849, allocations: 5.719 kB / 0.6792 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.1852, allocations: 106.6 kB / 0.6793 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1855, allocations: 0.6768 MB / 0.68 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.1855, allocations: 7.438 kB / 0.68 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.1855, allocations: 4.125 kB / 0.68 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.002045/0.1875, allocations: 467.6 kB / 0.6805 GB, free: 5.684 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)