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.001275/0.001275, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001708/0.001708, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002514/0.002514, allocations: 285.7 kB / 313.5 MB, free: 2.801 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.273/1.273, allocations: 180.6 MB / 0.5377 GB, free: 13.11 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",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.00284/0.00284, allocations: 101.6 kB / 0.7404 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1847, allocations: 95.38 MB / 0.8335 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001758/0.1865, allocations: 0.5946 MB / 0.8341 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.1869, allocations: 116 kB / 0.8342 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.942e-05/0.1869, allocations: 0 / 0.8342 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.187, allocations: 7.938 kB / 0.8342 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.187, allocations: 0 / 0.8342 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.1873, allocations: 39.89 kB / 0.8343 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1875, allocations: 63.92 kB / 0.8343 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.1875, allocations: 8 kB / 0.8343 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.1875, allocations: 23.98 kB / 0.8344 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.1876, allocations: 23.95 kB / 0.8344 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1876, allocations: 4 kB / 0.8344 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1878, allocations: 55.94 kB / 0.8344 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.1878, allocations: 15.98 kB / 0.8345 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.1878, allocations: 19.86 kB / 0.8345 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.188, allocations: 80.03 kB / 0.8346 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.188, allocations: 0 / 0.8346 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.188, allocations: 0 / 0.8346 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.188, allocations: 0 / 0.8346 GB, free: 7.582 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.0005803/0.1886, allocations: 294.3 kB / 0.8348 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1886, allocations: 13.34 kB / 0.8349 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.502e-05/0.1887, allocations: 192 / 0.8349 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.1887, allocations: 46.73 kB / 0.8349 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1887, allocations: 4.938 kB / 0.8349 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.1888, allocations: 114.4 kB / 0.835 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/0.1892, allocations: 0.526 MB / 0.8355 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1892, allocations: 4.375 kB / 0.8355 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1895, allocations: 89.7 kB / 0.8356 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1895, allocations: 0 / 0.8356 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1895, allocations: 0 / 0.8356 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1895, allocations: 4 kB / 0.8356 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.1899, allocations: 135.8 kB / 0.8357 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.1901, allocations: 144.7 kB / 0.8359 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.1904, allocations: 98.41 kB / 0.836 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1905, allocations: 44.83 kB / 0.836 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1905, allocations: 0 / 0.836 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1906, allocations: 34.5 kB / 0.8361 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 8.22e-07/0.1906, allocations: 0 / 0.8361 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005461/0.1911, allocations: 154.1 kB / 0.8362 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1912, allocations: 51.41 kB / 0.8362 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.74e-05/0.1912, allocations: 89.86 kB / 0.8363 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1912, allocations: 25.7 kB / 0.8364 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.1913, allocations: 88.14 kB / 0.8364 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.1913, allocations: 47.62 kB / 0.8365 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1914, allocations: 25.7 kB / 0.8365 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1915, allocations: 318.8 kB / 0.8368 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1917, allocations: 27.98 kB / 0.8368 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1918, allocations: 36.02 kB / 0.8369 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.1921, allocations: 76.75 kB / 0.837 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1921, allocations: 4 kB / 0.837 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003251/0.1924, allocations: 121.5 kB / 0.8371 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1924, allocations: 4 kB / 0.8371 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1924, allocations: 0 / 0.8371 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1924, allocations: 3.984 kB / 0.8371 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1926, allocations: 23.98 kB / 0.8371 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1926, allocations: 0 / 0.8371 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.1926, allocations: 11.94 kB / 0.8371 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.1927, allocations: 11.97 kB / 0.8371 GB, free: 4.633 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 9.734e-05/0.1928, allocations: 118.5 kB / 0.8372 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.1928, allocations: 7.891 kB / 0.8372 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.1928, allocations: 11.89 kB / 0.8373 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1928, allocations: 4 kB / 0.8373 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1928, allocations: 3.938 kB / 0.8373 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1928, allocations: 0 / 0.8373 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.193, allocations: 144.7 kB / 0.8374 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.193, allocations: 3.938 kB / 0.8374 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1931, allocations: 27.92 kB / 0.8374 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1931, allocations: 0 / 0.8374 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1931, allocations: 11.98 kB / 0.8374 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1931, allocations: 0 / 0.8374 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1931, allocations: 0 / 0.8374 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1935, allocations: 141 kB / 0.8376 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.1935, allocations: 11.88 kB / 0.8376 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1935, allocations: 3.938 kB / 0.8376 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.1935, allocations: 4 kB / 0.8376 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1936, allocations: 23.84 kB / 0.8376 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1936, allocations: 8 kB / 0.8376 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.1937, allocations: 75.28 kB / 0.8377 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1937, allocations: 0 / 0.8377 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000241/0.1939, allocations: 20 kB / 0.8377 GB, free: 3.949 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.0008338/0.1947, allocations: 0.6943 MB / 0.8384 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.1952, allocations: 88.36 kB / 0.8385 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1952, allocations: 0 / 0.8385 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1953, allocations: 52.06 kB / 0.8385 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.1955, allocations: 14.5 kB / 0.8385 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.196, allocations: 194.6 kB / 0.8387 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1963, allocations: 0.6807 MB / 0.8394 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.1965, allocations: 43.72 kB / 0.8394 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.1966, allocations: 27.42 kB / 0.8395 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.1966, allocations: 0 / 0.8395 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2186, allocations: 2.214 MB / 0.8416 GB, free: 0 / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.01, allocations: 5.219 kB / 0.8416 GB, free: 16 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 & /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 os._exit(0), Time elapsed: 15.348348398983944] Failed to read output from testmodel.py, exit status != 0: 11.16492993599968 11.188104904 10.995978148 Calling exit ...