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.0009549/0.0009549, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001105/0.001105, allocations: 169.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.9696/0.9696, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5589/0.5589, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5542 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.945e-05, allocations: 5.672 kB / 0.5542 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001067/0.001086, allocations: 0.5826 MB / 0.5548 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003186/0.001405, allocations: 103.7 kB / 0.5549 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.001426, allocations: 0 / 0.5549 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.001457, allocations: 0 / 0.5549 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.001464, allocations: 0 / 0.5549 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.001803, allocations: 39.83 kB / 0.5549 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.001907, allocations: 63.92 kB / 0.555 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.001942, allocations: 4 kB / 0.555 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.001988, allocations: 39.89 kB / 0.5551 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.002022, allocations: 23.95 kB / 0.5551 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.002042, allocations: 4 kB / 0.5551 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.002151, allocations: 55.83 kB / 0.5551 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.002183, allocations: 19.97 kB / 0.5552 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.002206, allocations: 15.97 kB / 0.5552 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.002335, allocations: 87.8 kB / 0.5553 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002336, allocations: 0 / 0.5553 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002337, allocations: 0 / 0.5553 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.002341, allocations: 0 / 0.5553 GB, free: 1.684 MB / 0.5105 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.0003858/0.002727, allocations: 302.2 kB / 0.5555 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.002765, allocations: 8.625 kB / 0.5555 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.002798, allocations: 38.75 kB / 0.5556 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.002827, allocations: 8.891 kB / 0.5556 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.328e-05/0.00288, allocations: 113.8 kB / 0.5557 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.003115, allocations: 0.5299 MB / 0.5562 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.003127, allocations: 4.375 kB / 0.5562 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.003285, allocations: 86.12 kB / 0.5563 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.003294, allocations: 4.125 kB / 0.5563 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.003304, allocations: 384 / 0.5563 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.003311, allocations: 7.938 kB / 0.5563 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.003492, allocations: 123.8 kB / 0.5564 GB, free: 284 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.003759, allocations: 144.7 kB / 0.5566 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.00393, allocations: 94.45 kB / 0.5567 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.004006, allocations: 44.83 kB / 0.5567 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.004028, allocations: 3.984 kB / 0.5567 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.004047, allocations: 38.5 kB / 0.5567 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.004048, allocations: 0 / 0.5567 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0003091/0.004357, allocations: 153.8 kB / 0.5569 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.004384, allocations: 55.41 kB / 0.5569 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.71e-05/0.004412, allocations: 89.86 kB / 0.557 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.004423, allocations: 25.7 kB / 0.5571 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.758e-05/0.00444, allocations: 80.14 kB / 0.5571 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.004479, allocations: 35.69 kB / 0.5572 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.004512, allocations: 33.7 kB / 0.5572 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.004587, allocations: 314.8 kB / 0.5575 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.004657, allocations: 35.97 kB / 0.5575 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.004719, allocations: 31.58 kB / 0.5576 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.00486, allocations: 84.69 kB / 0.5576 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004862, allocations: 0 / 0.5576 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001709/0.005033, allocations: 105.6 kB / 0.5577 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.005045, allocations: 8 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.00505, allocations: 0 / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.005064, allocations: 7.938 kB / 0.5578 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.005154, allocations: 23.97 kB / 0.5578 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.005159, allocations: 4 kB / 0.5578 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.005187, allocations: 7.953 kB / 0.5578 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.005195, allocations: 3.938 kB / 0.5578 GB, free: 14.76 MB / 0.5261 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 6.553e-05/0.005261, allocations: 121.8 kB / 0.5579 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.005267, allocations: 0 / 0.5579 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.005295, allocations: 11.97 kB / 0.5579 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.005298, allocations: 7.938 kB / 0.5579 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.005304, allocations: 0 / 0.5579 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.005307, allocations: 4 kB / 0.5579 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.274e-05/0.005399, allocations: 156.5 kB / 0.5581 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.0054, allocations: 4 kB / 0.5581 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.00545, allocations: 19.98 kB / 0.5581 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005451, allocations: 0 / 0.5581 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.005464, allocations: 11.98 kB / 0.5581 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.005466, allocations: 3.938 kB / 0.5581 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005467, allocations: 0 / 0.5581 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.005651, allocations: 133 kB / 0.5583 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.00566, allocations: 19.88 kB / 0.5583 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.005672, allocations: 8 kB / 0.5583 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.005696, allocations: 7.938 kB / 0.5583 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.005742, allocations: 11.97 kB / 0.5583 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.005748, allocations: 4 kB / 0.5583 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.168e-05/0.00577, allocations: 83.22 kB / 0.5584 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.00577, allocations: 0 / 0.5584 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001613/0.005931, allocations: 19.94 kB / 0.5584 GB, free: 14.07 MB / 0.5261 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.0004242/0.006355, allocations: 0.694 MB / 0.5591 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.006547, allocations: 87.88 kB / 0.5592 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.006549, allocations: 0 / 0.5592 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.006621, allocations: 43.91 kB / 0.5592 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.006721, allocations: 10.59 kB / 0.5592 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.007064, allocations: 202.4 kB / 0.5594 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.007106, allocations: 67.34 kB / 0.5595 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.973e-05/0.007186, allocations: 39.95 kB / 0.5595 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.007225, allocations: 24.48 kB / 0.5595 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of SimCode: time 3e-07/0.007225, allocations: 0 / 0.5595 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.02356, allocations: 2.644 MB / 0.5621 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/6.887, allocations: 4.984 kB / 0.5621 GB, free: 10.32 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.507937530055642] Failed to read output from testmodel.py, exit status != 0: 6.967914859764278 6.980164702 6.975366543 Calling exit ...