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.001052/0.001052, 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.0008795/0.0008795, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9034/0.9034, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5798/0.5798, allocations: 114 MB / 373.9 MB, free: 8.723 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.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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.846e-05, allocations: 4.812 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002388/0.002426, allocations: 1.537 MB / 0.5557 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004707/0.002897, allocations: 183.3 kB / 0.5559 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.002949, allocations: 8 kB / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.002986, allocations: 3.938 kB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.003035, allocations: 0 / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.003446, allocations: 55.75 kB / 0.5559 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.388e-05/0.003529, allocations: 35.92 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.003639, allocations: 15.92 kB / 0.556 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.003688, allocations: 19.97 kB / 0.556 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.003732, allocations: 11.98 kB / 0.556 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.003751, allocations: 4 kB / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.003868, allocations: 51.94 kB / 0.5561 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.003882, allocations: 15.92 kB / 0.5561 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.003901, allocations: 8 kB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004051, allocations: 79.75 kB / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.004055, allocations: 0 / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004056, allocations: 0 / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.004061, allocations: 3.938 kB / 0.5562 GB, free: 0.7109 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003899/0.004451, allocations: 274.2 kB / 0.5564 GB, free: 420 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.004493, allocations: 12.62 kB / 0.5565 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.004528, allocations: 42.72 kB / 0.5565 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.004554, allocations: 8.938 kB / 0.5565 GB, free: 348 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.004637, allocations: 109.8 kB / 0.5566 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.004658, allocations: 4.375 kB / 0.5566 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.004668, allocations: 384 / 0.5566 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.004821, allocations: 70.16 kB / 0.5567 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004828, allocations: 192 / 0.5567 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.00484, allocations: 4.375 kB / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.004846, allocations: 4.125 kB / 0.5567 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.004958, allocations: 39.95 kB / 0.5567 GB, free: 84 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.005353, allocations: 251.9 kB / 0.557 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.005591, allocations: 58.48 kB / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.005647, allocations: 32.77 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.005787, allocations: 11.98 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.005806, allocations: 34.56 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.005808, allocations: 0 / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002704/0.006078, allocations: 101.6 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.006114, allocations: 51.41 kB / 0.5572 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.00619, allocations: 109.8 kB / 0.5573 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.006201, allocations: 25.7 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.006244, allocations: 88.09 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.006261, allocations: 7.953 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.006294, allocations: 21.7 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.006389, allocations: 310.8 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.006447, allocations: 19.98 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.427e-05/0.006491, allocations: 23.97 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.921e-05/0.006591, allocations: 48.81 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006593, allocations: 0 / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001411/0.006734, allocations: 81.53 kB / 0.5579 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.006752, allocations: 4 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.00676, allocations: 0 / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.00678, allocations: 4 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.006843, allocations: 11.98 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.006849, allocations: 0 / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.006878, allocations: 7.984 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.006885, allocations: 4 kB / 0.558 GB, free: 14.67 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: 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 7.67e-05/0.006961, allocations: 105.8 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.006978, allocations: 12.22 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.007159, allocations: 89.62 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007162, allocations: 7.938 kB / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.007166, allocations: 3.938 kB / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.00717, allocations: 0 / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.007281, allocations: 132.7 kB / 0.5583 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.007283, allocations: 0 / 0.5583 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.007322, allocations: 15.98 kB / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007324, allocations: 0 / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.00733, allocations: 3.938 kB / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.007333, allocations: 3.984 kB / 0.5583 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.007334, allocations: 0 / 0.5583 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.007482, allocations: 179.5 kB / 0.5585 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.007493, allocations: 3.953 kB / 0.5585 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.007504, allocations: 0 / 0.5585 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.007545, allocations: 7.984 kB / 0.5585 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.00759, allocations: 11.98 kB / 0.5585 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.007594, allocations: 0 / 0.5585 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.007624, allocations: 87.58 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007624, allocations: 3.938 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001879/0.007812, allocations: 23.92 kB / 0.5586 GB, free: 13.91 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: 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.0004352/0.008247, allocations: 0.7163 MB / 0.5593 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.008388, allocations: 43.95 kB / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.00839, allocations: 0 / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-05/0.008442, allocations: 31.91 kB / 0.5594 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.008676, allocations: 6.031 kB / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.009699, allocations: 1.3 MB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.00975, allocations: 63.34 kB / 0.5607 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.009779, allocations: 8 kB / 0.5608 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.009823, allocations: 20.48 kB / 0.5608 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/0.009823, allocations: 96 / 0.5608 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.02652, allocations: 2.615 MB / 0.5633 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.079, allocations: 9.969 kB / 0.5633 GB, free: 9.125 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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: 9.695343868806958] Failed to read output from testmodel.py, exit status != 0: 7.160845941863954 7.173640171 7.167706757 Calling exit ...