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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 217.3 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9085/0.9085, allocations: 145 MB / 458.2 MB, free: 15.23 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 70.89 kB / 0.6344 GB, free: 6.07 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1722, allocations: 87.9 MB / 0.7202 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001801/0.174, allocations: 0.5795 MB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002828/0.1743, allocations: 51.88 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.1743, allocations: 0 / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.1743, allocations: 3.938 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.1743, allocations: 0 / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1746, allocations: 7.984 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.378e-05/0.1746, allocations: 4 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.1747, allocations: 4 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.44e-05/0.1747, allocations: 0 / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.328e-05/0.1747, allocations: 7.984 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.1747, allocations: 4 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.1748, allocations: 15.92 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.1748, allocations: 0 / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.1748, allocations: 0 / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.1749, allocations: 7.984 kB / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1749, allocations: 0 / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1749, allocations: 0 / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1749, allocations: 0 / 0.7209 GB, free: 13.51 MB / 0.545 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.0003171/0.1752, allocations: 246.4 kB / 0.7211 GB, free: 13.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1753, allocations: 8.031 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.1753, allocations: 4.938 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.724e-05/0.1754, allocations: 110.5 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1754, allocations: 384 / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1754, allocations: 4.375 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.1755, allocations: 34.27 kB / 0.7212 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1755, allocations: 4.172 kB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1755, allocations: 3.938 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1755, allocations: 0 / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.638e-05/0.1756, allocations: 7.984 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.1757, allocations: 105.3 kB / 0.7214 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.1757, allocations: 30.52 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.1758, allocations: 4.859 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.1759, allocations: 11.98 kB / 0.7214 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1759, allocations: 34.56 kB / 0.7214 GB, free: 12.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1759, allocations: 0 / 0.7214 GB, free: 12.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/0.1761, allocations: 45.58 kB / 0.7215 GB, free: 12.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1761, allocations: 51.41 kB / 0.7215 GB, free: 12.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.1762, allocations: 93.84 kB / 0.7216 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1762, allocations: 25.7 kB / 0.7216 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1762, allocations: 80.14 kB / 0.7217 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1762, allocations: 12.12 kB / 0.7217 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1763, allocations: 9.719 kB / 0.7217 GB, free: 12.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1764, allocations: 314.8 kB / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.1764, allocations: 0 / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.1764, allocations: 4 kB / 0.722 GB, free: 12.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.1765, allocations: 16.84 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1765, allocations: 0 / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.574e-05/0.1765, allocations: 45.59 kB / 0.7221 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1765, allocations: 4 kB / 0.7221 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1766, allocations: 4.094 kB / 0.7221 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1766, allocations: 4 kB / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.1766, allocations: 3.938 kB / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1766, allocations: 0 / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.1766, allocations: 7.984 kB / 0.7221 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.1767, allocations: 0 / 0.7221 GB, free: 12.03 MB / 0.545 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.883e-05/0.1767, allocations: 112.9 kB / 0.7222 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.1767, allocations: 0 / 0.7222 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.336e-05/0.1768, allocations: 44.84 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1768, allocations: 3.938 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1768, allocations: 8.031 kB / 0.7223 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1768, allocations: 0 / 0.7223 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.117e-05/0.1769, allocations: 93.33 kB / 0.7224 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1769, allocations: 3.938 kB / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.1769, allocations: 4 kB / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1769, allocations: 0 / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.177, allocations: 3.938 kB / 0.7224 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.177, allocations: 3.984 kB / 0.7224 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.177, allocations: 3.938 kB / 0.7224 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.177, allocations: 65.14 kB / 0.7225 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.177, allocations: 4.031 kB / 0.7225 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1771, allocations: 7.984 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.1771, allocations: 4 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1771, allocations: 3.938 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1771, allocations: 0 / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.1771, allocations: 79.22 kB / 0.7226 GB, free: 11.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1771, allocations: 0 / 0.7226 GB, free: 11.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001787/0.1773, allocations: 4 kB / 0.7226 GB, free: 11.52 MB / 0.545 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.0001522/0.1775, allocations: 107.2 kB / 0.7227 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.1776, allocations: 16 kB / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1776, allocations: 0 / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-06/0.1776, allocations: 4 kB / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1777, allocations: 4 kB / 0.7227 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.1779, allocations: 114.5 kB / 0.7228 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.178, allocations: 55.36 kB / 0.7228 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.178, allocations: 7.438 kB / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.178, allocations: 0 / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Templates: time 0.002132/0.1801, allocations: 468.4 kB / 0.7233 GB, free: 10.7 MB / 0.545 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: 7.6207964001223445] Failed to read output from testmodel.py, exit status != 0: 0.1880527320317924 0.20285014299999996 0.02502631999999994 Calling exit ...