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.001292/0.001292, allocations: 115.7 kB / 17.84 MB, free: 5.312 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.001416/0.001416, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.494/1.494, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 1.038/1.038, allocations: 150 MB / 460.2 MB, free: 5.32 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="cs",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.002051/0.002051, allocations: 71.02 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1659, allocations: 89.12 MB / 0.7238 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003028/0.1689, allocations: 1.551 MB / 0.7254 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005066/0.1694, allocations: 185.3 kB / 0.7255 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.1695, allocations: 0 / 0.7255 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.1695, allocations: 3.938 kB / 0.7255 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.1695, allocations: 7.938 kB / 0.7255 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1699, allocations: 51.88 kB / 0.7256 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.17, allocations: 43.84 kB / 0.7256 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1701, allocations: 8 kB / 0.7256 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.1702, allocations: 15.92 kB / 0.7257 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.1702, allocations: 19.91 kB / 0.7257 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1702, allocations: 4 kB / 0.7257 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1704, allocations: 47.95 kB / 0.7257 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.1704, allocations: 7.938 kB / 0.7257 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.1704, allocations: 19.92 kB / 0.7258 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1706, allocations: 64.06 kB / 0.7258 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1706, allocations: 4 kB / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1706, allocations: 0 / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1706, allocations: 0 / 0.7258 GB, free: 2.012 MB / 0.5294 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.0005929/0.1712, allocations: 363.2 kB / 0.7262 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1713, allocations: 8.031 kB / 0.7262 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.359e-05/0.1713, allocations: 4.188 kB / 0.7262 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.1713, allocations: 30.75 kB / 0.7262 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.1714, allocations: 8.891 kB / 0.7262 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.1715, allocations: 176.3 kB / 0.7264 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.1716, allocations: 4.375 kB / 0.7264 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1716, allocations: 4.375 kB / 0.7264 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1718, allocations: 61.98 kB / 0.7264 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.1718, allocations: 0 / 0.7264 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1718, allocations: 4 kB / 0.7265 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1718, allocations: 3.984 kB / 0.7265 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.1721, allocations: 47.95 kB / 0.7265 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.1725, allocations: 280.7 kB / 0.7268 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.1729, allocations: 58.53 kB / 0.7268 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.173, allocations: 28.89 kB / 0.7269 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.1733, allocations: 170.2 kB / 0.727 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1733, allocations: 30.56 kB / 0.727 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1733, allocations: 0 / 0.727 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004443/0.1737, allocations: 101.5 kB / 0.7271 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.1738, allocations: 51.41 kB / 0.7272 GB, free: 384 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.1739, allocations: 113.9 kB / 0.7273 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1739, allocations: 29.7 kB / 0.7273 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.174, allocations: 84.14 kB / 0.7274 GB, free: 136 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.174, allocations: 11.94 kB / 0.7274 GB, free: 124 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.174, allocations: 13.72 kB / 0.7274 GB, free: 104 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1742, allocations: 322.7 kB / 0.7277 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1743, allocations: 19.97 kB / 0.7278 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/0.1744, allocations: 19.98 kB / 0.7278 GB, free: 15.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.1746, allocations: 52.75 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1746, allocations: 3.938 kB / 0.7278 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000254/0.1749, allocations: 73.66 kB / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1749, allocations: 5.875 kB / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1749, allocations: 0 / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1749, allocations: 0 / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.664e-05/0.175, allocations: 15.98 kB / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.175, allocations: 0 / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.1751, allocations: 11.94 kB / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1751, allocations: 4 kB / 0.7279 GB, free: 15.57 MB / 0.545 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 9.566e-05/0.1752, allocations: 113.8 kB / 0.728 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.1752, allocations: 4 kB / 0.7281 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.1755, allocations: 89.48 kB / 0.7281 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1755, allocations: 0 / 0.7281 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1755, allocations: 0 / 0.7281 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1755, allocations: 3.984 kB / 0.7281 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.1757, allocations: 169.5 kB / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1757, allocations: 0 / 0.7283 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.477e-05/0.1758, allocations: 11.98 kB / 0.7283 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1758, allocations: 4 kB / 0.7283 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1758, allocations: 0 / 0.7283 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1758, allocations: 4 kB / 0.7283 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1758, allocations: 0 / 0.7283 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.1761, allocations: 183.7 kB / 0.7285 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1762, allocations: 81.09 kB / 0.7286 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1762, allocations: 0 / 0.7286 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.1763, allocations: 4 kB / 0.7286 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.1763, allocations: 16.02 kB / 0.7286 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1764, allocations: 0 / 0.7286 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.1764, allocations: 95.27 kB / 0.7287 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1764, allocations: 0 / 0.7287 GB, free: 14.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002608/0.1767, allocations: 15.94 kB / 0.7287 GB, free: 14.68 MB / 0.545 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.0008058/0.1775, allocations: 0.7279 MB / 0.7294 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.1777, allocations: 43.95 kB / 0.7295 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1777, allocations: 0 / 0.7295 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1779, allocations: 23.97 kB / 0.7295 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1781, allocations: 11.39 kB / 0.7295 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1799, allocations: 1.299 MB / 0.7308 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1802, allocations: 0.6807 MB / 0.7314 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.1802, allocations: 4 kB / 0.7314 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.1803, allocations: 15.42 kB / 0.7314 GB, free: 11.75 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.1803, allocations: 0 / 0.7314 GB, free: 11.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.1994, allocations: 1.961 MB / 0.7334 GB, free: 9.895 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.47, allocations: 15.64 kB / 0.7334 GB, free: 9.887 MB / 0.545 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.499930165009573] Failed to read output from testmodel.py, exit status != 0: 8.595610785996541 8.612930876 8.438353647 Calling exit ...