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.001688/0.001688, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002079/0.002079, allocations: 212.5 kB / 22.99 MB, free: 4.605 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9551/0.9551, 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.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.002195/0.002195, allocations: 70.36 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2051, allocations: 89.18 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003014/0.2081, allocations: 1.543 MB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005069/0.2086, allocations: 183.5 kB / 0.7298 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.2086, allocations: 3.938 kB / 0.7298 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.2087, allocations: 7.875 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.2087, allocations: 7.938 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.2091, allocations: 51.88 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.2092, allocations: 31.92 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2093, allocations: 7.984 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.2093, allocations: 23.92 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.2094, allocations: 15.91 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2094, allocations: 4 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2095, allocations: 47.95 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2095, allocations: 8 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.2095, allocations: 19.91 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2097, allocations: 68.02 kB / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2097, allocations: 0 / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2097, allocations: 0 / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2097, allocations: 0 / 0.7301 GB, free: 14.97 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.000479/0.2102, allocations: 278.2 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2102, allocations: 12.03 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.2103, allocations: 34.75 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.2103, allocations: 12.89 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2104, allocations: 110.5 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.2104, allocations: 4.375 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2104, allocations: 384 / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2106, allocations: 62.23 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2107, allocations: 7.938 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2107, allocations: 4 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2107, allocations: 0 / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.2109, allocations: 43.94 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.2113, allocations: 259.8 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.2116, allocations: 54.59 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.2117, allocations: 28.83 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.2119, allocations: 11.98 kB / 0.731 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2119, allocations: 38.56 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2119, allocations: 0 / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000402/0.2123, allocations: 93.58 kB / 0.7311 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.2123, allocations: 55.39 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2124, allocations: 113.8 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2125, allocations: 33.62 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.2125, allocations: 80.14 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.2125, allocations: 11.95 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.2126, allocations: 13.72 kB / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2127, allocations: 322.8 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.2128, allocations: 19.98 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.2129, allocations: 23.91 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.2131, allocations: 44.83 kB / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2131, allocations: 0 / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002224/0.2133, allocations: 81.58 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2133, allocations: 4 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2133, allocations: 0 / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2133, allocations: 4 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.2134, allocations: 11.98 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2134, allocations: 0 / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.2135, allocations: 4 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2135, allocations: 4 kB / 0.7319 GB, free: 12.93 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 0.0001006/0.2136, allocations: 117.8 kB / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.2136, allocations: 7.953 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.2139, allocations: 85.58 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2139, allocations: 4 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2139, allocations: 0 / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2139, allocations: 0 / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2141, allocations: 132.7 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2141, allocations: 0 / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.2142, allocations: 15.98 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2142, allocations: 0 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.2142, allocations: 384 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2142, allocations: 0 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2142, allocations: 0 / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.2145, allocations: 191.3 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.2145, allocations: 7.938 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.2145, allocations: 0 / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.2146, allocations: 7.984 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.2146, allocations: 15.92 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2146, allocations: 0 / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.2147, allocations: 91.58 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2147, allocations: 0 / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002443/0.2149, allocations: 12 kB / 0.7326 GB, free: 12.17 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.0006925/0.2156, allocations: 0.7241 MB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.2159, allocations: 47.89 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2159, allocations: 0 / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.216, allocations: 27.97 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2163, allocations: 9.547 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2179, allocations: 1.288 MB / 0.7346 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.218, allocations: 67.28 kB / 0.7347 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.218, allocations: 11.98 kB / 0.7347 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.2181, allocations: 11.44 kB / 0.7347 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2181, allocations: 0 / 0.7347 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.2477, allocations: 2.481 MB / 0.7371 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.33, allocations: 2.062 kB / 0.7371 GB, free: 7.516 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.196741786785424] Failed to read output from testmodel.py, exit status != 0: 11.436759183648974 11.453556357 11.240742750999999 Calling exit ...