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.001827/0.001827, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.002318/0.002318, allocations: 207.1 kB / 20.8 MB, free: 2.391 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.509/1.509, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.022/1.022, allocations: 150 MB / 460.2 MB, free: 5.305 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.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.002012/0.002012, allocations: 69.58 kB / 0.6368 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 89.12 MB / 0.7239 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.00176/0.1743, allocations: 0.5827 MB / 0.7245 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.1747, allocations: 116 kB / 0.7246 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.1747, allocations: 4 kB / 0.7246 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.1747, allocations: 0 / 0.7246 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.1747, allocations: 0 / 0.7246 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.175, allocations: 39.83 kB / 0.7246 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1752, allocations: 59.94 kB / 0.7247 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.1752, allocations: 4 kB / 0.7247 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.1752, allocations: 19.98 kB / 0.7247 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.1753, allocations: 23.95 kB / 0.7247 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1753, allocations: 4 kB / 0.7247 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1754, allocations: 51.95 kB / 0.7248 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.1755, allocations: 35.83 kB / 0.7248 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1755, allocations: 19.92 kB / 0.7248 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1756, allocations: 72.05 kB / 0.7249 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1756, allocations: 0 / 0.7249 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1756, allocations: 0 / 0.7249 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1756, allocations: 0 / 0.7249 GB, free: 3.109 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005612/0.1762, allocations: 379.4 kB / 0.7252 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1762, allocations: 12.03 kB / 0.7253 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.655e-05/0.1763, allocations: 192 / 0.7253 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1763, allocations: 42.75 kB / 0.7253 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1763, allocations: 8.938 kB / 0.7253 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1765, allocations: 168.3 kB / 0.7255 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.1768, allocations: 281.5 kB / 0.7257 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1768, allocations: 4.375 kB / 0.7257 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.177, allocations: 85.69 kB / 0.7258 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1771, allocations: 0 / 0.7258 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1771, allocations: 8 kB / 0.7258 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1771, allocations: 0 / 0.7258 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.1775, allocations: 131.8 kB / 0.726 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.1777, allocations: 177.6 kB / 0.7261 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.178, allocations: 94.45 kB / 0.7262 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1781, allocations: 44.81 kB / 0.7263 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1782, allocations: 4 kB / 0.7263 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1782, allocations: 34.5 kB / 0.7263 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1782, allocations: 0 / 0.7263 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005682/0.1788, allocations: 149.9 kB / 0.7264 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1788, allocations: 51.41 kB / 0.7265 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.1789, allocations: 89.86 kB / 0.7266 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1789, allocations: 29.7 kB / 0.7266 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.1789, allocations: 84.14 kB / 0.7267 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.179, allocations: 43.61 kB / 0.7267 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.179, allocations: 25.7 kB / 0.7267 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1792, allocations: 318.8 kB / 0.727 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1793, allocations: 31.97 kB / 0.7271 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1795, allocations: 39.36 kB / 0.7271 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1797, allocations: 76.75 kB / 0.7272 GB, free: 468 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1797, allocations: 0 / 0.7272 GB, free: 468 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003711/0.1801, allocations: 113.5 kB / 0.7273 GB, free: 348 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1801, allocations: 4 kB / 0.7273 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1801, allocations: 3.938 kB / 0.7273 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1801, allocations: 0 / 0.7273 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1803, allocations: 35.92 kB / 0.7273 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1803, allocations: 3.984 kB / 0.7273 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.1804, allocations: 7.938 kB / 0.7274 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1804, allocations: 7.938 kB / 0.7274 GB, free: 284 kB / 0.5294 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 0.0001196/0.1805, allocations: 117.8 kB / 0.7275 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.1805, allocations: 7.891 kB / 0.7275 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1806, allocations: 11.97 kB / 0.7275 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1806, allocations: 4 kB / 0.7275 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1806, allocations: 4 kB / 0.7275 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1806, allocations: 0 / 0.7275 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1808, allocations: 173.7 kB / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1808, allocations: 0 / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.1809, allocations: 35.84 kB / 0.7277 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1809, allocations: 0 / 0.7277 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1809, allocations: 4 kB / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1809, allocations: 0 / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1809, allocations: 3.984 kB / 0.7277 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.1813, allocations: 145 kB / 0.7278 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.1814, allocations: 88.98 kB / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1814, allocations: 0 / 0.7279 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.1815, allocations: 11.98 kB / 0.7279 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.1815, allocations: 7.984 kB / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1815, allocations: 4 kB / 0.7279 GB, free: 15.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.1816, allocations: 75.28 kB / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1816, allocations: 0 / 0.728 GB, free: 15.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002494/0.1818, allocations: 23.98 kB / 0.728 GB, free: 15.47 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: 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.0008006/0.1826, allocations: 0.7019 MB / 0.7287 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.183, allocations: 79.88 kB / 0.7288 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.183, allocations: 0 / 0.7288 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.1832, allocations: 43.95 kB / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1833, allocations: 14.03 kB / 0.7289 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.1838, allocations: 212.2 kB / 0.7291 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1842, allocations: 0.6914 MB / 0.7297 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001946/0.1844, allocations: 39.95 kB / 0.7298 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.1844, allocations: 19.42 kB / 0.7298 GB, free: 13.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1844, allocations: 3.938 kB / 0.7298 GB, free: 13.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.2027, allocations: 2.059 MB / 0.7318 GB, free: 11.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.442/8.644, allocations: 14.41 kB / 0.7318 GB, free: 11.63 MB / 0.545 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.639578860020265] Failed to read output from testmodel.py, exit status != 0: 8.773131649999414 8.792772536 8.614176582 Calling exit ...