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.0008307/0.0008307, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.0008935/0.0008935, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9145/0.9145, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5782/0.5782, allocations: 114 MB / 373.9 MB, free: 8.711 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 2.515e-06/2.515e-06, allocations: 4 kB / 0.5542 GB, free: 1.637 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/2.028e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001089/0.001109, allocations: 0.5846 MB / 0.5548 GB, free: 1.055 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003011/0.001411, allocations: 99.66 kB / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.001429, allocations: 0 / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.001456, allocations: 0 / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.001462, allocations: 0 / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.001822, allocations: 47.77 kB / 0.555 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.001926, allocations: 63.92 kB / 0.555 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.001959, allocations: 0 / 0.555 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.17e-05/0.002001, allocations: 35.95 kB / 0.555 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.34e-05/0.002034, allocations: 27.89 kB / 0.5551 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.002049, allocations: 4 kB / 0.5551 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.002148, allocations: 51.89 kB / 0.5551 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.002179, allocations: 23.95 kB / 0.5551 GB, free: 0.707 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.002201, allocations: 23.91 kB / 0.5552 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.002324, allocations: 75.88 kB / 0.5552 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002326, allocations: 0 / 0.5552 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.002327, allocations: 0 / 0.5552 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.002331, allocations: 4 kB / 0.5552 GB, free: 0.6055 MB / 474.7 MB 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.0003442/0.002675, allocations: 298.2 kB / 0.5555 GB, free: 288 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.002714, allocations: 8.625 kB / 0.5555 GB, free: 280 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.002747, allocations: 42.75 kB / 0.5556 GB, free: 228 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.002778, allocations: 8.891 kB / 0.5556 GB, free: 220 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.282e-05/0.002831, allocations: 113.7 kB / 0.5557 GB, free: 80 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.003063, allocations: 0.5221 MB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.003077, allocations: 8.375 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.003232, allocations: 85.62 kB / 0.5563 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003239, allocations: 192 / 0.5563 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.003249, allocations: 4.375 kB / 0.5563 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.003256, allocations: 11.92 kB / 0.5563 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.003432, allocations: 123.8 kB / 0.5564 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.003572, allocations: 152.7 kB / 0.5566 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.003733, allocations: 86.47 kB / 0.5567 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.055e-05/0.003803, allocations: 40.83 kB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.003824, allocations: 0 / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.003845, allocations: 42.83 kB / 0.5567 GB, free: 14.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 8.42e-07/0.003846, allocations: 0 / 0.5567 GB, free: 14.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003016/0.004147, allocations: 149.4 kB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.004184, allocations: 55.41 kB / 0.5569 GB, free: 14.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.139e-05/0.004216, allocations: 93.86 kB / 0.557 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.004228, allocations: 29.7 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.004245, allocations: 80.14 kB / 0.5571 GB, free: 14.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.004283, allocations: 35.69 kB / 0.5572 GB, free: 14.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.004319, allocations: 29.7 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.004395, allocations: 318.8 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.004471, allocations: 27.98 kB / 0.5575 GB, free: 13.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.004536, allocations: 39.91 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.004671, allocations: 72.75 kB / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004673, allocations: 0 / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001655/0.004839, allocations: 116.4 kB / 0.5577 GB, free: 13.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.004851, allocations: 4 kB / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.004855, allocations: 0 / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.004866, allocations: 7.875 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.004957, allocations: 27.97 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.004964, allocations: 3.938 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.004993, allocations: 11.95 kB / 0.5578 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.005003, allocations: 7.984 kB / 0.5578 GB, free: 13.68 MB / 490.7 MB 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 5.769e-05/0.005061, allocations: 113.8 kB / 0.5579 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.005068, allocations: 4 kB / 0.5579 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.005095, allocations: 11.97 kB / 0.5579 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.0051, allocations: 7.938 kB / 0.5579 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.005105, allocations: 4 kB / 0.5579 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005108, allocations: 3.984 kB / 0.5579 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.152e-05/0.00519, allocations: 152.6 kB / 0.5581 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005191, allocations: 0 / 0.5581 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.005242, allocations: 19.98 kB / 0.5581 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.005245, allocations: 3.984 kB / 0.5581 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.005254, allocations: 4 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.005256, allocations: 3.938 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005256, allocations: 4 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.005439, allocations: 144.9 kB / 0.5583 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-06/0.005444, allocations: 7.938 kB / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.005453, allocations: 0 / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.409e-05/0.005477, allocations: 7.938 kB / 0.5583 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.005523, allocations: 15.97 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.005529, allocations: 4 kB / 0.5583 GB, free: 13.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.829e-05/0.005547, allocations: 75.28 kB / 0.5584 GB, free: 13.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005547, allocations: 0 / 0.5584 GB, free: 13.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001543/0.005702, allocations: 23.94 kB / 0.5584 GB, free: 13 MB / 490.7 MB 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.0006306/0.006332, allocations: 0.6982 MB / 0.5591 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.006525, allocations: 83.33 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.006527, allocations: 0 / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.222e-05/0.006599, allocations: 51.89 kB / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.006702, allocations: 9.188 kB / 0.5592 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.00705, allocations: 198.5 kB / 0.5594 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.007091, allocations: 67.34 kB / 0.5595 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.709e-05/0.007178, allocations: 35.95 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.007219, allocations: 36.42 kB / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00722, allocations: 0 / 0.5595 GB, free: 11.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.02106, allocations: 2.655 MB / 0.5621 GB, free: 9.246 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.287, allocations: 8.047 kB / 0.5621 GB, free: 9.238 MB / 490.7 MB " [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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 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.863801107741892] Failed to read output from testmodel.py, exit status != 0: 7.367169632576406 7.374854728 7.370965217 Calling exit ...