Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.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.001404/0.001404, 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.00154/0.00154, allocations: 209.6 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.793 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.8968/0.8968, 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.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",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.00217/0.00217, allocations: 70.66 kB / 0.6331 GB, free: 6.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1811, allocations: 87.9 MB / 0.719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001732/0.1828, allocations: 0.5792 MB / 0.7195 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003921/0.1832, allocations: 115.5 kB / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.1832, allocations: 0 / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.1833, allocations: 0 / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.1833, allocations: 0 / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1836, allocations: 43.89 kB / 0.7197 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1837, allocations: 59.94 kB / 0.7197 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.1838, allocations: 3.984 kB / 0.7197 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.1838, allocations: 27.98 kB / 0.7198 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.1839, allocations: 19.97 kB / 0.7198 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1839, allocations: 4 kB / 0.7198 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.184, allocations: 47.94 kB / 0.7198 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.1841, allocations: 35.84 kB / 0.7199 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.1841, allocations: 11.98 kB / 0.7199 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1843, allocations: 75.72 kB / 0.72 GB, free: 13.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1843, allocations: 0 / 0.72 GB, free: 13.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1843, allocations: 0 / 0.72 GB, free: 13.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1843, allocations: 0 / 0.72 GB, free: 13.79 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.0005213/0.1848, allocations: 294.3 kB / 0.7202 GB, free: 13.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1848, allocations: 8.031 kB / 0.7202 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.1849, allocations: 42.75 kB / 0.7203 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1849, allocations: 4.938 kB / 0.7203 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.185, allocations: 118.5 kB / 0.7204 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004428/0.1854, allocations: 0.5221 MB / 0.7209 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1855, allocations: 8.375 kB / 0.7209 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1857, allocations: 85.88 kB / 0.721 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1857, allocations: 0 / 0.721 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1857, allocations: 4 kB / 0.721 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1857, allocations: 4 kB / 0.721 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.1861, allocations: 119.8 kB / 0.7211 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.1862, allocations: 160.6 kB / 0.7213 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.1865, allocations: 82.53 kB / 0.7214 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1867, allocations: 44.83 kB / 0.7214 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1867, allocations: 4 kB / 0.7214 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.1867, allocations: 46.44 kB / 0.7214 GB, free: 12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.113e-06/0.1867, allocations: 0 / 0.7214 GB, free: 12 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005049/0.1872, allocations: 141.9 kB / 0.7216 GB, free: 11.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.1873, allocations: 55.41 kB / 0.7216 GB, free: 11.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.996e-05/0.1874, allocations: 89.86 kB / 0.7217 GB, free: 11.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1874, allocations: 29.7 kB / 0.7217 GB, free: 11.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.1874, allocations: 84.08 kB / 0.7218 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.1875, allocations: 39.64 kB / 0.7219 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.1875, allocations: 29.7 kB / 0.7219 GB, free: 11.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.1877, allocations: 322.8 kB / 0.7222 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1878, allocations: 27.98 kB / 0.7222 GB, free: 11.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1879, allocations: 36.34 kB / 0.7223 GB, free: 11.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1882, allocations: 80.75 kB / 0.7223 GB, free: 11.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1882, allocations: 0 / 0.7223 GB, free: 11.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003089/0.1885, allocations: 109.6 kB / 0.7224 GB, free: 10.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1885, allocations: 7.938 kB / 0.7225 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1885, allocations: 0 / 0.7225 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1885, allocations: 3.984 kB / 0.7225 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1887, allocations: 31.98 kB / 0.7225 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1887, allocations: 3.938 kB / 0.7225 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.1888, allocations: 7.938 kB / 0.7225 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1888, allocations: 3.984 kB / 0.7225 GB, free: 10.86 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: 1 (n) * 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 9.165e-05/0.1889, allocations: 117.8 kB / 0.7226 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1889, allocations: 7.891 kB / 0.7226 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.1889, allocations: 15.89 kB / 0.7226 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1889, allocations: 4 kB / 0.7226 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1889, allocations: 0 / 0.7226 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1889, allocations: 4 kB / 0.7226 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1891, allocations: 144.7 kB / 0.7228 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1891, allocations: 0 / 0.7228 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.1892, allocations: 23.97 kB / 0.7228 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1892, allocations: 3.938 kB / 0.7228 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1892, allocations: 4 kB / 0.7228 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1892, allocations: 0 / 0.7228 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1892, allocations: 0 / 0.7228 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.1896, allocations: 148.9 kB / 0.723 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.1896, allocations: 11.92 kB / 0.723 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1896, allocations: 4 kB / 0.723 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.1897, allocations: 8 kB / 0.723 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.1897, allocations: 11.97 kB / 0.723 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.1897, allocations: 4 kB / 0.723 GB, free: 10.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.1898, allocations: 75.28 kB / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1898, allocations: 0 / 0.7231 GB, free: 10.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002185/0.19, allocations: 27.92 kB / 0.7231 GB, free: 10.18 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: 1 (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.0007528/0.1907, allocations: 0.702 MB / 0.7238 GB, free: 9.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003141/0.1911, allocations: 84.42 kB / 0.7239 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1911, allocations: 3.938 kB / 0.7239 GB, free: 9.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1912, allocations: 52.11 kB / 0.7239 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1913, allocations: 4.219 kB / 0.7239 GB, free: 9.309 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.1919, allocations: 202.3 kB / 0.7241 GB, free: 9.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.242e-05/0.1919, allocations: 67.34 kB / 0.7242 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.1921, allocations: 39.94 kB / 0.7242 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.1922, allocations: 23.36 kB / 0.7242 GB, free: 8.922 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.1922, allocations: 0 / 0.7242 GB, free: 8.922 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.2219, allocations: 2.536 MB / 0.7267 GB, free: 6.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.34, allocations: 10.09 kB / 0.7267 GB, free: 6.512 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.126275314949453] Failed to read output from testmodel.py, exit status != 0: 11.446331440936774 11.47401957 11.285001356 Calling exit ...