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.00124/0.00124, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001437/0.001437, allocations: 213.8 kB / 22.24 MB, free: 5.242 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.789 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.002478/0.002478, allocations: 284.9 kB / 312.7 MB, free: 2.605 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.161/1.161, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.002851/0.002851, allocations: 95.66 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1739, allocations: 95.4 MB / 0.8327 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001755/0.1757, allocations: 0.5843 MB / 0.8333 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.1761, allocations: 108.1 kB / 0.8334 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.1761, allocations: 0 / 0.8334 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.1761, allocations: 3.938 kB / 0.8334 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.1761, allocations: 0 / 0.8334 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.1765, allocations: 43.88 kB / 0.8334 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1766, allocations: 63.94 kB / 0.8335 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.1767, allocations: 4 kB / 0.8335 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.1767, allocations: 19.98 kB / 0.8335 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.1768, allocations: 19.97 kB / 0.8335 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1768, allocations: 4 kB / 0.8335 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1769, allocations: 59.92 kB / 0.8336 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.177, allocations: 19.92 kB / 0.8336 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.177, allocations: 19.92 kB / 0.8336 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1772, allocations: 75.98 kB / 0.8337 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1772, allocations: 4 kB / 0.8337 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1772, allocations: 0 / 0.8337 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1772, allocations: 0 / 0.8337 GB, free: 7.285 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.0004908/0.1777, allocations: 298.3 kB / 0.834 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1777, allocations: 9.344 kB / 0.834 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.1777, allocations: 42.75 kB / 0.834 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.1778, allocations: 4.938 kB / 0.834 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.766e-05/0.1779, allocations: 126.4 kB / 0.8341 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003977/0.1783, allocations: 0.526 MB / 0.8347 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1783, allocations: 384 / 0.8347 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1785, allocations: 85.94 kB / 0.8347 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1785, allocations: 0 / 0.8347 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1785, allocations: 4 kB / 0.8347 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1785, allocations: 0 / 0.8347 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.1788, allocations: 131.8 kB / 0.8349 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.179, allocations: 144.7 kB / 0.835 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1793, allocations: 90.47 kB / 0.8351 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1794, allocations: 44.83 kB / 0.8351 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1794, allocations: 4 kB / 0.8351 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1795, allocations: 34.5 kB / 0.8352 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.1795, allocations: 0 / 0.8352 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0004954/0.18, allocations: 150.2 kB / 0.8353 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.18, allocations: 55.34 kB / 0.8354 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.616e-05/0.1801, allocations: 89.86 kB / 0.8355 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1801, allocations: 25.7 kB / 0.8355 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.1801, allocations: 80.14 kB / 0.8356 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.1802, allocations: 39.69 kB / 0.8356 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.1802, allocations: 33.7 kB / 0.8356 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1803, allocations: 314.8 kB / 0.8359 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1805, allocations: 35.97 kB / 0.836 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1806, allocations: 32.03 kB / 0.836 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.1808, allocations: 72.81 kB / 0.8361 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1808, allocations: 0 / 0.8361 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003041/0.1811, allocations: 117.5 kB / 0.8362 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1812, allocations: 7.938 kB / 0.8362 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1812, allocations: 7.922 kB / 0.8362 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1812, allocations: 4 kB / 0.8362 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1813, allocations: 23.98 kB / 0.8362 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1813, allocations: 3.938 kB / 0.8362 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.1814, allocations: 7.938 kB / 0.8362 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1814, allocations: 11.98 kB / 0.8362 GB, free: 4.352 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.25e-05/0.1815, allocations: 110.5 kB / 0.8363 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.1815, allocations: 11.89 kB / 0.8364 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.1815, allocations: 15.89 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1815, allocations: 0 / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1815, allocations: 0 / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1815, allocations: 4 kB / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.1817, allocations: 144.7 kB / 0.8365 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1817, allocations: 0 / 0.8365 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1818, allocations: 27.91 kB / 0.8365 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1818, allocations: 7.938 kB / 0.8365 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1818, allocations: 4 kB / 0.8366 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1818, allocations: 7.938 kB / 0.8366 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1818, allocations: 0 / 0.8366 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.1821, allocations: 141 kB / 0.8367 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.1822, allocations: 11.88 kB / 0.8367 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1822, allocations: 8 kB / 0.8367 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.1822, allocations: 0 / 0.8367 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.1823, allocations: 15.97 kB / 0.8367 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1823, allocations: 4 kB / 0.8367 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.1823, allocations: 79.22 kB / 0.8368 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1823, allocations: 0 / 0.8368 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002183/0.1825, allocations: 27.98 kB / 0.8368 GB, free: 3.668 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.0007196/0.1833, allocations: 0.6904 MB / 0.8375 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1836, allocations: 92.3 kB / 0.8376 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1836, allocations: 4 kB / 0.8376 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1837, allocations: 51.89 kB / 0.8376 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.1839, allocations: 7.938 kB / 0.8377 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.1844, allocations: 186.6 kB / 0.8378 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.917e-05/0.1844, allocations: 67.34 kB / 0.8379 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.1846, allocations: 47.7 kB / 0.8379 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.1847, allocations: 27.42 kB / 0.838 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1847, allocations: 0 / 0.838 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.2166, allocations: 2.527 MB / 0.8404 GB, free: 28 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.85, allocations: 2.922 kB / 0.8404 GB, free: 28 kB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 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.779436527751386] Failed to read output from testmodel.py, exit status != 0: 10.953105900902301 10.968445859000001 10.788287088 Calling exit ...