Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001682/0.001682, allocations: 119 kB / 19.69 MB, free: 2.199 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.001666/0.001666, allocations: 222.1 kB / 23.01 MB, free: 5.043 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.953 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 1.08/1.08, allocations: 150 MB / 463.2 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 178] 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.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",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.002268/0.002268, allocations: 62.78 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1819, allocations: 89.18 MB / 0.7284 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003649/0.1855, allocations: 1.561 MB / 0.7299 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005705/0.1861, allocations: 183.4 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.1861, allocations: 0 / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.1862, allocations: 11.94 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.1862, allocations: 3.938 kB / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.1866, allocations: 55.81 kB / 0.7301 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.1867, allocations: 31.92 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.1868, allocations: 11.98 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.1868, allocations: 19.92 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.1868, allocations: 15.92 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.187, allocations: 4 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1871, allocations: 59.92 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.1871, allocations: 4 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.1872, allocations: 15.88 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1873, allocations: 72.06 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1873, allocations: 0 / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1873, allocations: 0 / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1873, allocations: 0 / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004897/0.1878, allocations: 282.1 kB / 0.7306 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.1879, allocations: 12.03 kB / 0.7306 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.1879, allocations: 34.75 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.1879, allocations: 4.891 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1881, allocations: 106.5 kB / 0.7308 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1881, allocations: 8.312 kB / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1881, allocations: 8.375 kB / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1883, allocations: 66.22 kB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1883, allocations: 3.938 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1883, allocations: 4 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1883, allocations: 0 / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1885, allocations: 43.95 kB / 0.7309 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.189, allocations: 259.7 kB / 0.7312 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.1893, allocations: 58.53 kB / 0.7312 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1894, allocations: 24.89 kB / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.1896, allocations: 15.98 kB / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1896, allocations: 34.56 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1896, allocations: 0 / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000391/0.19, allocations: 93.58 kB / 0.7314 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.19, allocations: 59.39 kB / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.1901, allocations: 105.8 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1901, allocations: 29.7 kB / 0.7316 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1902, allocations: 92.12 kB / 0.7316 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1902, allocations: 3.953 kB / 0.7316 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1902, allocations: 17.72 kB / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1904, allocations: 318.8 kB / 0.732 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.1905, allocations: 19.98 kB / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.1906, allocations: 19.97 kB / 0.732 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1907, allocations: 48.77 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1907, allocations: 0 / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00022/0.1909, allocations: 81.86 kB / 0.7321 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.191, allocations: 4 kB / 0.7321 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.191, allocations: 3.938 kB / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.191, allocations: 4.031 kB / 0.7321 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.1911, allocations: 11.98 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1911, allocations: 4 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.1911, allocations: 4 kB / 0.7322 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1911, allocations: 4 kB / 0.7322 GB, free: 13.1 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.28e-05/0.1912, allocations: 119.7 kB / 0.7323 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1912, allocations: 7.953 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.1915, allocations: 81.58 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1915, allocations: 8 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1915, allocations: 0 / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1915, allocations: 0 / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1917, allocations: 140.7 kB / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1917, allocations: 0 / 0.7325 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.596e-05/0.1918, allocations: 11.98 kB / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1918, allocations: 0 / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1918, allocations: 0 / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1918, allocations: 0 / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1918, allocations: 0 / 0.7325 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.1921, allocations: 187.4 kB / 0.7327 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.1921, allocations: 7.938 kB / 0.7327 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1922, allocations: 3.938 kB / 0.7327 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.1922, allocations: 7.984 kB / 0.7327 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.1923, allocations: 8 kB / 0.7327 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1923, allocations: 3.984 kB / 0.7327 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.1924, allocations: 87.28 kB / 0.7328 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1924, allocations: 0 / 0.7328 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002465/0.1926, allocations: 16 kB / 0.7328 GB, free: 12.34 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006704/0.1933, allocations: 0.728 MB / 0.7335 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1935, allocations: 51.83 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1935, allocations: 0 / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1936, allocations: 23.97 kB / 0.7336 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1939, allocations: 8 kB / 0.7336 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1955, allocations: 1.292 MB / 0.7349 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1959, allocations: 0.6807 MB / 0.7355 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.1959, allocations: 3.984 kB / 0.7355 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.1959, allocations: 15.48 kB / 0.7356 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1959, allocations: 0 / 0.7356 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.2248, allocations: 2.052 MB / 0.7376 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.18, allocations: 7.266 kB / 0.7376 GB, free: 7.488 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.053463598014787] Failed to read output from testmodel.py, exit status != 0: 11.280816728947684 11.309273208 11.1169724 Calling exit ...