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.001833/0.001833, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001626/0.001626, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.785 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 / 457.4 MB, free: 15.27 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",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.002012/0.002012, allocations: 67.25 kB / 0.6331 GB, free: 6.641 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1808, allocations: 87.89 MB / 0.719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001864/0.1827, allocations: 0.5846 MB / 0.7195 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.1829, allocations: 55.81 kB / 0.7196 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.432e-05/0.1829, allocations: 0 / 0.7196 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.183, allocations: 0 / 0.7196 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.183, allocations: 0 / 0.7196 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1832, allocations: 11.98 kB / 0.7196 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.415e-05/0.1832, allocations: 0 / 0.7196 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.1833, allocations: 4 kB / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.368e-05/0.1833, allocations: 3.984 kB / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.645e-05/0.1833, allocations: 7.875 kB / 0.7196 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-06/0.1833, allocations: 7.938 kB / 0.7196 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.1834, allocations: 15.98 kB / 0.7196 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.1834, allocations: 0 / 0.7196 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.1834, allocations: 0 / 0.7196 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.147e-05/0.1835, allocations: 4 kB / 0.7196 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.1835, allocations: 4 kB / 0.7196 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.596e-06/0.1835, allocations: 3.984 kB / 0.7196 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.1835, allocations: 0 / 0.7196 GB, free: 14.07 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.0002894/0.1838, allocations: 234.4 kB / 0.7199 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1838, allocations: 12.03 kB / 0.7199 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.1839, allocations: 34.75 kB / 0.7199 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.1839, allocations: 0.9375 kB / 0.7199 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.6e-05/0.184, allocations: 110.5 kB / 0.72 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.184, allocations: 8.375 kB / 0.72 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-06/0.184, allocations: 384 / 0.72 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.427e-05/0.1841, allocations: 30.27 kB / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1841, allocations: 3.938 kB / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.1841, allocations: 0 / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1841, allocations: 3.938 kB / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.1841, allocations: 7.938 kB / 0.7201 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.1843, allocations: 124.8 kB / 0.7202 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.532e-05/0.1843, allocations: 26.56 kB / 0.7202 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.1844, allocations: 8.859 kB / 0.7202 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.1845, allocations: 8.047 kB / 0.7202 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1845, allocations: 34.56 kB / 0.7203 GB, free: 13.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1845, allocations: 0 / 0.7203 GB, free: 13.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.1846, allocations: 45.58 kB / 0.7203 GB, free: 13.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1847, allocations: 51.41 kB / 0.7204 GB, free: 13.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.1847, allocations: 93.84 kB / 0.7204 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1848, allocations: 25.7 kB / 0.7205 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.1848, allocations: 84.27 kB / 0.7205 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.1848, allocations: 4 kB / 0.7206 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.1848, allocations: 13.72 kB / 0.7206 GB, free: 12.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.185, allocations: 314.8 kB / 0.7209 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.185, allocations: 0 / 0.7209 GB, free: 12.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-06/0.185, allocations: 4 kB / 0.7209 GB, free: 12.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.185, allocations: 16.84 kB / 0.7209 GB, free: 12.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.185, allocations: 0 / 0.7209 GB, free: 12.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.829e-05/0.1851, allocations: 45.59 kB / 0.7209 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1851, allocations: 8.094 kB / 0.7209 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1851, allocations: 3.938 kB / 0.7209 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1851, allocations: 7.938 kB / 0.7209 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.1852, allocations: 0 / 0.7209 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1852, allocations: 3.984 kB / 0.721 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.1852, allocations: 4 kB / 0.721 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1852, allocations: 0 / 0.721 GB, free: 12.52 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.261e-05/0.1853, allocations: 109.8 kB / 0.7211 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.1853, allocations: 0 / 0.7211 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-05/0.1854, allocations: 52.72 kB / 0.7211 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1854, allocations: 4.031 kB / 0.7211 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1854, allocations: 4 kB / 0.7211 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1854, allocations: 0 / 0.7211 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.878e-05/0.1855, allocations: 112.8 kB / 0.7212 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1855, allocations: 0 / 0.7212 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.1855, allocations: 7.938 kB / 0.7212 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1855, allocations: 3.984 kB / 0.7212 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1855, allocations: 3.938 kB / 0.7212 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1855, allocations: 0 / 0.7212 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1855, allocations: 4 kB / 0.7212 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.1856, allocations: 61.14 kB / 0.7213 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.1856, allocations: 7.922 kB / 0.7213 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1856, allocations: 7.938 kB / 0.7213 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.1857, allocations: 0 / 0.7213 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.1857, allocations: 4 kB / 0.7213 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1857, allocations: 0 / 0.7213 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.1857, allocations: 75.28 kB / 0.7214 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1857, allocations: 0 / 0.7214 GB, free: 11.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001893/0.1859, allocations: 4 kB / 0.7214 GB, free: 11.99 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.0004404/0.1863, allocations: 0.6086 MB / 0.722 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.399e-05/0.1864, allocations: 19.92 kB / 0.722 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1864, allocations: 0 / 0.722 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.1864, allocations: 4 kB / 0.722 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1866, allocations: 7.938 kB / 0.722 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.1869, allocations: 114.5 kB / 0.7221 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.112e-05/0.1869, allocations: 55.36 kB / 0.7222 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.1869, allocations: 0 / 0.7222 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.1869, allocations: 11.44 kB / 0.7222 GB, free: 11.08 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1869, allocations: 4.125 kB / 0.7222 GB, free: 11.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.2149, allocations: 1.579 MB / 0.7237 GB, free: 9.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.37, allocations: 14.47 kB / 0.7238 GB, free: 9.621 MB / 0.545 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial_res.csv --start-time 0 --stop-time 12.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00516 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.121057773008943] Failed to read output from testmodel.py, exit status != 0: 11.475932283326983 11.50318944 11.314798823 Calling exit ...