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.001402/0.001402, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002324/0.002324, allocations: 215.7 kB / 22.99 MB, free: 4.977 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.665/1.665, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9741/0.9741, allocations: 149.9 MB / 463 MB, free: 10.35 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.002157/0.002157, allocations: 71.34 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1936, allocations: 89.17 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.002092/0.1957, allocations: 0.5896 MB / 0.7288 GB, free: 440 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004492/0.1961, allocations: 91.69 kB / 0.7289 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.1961, allocations: 7.938 kB / 0.7289 GB, free: 340 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.1961, allocations: 0 / 0.7289 GB, free: 340 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.1962, allocations: 0 / 0.7289 GB, free: 340 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.1966, allocations: 39.88 kB / 0.7289 GB, free: 300 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1967, allocations: 63.94 kB / 0.729 GB, free: 236 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.1968, allocations: 8 kB / 0.729 GB, free: 228 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.1968, allocations: 23.97 kB / 0.729 GB, free: 204 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.1969, allocations: 19.97 kB / 0.729 GB, free: 184 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1969, allocations: 4 kB / 0.729 GB, free: 180 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1971, allocations: 55.94 kB / 0.7291 GB, free: 124 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.1971, allocations: 15.98 kB / 0.7291 GB, free: 108 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.1971, allocations: 27.91 kB / 0.7291 GB, free: 80 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1973, allocations: 64.06 kB / 0.7292 GB, free: 16 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1973, allocations: 7.875 kB / 0.7292 GB, free: 8 kB / 0.545 GB Notification: Performance of FrontEnd: time 3.867e-06/0.1973, allocations: 7.938 kB / 0.7292 GB, free: 0 / 0.545 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1973, allocations: 0 / 0.7292 GB, free: 0 / 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.0005599/0.1979, allocations: 302.3 kB / 0.7295 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1979, allocations: 8.031 kB / 0.7295 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.198, allocations: 46.69 kB / 0.7295 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.198, allocations: 4.938 kB / 0.7295 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1982, allocations: 114.5 kB / 0.7296 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005028/0.1987, allocations: 0.526 MB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1987, allocations: 4.359 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.199, allocations: 81.95 kB / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.199, allocations: 0 / 0.7302 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.199, allocations: 7.938 kB / 0.7303 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.199, allocations: 0 / 0.7303 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.1993, allocations: 127.8 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.1996, allocations: 152.7 kB / 0.7305 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1999, allocations: 82.53 kB / 0.7306 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2, allocations: 40.83 kB / 0.7306 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.2, allocations: 4 kB / 0.7306 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.2001, allocations: 38.5 kB / 0.7307 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.2001, allocations: 3.938 kB / 0.7307 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005539/0.2006, allocations: 147.2 kB / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2007, allocations: 55.34 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.422e-05/0.2007, allocations: 93.86 kB / 0.731 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2008, allocations: 29.7 kB / 0.731 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.2008, allocations: 84.12 kB / 0.7311 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.2009, allocations: 35.7 kB / 0.7311 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.2009, allocations: 25.7 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2011, allocations: 318.8 kB / 0.7314 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.2012, allocations: 31.97 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2013, allocations: 31.98 kB / 0.7315 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.2016, allocations: 74.5 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2016, allocations: 0 / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003499/0.202, allocations: 121.5 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.202, allocations: 13.8 kB / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.202, allocations: 0 / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.202, allocations: 0 / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.2022, allocations: 23.98 kB / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2022, allocations: 0 / 0.7317 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.2022, allocations: 15.88 kB / 0.7317 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2023, allocations: 7.984 kB / 0.7317 GB, free: 13.07 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.0001138/0.2024, allocations: 117.8 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.2024, allocations: 7.938 kB / 0.7319 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.2024, allocations: 15.89 kB / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2024, allocations: 0 / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2024, allocations: 0 / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2024, allocations: 0 / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2026, allocations: 152.7 kB / 0.732 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2026, allocations: 0 / 0.732 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.2027, allocations: 27.97 kB / 0.732 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2027, allocations: 3.938 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2028, allocations: 4 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2028, allocations: 0 / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2028, allocations: 4 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.2031, allocations: 149.9 kB / 0.7322 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.2031, allocations: 11.83 kB / 0.7322 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.2031, allocations: 0 / 0.7322 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.652e-05/0.2032, allocations: 8 kB / 0.7322 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2033, allocations: 11.97 kB / 0.7322 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2033, allocations: 7.984 kB / 0.7322 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.2033, allocations: 75.28 kB / 0.7323 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2033, allocations: 0 / 0.7323 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000228/0.2035, allocations: 20 kB / 0.7323 GB, free: 12.39 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.000799/0.2043, allocations: 0.6935 MB / 0.733 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.2047, allocations: 83.94 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2047, allocations: 3.938 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.2048, allocations: 47.89 kB / 0.7331 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.205, allocations: 8 kB / 0.7331 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005824/0.2056, allocations: 194.4 kB / 0.7333 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.614e-05/0.2057, allocations: 67.34 kB / 0.7334 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.2059, allocations: 39.95 kB / 0.7334 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.2059, allocations: 23.42 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.2059, allocations: 0 / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.2373, allocations: 2.522 MB / 0.7359 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.44, allocations: 11.05 kB / 0.7359 GB, free: 8.773 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 sys.exit(0), Time elapsed: 15.416785288602114] Failed to read output from testmodel.py, exit status != 0: 11.542105454951525 11.558550987 11.357926769 Calling exit ...