Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001446/0.001446, allocations: 110.1 kB / 19.59 MB, free: 2.211 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.001575/0.001575, allocations: 220.6 kB / 22.88 MB, free: 4.582 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.316/1.316, allocations: 230.5 MB / 256.5 MB, free: 8.031 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.831/0.831, allocations: 144.9 MB / 457.8 MB, free: 15.7 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001828/0.001828, allocations: 68.25 kB / 0.6339 GB, free: 7.023 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1442, allocations: 87.89 MB / 0.7198 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002464/0.1467, allocations: 1.561 MB / 0.7213 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003348/0.147, allocations: 136.4 kB / 0.7214 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.147, allocations: 0 / 0.7214 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.147, allocations: 7.922 kB / 0.7214 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.1471, allocations: 7.938 kB / 0.7214 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1473, allocations: 35.89 kB / 0.7215 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.238e-05/0.1474, allocations: 35.92 kB / 0.7215 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.1475, allocations: 8 kB / 0.7215 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.1475, allocations: 15.92 kB / 0.7215 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.1476, allocations: 23.91 kB / 0.7216 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1476, allocations: 4 kB / 0.7216 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.1477, allocations: 27.97 kB / 0.7216 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.1477, allocations: 4 kB / 0.7216 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1477, allocations: 15.88 kB / 0.7216 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1478, allocations: 51.8 kB / 0.7217 GB, free: 13.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1478, allocations: 4 kB / 0.7217 GB, free: 13.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1478, allocations: 0 / 0.7217 GB, free: 13.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.1478, allocations: 0 / 0.7217 GB, free: 13.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004241/0.1482, allocations: 266.3 kB / 0.7219 GB, free: 12.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1483, allocations: 15.97 kB / 0.7219 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1483, allocations: 4.938 kB / 0.7219 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1484, allocations: 122.4 kB / 0.722 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1484, allocations: 384 / 0.722 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1484, allocations: 4.375 kB / 0.722 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1486, allocations: 58.23 kB / 0.7221 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1486, allocations: 192 / 0.7221 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1486, allocations: 7.922 kB / 0.7221 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1486, allocations: 4 kB / 0.7221 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1488, allocations: 51.94 kB / 0.7222 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.1492, allocations: 259.8 kB / 0.7224 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.1495, allocations: 54.55 kB / 0.7225 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.588e-05/0.1496, allocations: 28.89 kB / 0.7225 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-05/0.1497, allocations: 19.92 kB / 0.7225 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1497, allocations: 34.56 kB / 0.7225 GB, free: 12.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1497, allocations: 0 / 0.7225 GB, free: 12.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003757/0.1501, allocations: 97.52 kB / 0.7226 GB, free: 12.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1501, allocations: 55.41 kB / 0.7227 GB, free: 11.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.1502, allocations: 109.8 kB / 0.7228 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1502, allocations: 29.7 kB / 0.7228 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.1503, allocations: 84.14 kB / 0.7229 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.1503, allocations: 7.953 kB / 0.7229 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1503, allocations: 17.7 kB / 0.7229 GB, free: 11.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1504, allocations: 318.8 kB / 0.7232 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.1505, allocations: 15.98 kB / 0.7232 GB, free: 11.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/0.1506, allocations: 23.97 kB / 0.7233 GB, free: 11.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.1508, allocations: 48.81 kB / 0.7233 GB, free: 11.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1508, allocations: 0 / 0.7233 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002221/0.151, allocations: 81.55 kB / 0.7234 GB, free: 11.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.151, allocations: 4 kB / 0.7234 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.151, allocations: 0 / 0.7234 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.151, allocations: 4 kB / 0.7234 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.1511, allocations: 11.98 kB / 0.7234 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1511, allocations: 4 kB / 0.7234 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.1512, allocations: 7.984 kB / 0.7234 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1512, allocations: 0 / 0.7234 GB, free: 11.19 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 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.403e-05/0.1513, allocations: 113.8 kB / 0.7235 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1513, allocations: 4 kB / 0.7235 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.1515, allocations: 81.58 kB / 0.7236 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1515, allocations: 8 kB / 0.7236 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1516, allocations: 0 / 0.7236 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1516, allocations: 0 / 0.7236 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1517, allocations: 148.6 kB / 0.7238 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1517, allocations: 0 / 0.7238 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.1518, allocations: 11.98 kB / 0.7238 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1518, allocations: 0 / 0.7238 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1518, allocations: 384 / 0.7238 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1518, allocations: 3.938 kB / 0.7238 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1518, allocations: 0 / 0.7238 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.1521, allocations: 179.4 kB / 0.724 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.1521, allocations: 15.88 kB / 0.724 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1521, allocations: 0 / 0.724 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.1522, allocations: 7.984 kB / 0.724 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.1522, allocations: 7.984 kB / 0.724 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1522, allocations: 4 kB / 0.724 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.1523, allocations: 87.28 kB / 0.7241 GB, free: 10.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1523, allocations: 4 kB / 0.7241 GB, free: 10.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000215/0.1525, allocations: 11.95 kB / 0.7241 GB, free: 10.43 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 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001323/0.1526, allocations: 103.2 kB / 0.7242 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.1529, allocations: 39.95 kB / 0.7242 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1529, allocations: 0 / 0.7242 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.153, allocations: 35.91 kB / 0.7243 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.1532, allocations: 7.938 kB / 0.7243 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.1535, allocations: 147.3 kB / 0.7244 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.326e-05/0.1536, allocations: 63.34 kB / 0.7245 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1536, allocations: 11.44 kB / 0.7245 GB, free: 9.969 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1536, allocations: 0 / 0.7245 GB, free: 9.969 MB / 0.545 GB Notification: Performance of Templates: time 0.002145/0.1557, allocations: 0.8211 MB / 0.7253 GB, free: 9.152 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8881984408944845] Failed to read output from testmodel.py, exit status != 0: 0.16279119113460183 0.17587359599999994 0.025267022 Calling exit ...