Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001504/0.001504, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001424/0.001424, allocations: 204.2 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.393/1.393, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002675/0.002675, allocations: 288.8 kB / 312.7 MB, free: 2.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.167/1.167, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002866/0.002866, allocations: 100.8 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 95.38 MB / 0.8327 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.002124/0.1779, allocations: 0.5999 MB / 0.8333 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00046/0.1783, allocations: 96.09 kB / 0.8334 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.1783, allocations: 0 / 0.8334 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.1784, allocations: 3.938 kB / 0.8334 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.1784, allocations: 4 kB / 0.8334 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1788, allocations: 47.88 kB / 0.8334 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1789, allocations: 63.94 kB / 0.8335 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.1789, allocations: 3.984 kB / 0.8335 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.631e-05/0.179, allocations: 23.98 kB / 0.8335 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.179, allocations: 23.91 kB / 0.8335 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1791, allocations: 4 kB / 0.8335 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1792, allocations: 51.94 kB / 0.8336 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.1793, allocations: 19.98 kB / 0.8336 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.1793, allocations: 19.91 kB / 0.8336 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1795, allocations: 68.06 kB / 0.8337 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1795, allocations: 7.984 kB / 0.8337 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1795, allocations: 0 / 0.8337 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1795, allocations: 0 / 0.8337 GB, free: 7.227 MB / 0.5762 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.0005501/0.18, allocations: 294.3 kB / 0.834 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1801, allocations: 13.34 kB / 0.834 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.1801, allocations: 42.75 kB / 0.834 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.1802, allocations: 8.922 kB / 0.834 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1803, allocations: 110.4 kB / 0.8341 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004772/0.1808, allocations: 0.5337 MB / 0.8347 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1808, allocations: 8.375 kB / 0.8347 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.1811, allocations: 81.77 kB / 0.8347 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1811, allocations: 0 / 0.8347 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1811, allocations: 0 / 0.8347 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1811, allocations: 0 / 0.8347 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.1814, allocations: 135.7 kB / 0.8349 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.1817, allocations: 152.7 kB / 0.835 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.182, allocations: 90.45 kB / 0.8351 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1821, allocations: 36.84 kB / 0.8351 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1821, allocations: 0 / 0.8351 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1822, allocations: 42.83 kB / 0.8352 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.1822, allocations: 4 kB / 0.8352 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005579/0.1827, allocations: 141.5 kB / 0.8353 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.1828, allocations: 55.41 kB / 0.8354 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.1829, allocations: 97.78 kB / 0.8355 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1829, allocations: 29.7 kB / 0.8355 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.1829, allocations: 80.14 kB / 0.8356 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.183, allocations: 35.69 kB / 0.8356 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1831, allocations: 25.7 kB / 0.8356 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1832, allocations: 322.8 kB / 0.8359 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1833, allocations: 27.97 kB / 0.836 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1835, allocations: 40.36 kB / 0.836 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.1837, allocations: 76.97 kB / 0.8361 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1837, allocations: 0 / 0.8361 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003313/0.1841, allocations: 117.5 kB / 0.8362 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1841, allocations: 8 kB / 0.8362 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1841, allocations: 0 / 0.8362 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1841, allocations: 0 / 0.8362 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1843, allocations: 27.86 kB / 0.8362 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.1843, allocations: 4 kB / 0.8362 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.1843, allocations: 15.92 kB / 0.8362 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1843, allocations: 4 kB / 0.8362 GB, free: 4.293 MB / 0.5762 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 0.0001022/0.1845, allocations: 114.5 kB / 0.8363 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.1845, allocations: 15.88 kB / 0.8364 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.1845, allocations: 11.89 kB / 0.8364 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1845, allocations: 0 / 0.8364 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1845, allocations: 4 kB / 0.8364 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1845, allocations: 0 / 0.8364 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1847, allocations: 140.8 kB / 0.8365 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1847, allocations: 0 / 0.8365 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.1848, allocations: 35.84 kB / 0.8365 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1848, allocations: 4 kB / 0.8365 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1848, allocations: 0 / 0.8365 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1848, allocations: 4 kB / 0.8366 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1848, allocations: 3.938 kB / 0.8366 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.1852, allocations: 145 kB / 0.8367 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.1852, allocations: 11.88 kB / 0.8367 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1852, allocations: 0 / 0.8367 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.1853, allocations: 11.98 kB / 0.8367 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.1853, allocations: 7.984 kB / 0.8367 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1854, allocations: 7.984 kB / 0.8367 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.583e-05/0.1854, allocations: 79.28 kB / 0.8368 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1854, allocations: 0 / 0.8368 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002344/0.1856, allocations: 23.94 kB / 0.8368 GB, free: 3.609 MB / 0.5762 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.0008048/0.1864, allocations: 0.6904 MB / 0.8375 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.1868, allocations: 87.88 kB / 0.8376 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1868, allocations: 0 / 0.8376 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1869, allocations: 47.89 kB / 0.8376 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.1871, allocations: 12.7 kB / 0.8376 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.1877, allocations: 198.5 kB / 0.8378 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.1878, allocations: 71.33 kB / 0.8379 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002025/0.188, allocations: 39.73 kB / 0.8379 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.188, allocations: 19.42 kB / 0.838 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.188, allocations: 0 / 0.838 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.218, allocations: 2.535 MB / 0.8404 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.86, allocations: 4.062 kB / 0.8404 GB, free: 15.96 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.909040971193463] Failed to read output from testmodel.py, exit status != 0: 10.9650310552679 10.981656381 10.799141893 Calling exit ...