Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.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.001533/0.001533, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001684/0.001684, allocations: 213.2 kB / 23 MB, free: 4.566 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.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] 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.837/0.837, allocations: 145 MB / 458.2 MB, free: 15.52 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") [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.002195/0.002195, allocations: 67.36 kB / 0.6344 GB, free: 6.797 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1573, allocations: 87.89 MB / 0.7203 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001722/0.159, allocations: 0.5728 MB / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002687/0.1593, allocations: 59.8 kB / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.1593, allocations: 0 / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.1593, allocations: 0 / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.1593, allocations: 0 / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1596, allocations: 27.91 kB / 0.7209 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.1597, allocations: 31.91 kB / 0.7209 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.1597, allocations: 0 / 0.7209 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.1597, allocations: 15.98 kB / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.884e-05/0.1598, allocations: 11.98 kB / 0.721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1598, allocations: 4 kB / 0.721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.1599, allocations: 19.97 kB / 0.721 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.1599, allocations: 15.92 kB / 0.721 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.1599, allocations: 11.88 kB / 0.721 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.16, allocations: 35.89 kB / 0.721 GB, free: 14.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.16, allocations: 8 kB / 0.7211 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.16, allocations: 0 / 0.7211 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.16, allocations: 0 / 0.7211 GB, free: 14.09 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003236/0.1604, allocations: 262.3 kB / 0.7213 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1604, allocations: 8.031 kB / 0.7213 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1604, allocations: 4.938 kB / 0.7213 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.562e-05/0.1605, allocations: 110.4 kB / 0.7214 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1605, allocations: 4.375 kB / 0.7214 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1605, allocations: 8.375 kB / 0.7214 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1607, allocations: 66.22 kB / 0.7215 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1607, allocations: 192 / 0.7215 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1607, allocations: 3.938 kB / 0.7215 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1607, allocations: 4 kB / 0.7215 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1608, allocations: 95.88 kB / 0.7216 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.161, allocations: 144.7 kB / 0.7217 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1611, allocations: 78.47 kB / 0.7218 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.1612, allocations: 28.84 kB / 0.7218 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.1614, allocations: 23.97 kB / 0.7219 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1614, allocations: 38.55 kB / 0.7219 GB, free: 13.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.1614, allocations: 0 / 0.7219 GB, free: 13.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0002491/0.1616, allocations: 117.5 kB / 0.722 GB, free: 12.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.1617, allocations: 51.41 kB / 0.7221 GB, free: 12.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.442e-05/0.1617, allocations: 94.03 kB / 0.7221 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1618, allocations: 33.7 kB / 0.7222 GB, free: 12.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.1618, allocations: 84.08 kB / 0.7223 GB, free: 12.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.1618, allocations: 27.8 kB / 0.7223 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1619, allocations: 25.7 kB / 0.7223 GB, free: 12.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.162, allocations: 322.8 kB / 0.7226 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.162, allocations: 19.98 kB / 0.7226 GB, free: 12.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.1621, allocations: 19.98 kB / 0.7227 GB, free: 12.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1622, allocations: 56.84 kB / 0.7227 GB, free: 12.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1622, allocations: 0 / 0.7227 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001417/0.1623, allocations: 97.53 kB / 0.7228 GB, free: 12.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.1623, allocations: 4 kB / 0.7228 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1623, allocations: 7.938 kB / 0.7228 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1623, allocations: 3.938 kB / 0.7228 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.1624, allocations: 19.98 kB / 0.7228 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1624, allocations: 0 / 0.7228 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.1625, allocations: 15.95 kB / 0.7229 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.1625, allocations: 0 / 0.7229 GB, free: 12.06 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001278/0.1626, allocations: 121.8 kB / 0.723 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.1626, allocations: 4 kB / 0.723 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.1628, allocations: 138 kB / 0.7231 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1628, allocations: 0 / 0.7231 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1628, allocations: 7.938 kB / 0.7231 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1628, allocations: 0 / 0.7231 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.163, allocations: 144.7 kB / 0.7233 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.163, allocations: 0 / 0.7233 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.163, allocations: 19.98 kB / 0.7233 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.163, allocations: 3.938 kB / 0.7233 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.163, allocations: 4 kB / 0.7233 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1631, allocations: 4 kB / 0.7233 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1631, allocations: 4 kB / 0.7233 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.1632, allocations: 125 kB / 0.7234 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.1632, allocations: 7.938 kB / 0.7234 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.1632, allocations: 0 / 0.7234 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.1633, allocations: 4 kB / 0.7234 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.1633, allocations: 7.984 kB / 0.7234 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1633, allocations: 4 kB / 0.7234 GB, free: 11.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.1633, allocations: 83.22 kB / 0.7235 GB, free: 11.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1633, allocations: 0 / 0.7235 GB, free: 11.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001906/0.1635, allocations: 19.94 kB / 0.7235 GB, free: 11.29 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001507/0.1637, allocations: 103.2 kB / 0.7236 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.1638, allocations: 59.91 kB / 0.7237 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1638, allocations: 0 / 0.7237 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.1639, allocations: 39.91 kB / 0.7237 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.164, allocations: 6.453 kB / 0.7237 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.1643, allocations: 173.2 kB / 0.7239 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1645, allocations: 0.6813 MB / 0.7246 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.1646, allocations: 23.42 kB / 0.7246 GB, free: 10.15 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.1646, allocations: 0 / 0.7246 GB, free: 10.15 MB / 0.545 GB Notification: Performance of Templates: time 0.002554/0.1671, allocations: 0.9919 MB / 0.7255 GB, free: 9.156 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2864961181767285] Failed to read output from testmodel.py, exit status != 0: 0.17571755312383175 0.18855771600000001 0.025748645 Calling exit ...