Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001504/0.001504, allocations: 109 kB / 20.48 MB, free: 1.473 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.001801/0.001801, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.47/1.47, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9804/0.9804, allocations: 150 MB / 464 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002204/0.002204, allocations: 66.55 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1845, allocations: 89.16 MB / 0.7291 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001843/0.1863, allocations: 0.5928 MB / 0.7297 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003957/0.1867, allocations: 107.6 kB / 0.7298 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.1867, allocations: 0 / 0.7298 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.1868, allocations: 3.938 kB / 0.7298 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.1868, allocations: 0 / 0.7298 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.1871, allocations: 39.89 kB / 0.7299 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1873, allocations: 71.86 kB / 0.7299 GB, free: 500 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.1873, allocations: 0 / 0.7299 GB, free: 500 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.1873, allocations: 23.98 kB / 0.73 GB, free: 476 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.1874, allocations: 27.95 kB / 0.73 GB, free: 448 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1874, allocations: 4 kB / 0.73 GB, free: 444 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1876, allocations: 59.94 kB / 0.73 GB, free: 384 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.1876, allocations: 15.98 kB / 0.7301 GB, free: 368 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1877, allocations: 23.86 kB / 0.7301 GB, free: 344 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.1879, allocations: 72.05 kB / 0.7302 GB, free: 272 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1879, allocations: 0 / 0.7302 GB, free: 272 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1879, allocations: 0 / 0.7302 GB, free: 272 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1879, allocations: 0 / 0.7302 GB, free: 272 kB / 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.0005447/0.1884, allocations: 300.5 kB / 0.7304 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1885, allocations: 12.03 kB / 0.7305 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.837e-05/0.1885, allocations: 8.188 kB / 0.7305 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.1885, allocations: 38.75 kB / 0.7305 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.1886, allocations: 8.922 kB / 0.7305 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.1887, allocations: 110.5 kB / 0.7306 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004558/0.1891, allocations: 0.526 MB / 0.7311 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1891, allocations: 12.31 kB / 0.7311 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1894, allocations: 81.7 kB / 0.7312 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1894, allocations: 0 / 0.7312 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1894, allocations: 4 kB / 0.7312 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1894, allocations: 4 kB / 0.7312 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.1898, allocations: 135.8 kB / 0.7313 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.19, allocations: 148.7 kB / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.1903, allocations: 94.41 kB / 0.7316 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1905, allocations: 36.83 kB / 0.7316 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1905, allocations: 8 kB / 0.7316 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1905, allocations: 34.5 kB / 0.7317 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.1905, allocations: 4 kB / 0.7317 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005735/0.1911, allocations: 149.8 kB / 0.7318 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1912, allocations: 51.41 kB / 0.7319 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.1912, allocations: 89.86 kB / 0.7319 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1912, allocations: 29.7 kB / 0.732 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.1913, allocations: 80.14 kB / 0.732 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.1914, allocations: 43.67 kB / 0.7321 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.1914, allocations: 25.7 kB / 0.7321 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1916, allocations: 326.8 kB / 0.7324 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1917, allocations: 27.98 kB / 0.7324 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1918, allocations: 39.47 kB / 0.7325 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.1921, allocations: 76.75 kB / 0.7326 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1921, allocations: 0 / 0.7326 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003441/0.1925, allocations: 113.5 kB / 0.7327 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1925, allocations: 4 kB / 0.7327 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1925, allocations: 4 kB / 0.7327 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1925, allocations: 4 kB / 0.7327 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1927, allocations: 35.91 kB / 0.7327 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1927, allocations: 0 / 0.7327 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.1928, allocations: 7.938 kB / 0.7327 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1928, allocations: 7.984 kB / 0.7327 GB, free: 13.31 MB / 0.5606 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.0001113/0.1929, allocations: 113.8 kB / 0.7328 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1929, allocations: 3.938 kB / 0.7328 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.193, allocations: 11.91 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.193, allocations: 8 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.193, allocations: 3.984 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.193, allocations: 0 / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1931, allocations: 148.6 kB / 0.733 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1931, allocations: 4 kB / 0.733 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1933, allocations: 27.86 kB / 0.733 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1933, allocations: 0 / 0.733 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1933, allocations: 7.984 kB / 0.733 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1933, allocations: 0 / 0.733 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1933, allocations: 0 / 0.733 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.1937, allocations: 137.1 kB / 0.7332 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.1937, allocations: 23.75 kB / 0.7332 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1937, allocations: 0 / 0.7332 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.1938, allocations: 8 kB / 0.7332 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.1938, allocations: 11.97 kB / 0.7332 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1939, allocations: 4 kB / 0.7332 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.1939, allocations: 79.22 kB / 0.7333 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1939, allocations: 0 / 0.7333 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002472/0.1941, allocations: 24 kB / 0.7333 GB, free: 12.63 MB / 0.5606 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.0009133/0.1951, allocations: 0.7011 MB / 0.734 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.1954, allocations: 83.81 kB / 0.7341 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1954, allocations: 0 / 0.7341 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.1956, allocations: 47.97 kB / 0.7341 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.1957, allocations: 4 kB / 0.7341 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.1963, allocations: 202.3 kB / 0.7343 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1967, allocations: 0.6846 MB / 0.735 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.1969, allocations: 39.95 kB / 0.735 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.1969, allocations: 19.42 kB / 0.735 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.1969, allocations: 0 / 0.735 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.2199, allocations: 2.211 MB / 0.7372 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.35, allocations: 15.69 kB / 0.7372 GB, free: 8.699 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.1424153780099] Failed to read output from testmodel.py, exit status != 0: 11.51229159598006 11.529351313 11.337941131000001 Calling exit ...