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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 118 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9307/0.9307, allocations: 145.2 MB / 448.6 MB, free: 13.71 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 69.23 kB / 0.6211 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1746, allocations: 86.64 MB / 0.7058 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.002004/0.1766, allocations: 0.5788 MB / 0.7063 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.1769, allocations: 51.8 kB / 0.7064 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.177, allocations: 4 kB / 0.7064 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.177, allocations: 0 / 0.7064 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.177, allocations: 4 kB / 0.7064 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1773, allocations: 11.92 kB / 0.7064 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.1773, allocations: 4 kB / 0.7064 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.1774, allocations: 7.938 kB / 0.7064 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.1774, allocations: 0 / 0.7064 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.795e-05/0.1774, allocations: 11.91 kB / 0.7064 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1774, allocations: 0 / 0.7064 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.1775, allocations: 8 kB / 0.7064 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.1775, allocations: 4 kB / 0.7064 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.1775, allocations: 0 / 0.7064 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.7e-05/0.1776, allocations: 7.984 kB / 0.7064 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1776, allocations: 4 kB / 0.7064 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1776, allocations: 0 / 0.7064 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.1777, allocations: 0 / 0.7064 GB, free: 1.973 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.0003872/0.178, allocations: 319.5 kB / 0.7067 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1781, allocations: 8.031 kB / 0.7067 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.1781, allocations: 4.938 kB / 0.7068 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1783, allocations: 164.3 kB / 0.7069 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1783, allocations: 384 / 0.7069 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1783, allocations: 384 / 0.7069 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1784, allocations: 38.27 kB / 0.7069 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1784, allocations: 8.109 kB / 0.707 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1784, allocations: 3.938 kB / 0.707 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1784, allocations: 0 / 0.707 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.1785, allocations: 4 kB / 0.707 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.1787, allocations: 141.7 kB / 0.7071 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.1787, allocations: 34.58 kB / 0.7071 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.1787, allocations: 4.859 kB / 0.7071 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.1789, allocations: 89.16 kB / 0.7072 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.179, allocations: 30.97 kB / 0.7072 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.179, allocations: 0 / 0.7072 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.1791, allocations: 49.56 kB / 0.7073 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.1792, allocations: 55.41 kB / 0.7073 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.1793, allocations: 93.81 kB / 0.7074 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1793, allocations: 25.7 kB / 0.7075 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.1793, allocations: 84.27 kB / 0.7075 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1793, allocations: 4 kB / 0.7075 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.1794, allocations: 13.72 kB / 0.7076 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1795, allocations: 314.8 kB / 0.7079 GB, free: 284 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.1795, allocations: 0 / 0.7079 GB, free: 284 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-06/0.1795, allocations: 4 kB / 0.7079 GB, free: 280 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.989e-05/0.1796, allocations: 20.8 kB / 0.7079 GB, free: 256 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1796, allocations: 64 / 0.7079 GB, free: 256 kB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.723e-05/0.1797, allocations: 45.69 kB / 0.7079 GB, free: 204 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1797, allocations: 8 kB / 0.7079 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1797, allocations: 3.938 kB / 0.7079 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1797, allocations: 3.938 kB / 0.7079 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.1798, allocations: 4 kB / 0.7079 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1798, allocations: 0 / 0.7079 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/0.1798, allocations: 0 / 0.7079 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1798, allocations: 0 / 0.7079 GB, free: 184 kB / 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 8.631e-05/0.1799, allocations: 109.9 kB / 0.7081 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.1799, allocations: 4 kB / 0.7081 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.18, allocations: 52.62 kB / 0.7081 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.18, allocations: 4 kB / 0.7081 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.18, allocations: 0 / 0.7081 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.18, allocations: 0 / 0.7081 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.1801, allocations: 145.7 kB / 0.7082 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1801, allocations: 0 / 0.7082 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.1802, allocations: 4 kB / 0.7083 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1802, allocations: 0 / 0.7083 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1802, allocations: 11.97 kB / 0.7083 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.1802, allocations: 7.984 kB / 0.7083 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1802, allocations: 0 / 0.7083 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.55e-05/0.1803, allocations: 73.02 kB / 0.7083 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.1803, allocations: 77.11 kB / 0.7084 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.1803, allocations: 3.938 kB / 0.7084 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.1804, allocations: 0 / 0.7084 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.1804, allocations: 7.984 kB / 0.7084 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1804, allocations: 4.031 kB / 0.7084 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.1804, allocations: 75.28 kB / 0.7085 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1804, allocations: 0 / 0.7085 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001918/0.1806, allocations: 7.938 kB / 0.7085 GB, free: 15.5 MB / 0.5294 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.0002105/0.1808, allocations: 103.2 kB / 0.7086 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1809, allocations: 11.98 kB / 0.7086 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1809, allocations: 0 / 0.7086 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.181, allocations: 12 kB / 0.7086 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1811, allocations: 2.031 kB / 0.7086 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.1814, allocations: 114.6 kB / 0.7087 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1817, allocations: 0.6768 MB / 0.7094 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.1817, allocations: 7.438 kB / 0.7094 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.1817, allocations: 0 / 0.7094 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.002223/0.1839, allocations: 467.7 kB / 0.7099 GB, free: 14.05 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.159181046066806] Failed to read output from testmodel.py, exit status != 0: 0.19158482598140836 0.205499019 0.025003302 Calling exit ...