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.001282/0.001282, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001398/0.001398, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.9408/0.9408, allocations: 145 MB / 453.8 MB, free: 0.7109 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.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [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.001958/0.001958, allocations: 66.41 kB / 0.628 GB, free: 10.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1633, allocations: 87.82 MB / 0.7138 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002884/0.1662, allocations: 1.565 MB / 0.7153 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003833/0.1666, allocations: 132.5 kB / 0.7155 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.1666, allocations: 0 / 0.7155 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.1666, allocations: 3.938 kB / 0.7155 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.1667, allocations: 3.938 kB / 0.7155 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.167, allocations: 35.91 kB / 0.7155 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.167, allocations: 27.97 kB / 0.7155 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1671, allocations: 12.27 kB / 0.7155 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.1672, allocations: 19.94 kB / 0.7156 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.1672, allocations: 23.91 kB / 0.7156 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1672, allocations: 7.938 kB / 0.7156 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.1673, allocations: 19.97 kB / 0.7156 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.1673, allocations: 8 kB / 0.7156 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.1674, allocations: 19.86 kB / 0.7156 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1675, allocations: 47.81 kB / 0.7157 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1675, allocations: 0 / 0.7157 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1675, allocations: 0 / 0.7157 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1675, allocations: 0 / 0.7157 GB, free: 0.8555 MB / 0.5294 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.0005471/0.168, allocations: 353.1 kB / 0.716 GB, free: 472 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1681, allocations: 12.03 kB / 0.716 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.1681, allocations: 34.75 kB / 0.7161 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.1682, allocations: 4.938 kB / 0.7161 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1683, allocations: 168.3 kB / 0.7162 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1683, allocations: 384 / 0.7162 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1684, allocations: 4.375 kB / 0.7162 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.1686, allocations: 66.16 kB / 0.7163 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1686, allocations: 11.88 kB / 0.7163 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1686, allocations: 4 kB / 0.7163 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1686, allocations: 0 / 0.7163 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.1688, allocations: 43.95 kB / 0.7163 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1693, allocations: 276.8 kB / 0.7166 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.1697, allocations: 62.48 kB / 0.7167 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.1698, allocations: 28.89 kB / 0.7167 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/0.1702, allocations: 401.5 kB / 0.7171 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1702, allocations: 30.56 kB / 0.7171 GB, free: 15.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1702, allocations: 0 / 0.7171 GB, free: 15.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004639/0.1706, allocations: 101.6 kB / 0.7172 GB, free: 15.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.1707, allocations: 55.34 kB / 0.7173 GB, free: 14.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1708, allocations: 113.8 kB / 0.7174 GB, free: 14.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1708, allocations: 29.7 kB / 0.7174 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.1709, allocations: 80.14 kB / 0.7175 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1709, allocations: 15.89 kB / 0.7175 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.171, allocations: 13.7 kB / 0.7175 GB, free: 14.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.1711, allocations: 326.8 kB / 0.7178 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1712, allocations: 15.97 kB / 0.7178 GB, free: 14.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.1713, allocations: 19.98 kB / 0.7178 GB, free: 14.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.1715, allocations: 48.81 kB / 0.7179 GB, free: 14.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1715, allocations: 0 / 0.7179 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002381/0.1717, allocations: 85.55 kB / 0.718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1718, allocations: 4 kB / 0.718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1718, allocations: 0 / 0.718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1718, allocations: 0 / 0.718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.1719, allocations: 11.98 kB / 0.718 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1719, allocations: 0 / 0.718 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.1719, allocations: 7.984 kB / 0.718 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1719, allocations: 0 / 0.718 GB, free: 14.15 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 0.0001004/0.172, allocations: 117.8 kB / 0.7181 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1721, allocations: 8 kB / 0.7181 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.1724, allocations: 77.55 kB / 0.7182 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1724, allocations: 0 / 0.7182 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1724, allocations: 7.875 kB / 0.7182 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.1724, allocations: 8 kB / 0.7182 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1726, allocations: 169.5 kB / 0.7184 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1726, allocations: 7.984 kB / 0.7184 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.368e-05/0.1727, allocations: 8 kB / 0.7184 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.1727, allocations: 4 kB / 0.7184 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1727, allocations: 3.984 kB / 0.7184 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1727, allocations: 0 / 0.7184 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1727, allocations: 384 / 0.7184 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.173, allocations: 171.4 kB / 0.7186 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.173, allocations: 77.11 kB / 0.7186 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.173, allocations: 11.98 kB / 0.7186 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.1731, allocations: 0 / 0.7186 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.1732, allocations: 11.98 kB / 0.7187 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1732, allocations: 0 / 0.7187 GB, free: 13.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.1732, allocations: 95.52 kB / 0.7187 GB, free: 13.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 3.938 kB / 0.7187 GB, free: 13.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002338/0.1735, allocations: 15.94 kB / 0.7188 GB, free: 13.26 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.0006875/0.1742, allocations: 0.7124 MB / 0.7195 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.1744, allocations: 43.95 kB / 0.7195 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1744, allocations: 0 / 0.7195 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1745, allocations: 27.92 kB / 0.7195 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1748, allocations: 7.984 kB / 0.7195 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1765, allocations: 1.284 MB / 0.7208 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1768, allocations: 0.6768 MB / 0.7214 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.1768, allocations: 8 kB / 0.7215 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.1769, allocations: 19.42 kB / 0.7215 GB, free: 10.36 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.1769, allocations: 0 / 0.7215 GB, free: 10.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.2009, allocations: 1.718 MB / 0.7232 GB, free: 8.738 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.065, allocations: 8.234 kB / 0.7232 GB, free: 8.734 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.807383576000575] Failed to read output from testmodel.py, exit status != 0: 8.13397430400073 8.148392008 7.978002902 Calling exit ...