Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001227/0.001227, allocations: 110 kB / 16.41 MB, free: 6.508 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.001259/0.00126, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.462/1.462, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.9332/0.9332, allocations: 143.3 MB / 440.5 MB, free: 11.23 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.002031, allocations: 63.86 kB / 0.6038 GB, free: 11.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1789, allocations: 82.03 MB / 0.6839 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.003197/0.1822, allocations: 1.515 MB / 0.6854 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004587/0.1827, allocations: 116.5 kB / 0.6855 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.1828, allocations: 8 kB / 0.6855 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.1828, allocations: 3.938 kB / 0.6855 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.1828, allocations: 7.922 kB / 0.6855 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1831, allocations: 15.97 kB / 0.6855 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.1831, allocations: 35.86 kB / 0.6856 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.1832, allocations: 8 kB / 0.6856 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.1833, allocations: 19.97 kB / 0.6856 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.1833, allocations: 15.92 kB / 0.6856 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1834, allocations: 0 / 0.6856 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.821e-05/0.1835, allocations: 16 kB / 0.6856 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.1835, allocations: 4 kB / 0.6856 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.1835, allocations: 15.92 kB / 0.6857 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1837, allocations: 36.11 kB / 0.6857 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.1837, allocations: 3.938 kB / 0.6857 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.009e-06/0.1837, allocations: 4 kB / 0.6857 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.1838, allocations: 0 / 0.6857 GB, free: 7.859 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005616/0.1843, allocations: 351.3 kB / 0.686 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.1844, allocations: 8.031 kB / 0.686 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.1845, allocations: 38.75 kB / 0.6861 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.1845, allocations: 4.938 kB / 0.6861 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.1846, allocations: 172.3 kB / 0.6862 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1847, allocations: 384 / 0.6862 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1847, allocations: 4.375 kB / 0.6863 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.1849, allocations: 54.22 kB / 0.6863 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.185, allocations: 7.938 kB / 0.6863 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.185, allocations: 4 kB / 0.6863 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.185, allocations: 0 / 0.6863 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1852, allocations: 43.89 kB / 0.6864 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.1856, allocations: 268.9 kB / 0.6866 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.186, allocations: 50.61 kB / 0.6867 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.1861, allocations: 28.83 kB / 0.6867 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.1864, allocations: 81.11 kB / 0.6868 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1864, allocations: 34.5 kB / 0.6868 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.1864, allocations: 0 / 0.6868 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004128/0.1868, allocations: 97.56 kB / 0.6869 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1869, allocations: 55.41 kB / 0.6869 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.187, allocations: 109.8 kB / 0.687 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.187, allocations: 25.7 kB / 0.6871 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.1871, allocations: 80.14 kB / 0.6871 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1871, allocations: 11.95 kB / 0.6872 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1871, allocations: 13.72 kB / 0.6872 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1873, allocations: 318.8 kB / 0.6875 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.1874, allocations: 15.98 kB / 0.6875 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.1875, allocations: 23.97 kB / 0.6875 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.1879, allocations: 52.7 kB / 0.6876 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1879, allocations: 0 / 0.6876 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002224/0.1881, allocations: 70.16 kB / 0.6876 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1881, allocations: 8 kB / 0.6876 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1881, allocations: 3.938 kB / 0.6876 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1882, allocations: 4 kB / 0.6876 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/0.1882, allocations: 11.98 kB / 0.6877 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1883, allocations: 3.984 kB / 0.6877 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.1883, allocations: 8 kB / 0.6877 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1883, allocations: 0 / 0.6877 GB, free: 5.582 MB / 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 (rea2Int.y,fac.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.0001534/0.1885, allocations: 126.5 kB / 0.6878 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1885, allocations: 7.938 kB / 0.6878 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.1888, allocations: 85.14 kB / 0.6879 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1888, allocations: 4 kB / 0.6879 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1888, allocations: 0 / 0.6879 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1888, allocations: 0 / 0.6879 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.189, allocations: 165.6 kB / 0.688 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.189, allocations: 0 / 0.688 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.1891, allocations: 15.98 kB / 0.6881 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1891, allocations: 0 / 0.6881 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1891, allocations: 4 kB / 0.6881 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1892, allocations: 4 kB / 0.6881 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1892, allocations: 0 / 0.6881 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.1896, allocations: 171.4 kB / 0.6882 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.1897, allocations: 85.09 kB / 0.6883 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1897, allocations: 0 / 0.6883 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.1898, allocations: 4 kB / 0.6883 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.1899, allocations: 11.98 kB / 0.6883 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.1899, allocations: 0 / 0.6883 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.1899, allocations: 83.28 kB / 0.6884 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1899, allocations: 0 / 0.6884 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002241/0.1901, allocations: 8 kB / 0.6884 GB, free: 4.723 MB / 0.5137 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.y,rea2Int.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.0007158/0.1909, allocations: 0.724 MB / 0.6891 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1911, allocations: 39.95 kB / 0.6892 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1911, allocations: 0 / 0.6892 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.1913, allocations: 23.98 kB / 0.6892 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1917, allocations: 4 kB / 0.6892 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1922, allocations: 152 kB / 0.6893 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.1927, allocations: 0.6768 MB / 0.69 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.1928, allocations: 4 kB / 0.69 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.1928, allocations: 15.44 kB / 0.69 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1928, allocations: 0 / 0.69 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.2174, allocations: 1.591 MB / 0.6916 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.388, allocations: 4.062 kB / 0.6916 GB, free: 1.48 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial_res.csv --start-time 0 --stop-time 13 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0052 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.182847645017318] Failed to read output from testmodel.py, exit status != 0: 8.475148865021765 8.501075302 8.312914524 Calling exit ...