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.001149/0.001149, allocations: 105.6 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.001174/0.001174, 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.198/1.198, 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.772/0.772, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 68.67 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1272, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001473/0.1287, allocations: 0.5829 MB / 0.6769 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.129, allocations: 51.8 kB / 0.677 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.129, allocations: 0 / 0.677 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.129, allocations: 0 / 0.677 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.129, allocations: 0 / 0.677 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.1292, allocations: 19.92 kB / 0.677 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.686e-05/0.1293, allocations: 3.984 kB / 0.677 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.1293, allocations: 4 kB / 0.677 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.165e-05/0.1293, allocations: 0 / 0.677 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.937e-05/0.1294, allocations: 3.984 kB / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.1294, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.085e-05/0.1294, allocations: 8 kB / 0.677 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-06/0.1294, allocations: 4 kB / 0.677 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.1295, allocations: 3.938 kB / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.975e-05/0.1295, allocations: 15.97 kB / 0.677 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1295, allocations: 0 / 0.677 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1296, allocations: 4 kB / 0.677 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1296, allocations: 0 / 0.677 GB, free: 9.621 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.000245/0.1298, allocations: 315.6 kB / 0.6773 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1298, allocations: 12.03 kB / 0.6773 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.1299, allocations: 0.9375 kB / 0.6773 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.13, allocations: 160.4 kB / 0.6775 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.13, allocations: 4.375 kB / 0.6775 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.13, allocations: 384 / 0.6775 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.03e-05/0.1301, allocations: 38.2 kB / 0.6775 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1301, allocations: 4.125 kB / 0.6775 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1301, allocations: 3.938 kB / 0.6775 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.1301, allocations: 3.984 kB / 0.6776 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.1301, allocations: 4 kB / 0.6776 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.1303, allocations: 149.7 kB / 0.6777 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.1303, allocations: 22.94 kB / 0.6777 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.1304, allocations: 12.8 kB / 0.6777 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.1305, allocations: 85.17 kB / 0.6778 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1305, allocations: 30.56 kB / 0.6778 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1305, allocations: 3.938 kB / 0.6778 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001171/0.1307, allocations: 49.62 kB / 0.6779 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1307, allocations: 51.41 kB / 0.6779 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.036e-05/0.1307, allocations: 89.86 kB / 0.678 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1308, allocations: 25.7 kB / 0.6781 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.1308, allocations: 84.27 kB / 0.6781 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1308, allocations: 3.906 kB / 0.6781 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1308, allocations: 17.72 kB / 0.6782 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.1309, allocations: 318.8 kB / 0.6785 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.131, allocations: 4 kB / 0.6785 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/0.131, allocations: 0 / 0.6785 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.131, allocations: 16.8 kB / 0.6785 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.131, allocations: 4 kB / 0.6785 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.707e-05/0.1311, allocations: 45.75 kB / 0.6785 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1311, allocations: 4 kB / 0.6785 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1311, allocations: 0 / 0.6785 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1311, allocations: 3.938 kB / 0.6785 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.1312, allocations: 4 kB / 0.6785 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1312, allocations: 0 / 0.6785 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.1312, allocations: 3.938 kB / 0.6785 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.1312, allocations: 0 / 0.6785 GB, free: 7.832 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 5.95e-05/0.1313, allocations: 117.9 kB / 0.6787 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.1313, allocations: 0 / 0.6787 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.28e-05/0.1314, allocations: 52.69 kB / 0.6787 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1314, allocations: 0 / 0.6787 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1314, allocations: 0 / 0.6787 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1314, allocations: 0 / 0.6787 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.981e-05/0.1315, allocations: 149.7 kB / 0.6788 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1315, allocations: 0 / 0.6788 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.1315, allocations: 0 / 0.6788 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1315, allocations: 7.984 kB / 0.6789 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1315, allocations: 3.938 kB / 0.6789 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1315, allocations: 4.031 kB / 0.6789 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1315, allocations: 7.875 kB / 0.6789 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.942e-05/0.1316, allocations: 65.06 kB / 0.6789 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.1316, allocations: 77.11 kB / 0.679 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.1317, allocations: 7.938 kB / 0.679 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.1317, allocations: 0 / 0.679 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.1317, allocations: 3.984 kB / 0.679 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1317, allocations: 4.031 kB / 0.679 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.671e-05/0.1317, allocations: 75.28 kB / 0.6791 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1317, allocations: 0 / 0.6791 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001848/0.1319, allocations: 8 kB / 0.6791 GB, free: 7.16 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.0001306/0.1321, allocations: 104.4 kB / 0.6792 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.1321, allocations: 7.984 kB / 0.6792 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1321, allocations: 0 / 0.6792 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.1322, allocations: 12 kB / 0.6792 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.1323, allocations: 8 kB / 0.6792 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.1325, allocations: 102.6 kB / 0.6793 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.1327, allocations: 0.6729 MB / 0.68 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.1327, allocations: 7.438 kB / 0.68 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1327, allocations: 4 kB / 0.68 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of Templates: time 0.001557/0.1343, allocations: 471.7 kB / 0.6804 GB, free: 5.715 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)