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.001295/0.001295, allocations: 106.2 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.001421/0.001421, allocations: 215.2 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.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002711/0.002711, allocations: 295 kB / 309.1 MB, free: 3.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.262/1.262, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002823/0.002823, allocations: 106.6 kB / 0.7343 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1968, allocations: 95.34 MB / 0.8274 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001828/0.1986, allocations: 0.5921 MB / 0.828 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004056/0.199, allocations: 104 kB / 0.8281 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.199, allocations: 0 / 0.8281 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.1991, allocations: 0 / 0.8281 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.1991, allocations: 0 / 0.8281 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1994, allocations: 43.89 kB / 0.8281 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1996, allocations: 63.92 kB / 0.8282 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1996, allocations: 7.922 kB / 0.8282 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.1996, allocations: 23.98 kB / 0.8282 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.1997, allocations: 27.95 kB / 0.8282 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1997, allocations: 0 / 0.8282 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1998, allocations: 47.97 kB / 0.8283 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.1999, allocations: 19.97 kB / 0.8283 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.1999, allocations: 27.84 kB / 0.8283 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.2001, allocations: 68.05 kB / 0.8284 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2001, allocations: 4 kB / 0.8284 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2001, allocations: 0 / 0.8284 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2001, allocations: 0 / 0.8284 GB, free: 8.77 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.0005374/0.2006, allocations: 371.4 kB / 0.8288 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2006, allocations: 8.031 kB / 0.8288 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.2007, allocations: 50.73 kB / 0.8288 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.2007, allocations: 8.891 kB / 0.8288 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2008, allocations: 168.3 kB / 0.829 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.2011, allocations: 285.6 kB / 0.8293 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2011, allocations: 4.375 kB / 0.8293 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.2014, allocations: 85.94 kB / 0.8293 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2014, allocations: 0 / 0.8293 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2014, allocations: 0 / 0.8293 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.2014, allocations: 0 / 0.8293 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.2018, allocations: 139.7 kB / 0.8295 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.202, allocations: 177.7 kB / 0.8296 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.2023, allocations: 94.45 kB / 0.8297 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2024, allocations: 40.83 kB / 0.8298 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2025, allocations: 3.984 kB / 0.8298 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2025, allocations: 34.5 kB / 0.8298 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.2025, allocations: 0 / 0.8298 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005661/0.2031, allocations: 161.8 kB / 0.83 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2031, allocations: 51.41 kB / 0.83 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.2032, allocations: 93.81 kB / 0.8301 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2032, allocations: 29.7 kB / 0.8301 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.2032, allocations: 80.14 kB / 0.8302 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.2033, allocations: 35.69 kB / 0.8302 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.2033, allocations: 29.7 kB / 0.8303 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2035, allocations: 318.8 kB / 0.8306 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2036, allocations: 31.98 kB / 0.8306 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2037, allocations: 31.97 kB / 0.8306 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.204, allocations: 72.81 kB / 0.8307 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.204, allocations: 0 / 0.8307 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003436/0.2044, allocations: 117.5 kB / 0.8308 GB, free: 6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2044, allocations: 7.938 kB / 0.8308 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2044, allocations: 0 / 0.8308 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2044, allocations: 4 kB / 0.8308 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.2046, allocations: 27.97 kB / 0.8309 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2046, allocations: 0 / 0.8309 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.2046, allocations: 11.89 kB / 0.8309 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.2046, allocations: 11.98 kB / 0.8309 GB, free: 5.938 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 8.86e-05/0.2047, allocations: 109.8 kB / 0.831 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.2047, allocations: 3.938 kB / 0.831 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.2048, allocations: 15.97 kB / 0.831 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2048, allocations: 0 / 0.831 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2048, allocations: 0 / 0.831 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2048, allocations: 7.984 kB / 0.831 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.205, allocations: 181.6 kB / 0.8312 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.205, allocations: 0 / 0.8312 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2051, allocations: 23.98 kB / 0.8312 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2051, allocations: 3.938 kB / 0.8312 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2051, allocations: 11.98 kB / 0.8312 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2051, allocations: 0 / 0.8312 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2051, allocations: 3.938 kB / 0.8312 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.2055, allocations: 141 kB / 0.8314 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2055, allocations: 92.97 kB / 0.8314 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2055, allocations: 4 kB / 0.8314 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/0.2056, allocations: 4 kB / 0.8315 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.2057, allocations: 11.92 kB / 0.8315 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2057, allocations: 11.98 kB / 0.8315 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.2057, allocations: 75.28 kB / 0.8315 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2057, allocations: 0 / 0.8315 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002223/0.2059, allocations: 20 kB / 0.8316 GB, free: 5.133 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.0007684/0.2067, allocations: 0.6991 MB / 0.8322 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.2071, allocations: 91.86 kB / 0.8323 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2071, allocations: 0 / 0.8323 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.2072, allocations: 47.91 kB / 0.8324 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.2073, allocations: 11.94 kB / 0.8324 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.2079, allocations: 194.6 kB / 0.8326 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2082, allocations: 0.6871 MB / 0.8332 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.2083, allocations: 43.72 kB / 0.8333 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.2084, allocations: 19.42 kB / 0.8333 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.2084, allocations: 0 / 0.8333 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.2319, allocations: 2.055 MB / 0.8353 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.182, allocations: 8.109 kB / 0.8353 GB, free: 1.309 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.471718490123749] Failed to read output from testmodel.py, exit status != 0: 8.24927537003532 8.265498744 8.06256856 Calling exit ...