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.001422/0.001422, allocations: 105 kB / 20.44 MB, free: 1.504 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.001612/0.001612, allocations: 208.5 kB / 23.76 MB, free: 4.727 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 8.012 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 0.9747/0.9747, allocations: 150 MB / 463.9 MB, free: 10.45 MB / 366.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: translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") [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.003485/0.003485, allocations: 69.28 kB / 0.6425 GB, free: 9.809 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1928, allocations: 89.17 MB / 0.7296 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0019/0.1947, allocations: 0.5877 MB / 0.7302 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000434/0.1951, allocations: 115.6 kB / 0.7303 GB, free: 4 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.1951, allocations: 0 / 0.7303 GB, free: 4 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.1951, allocations: 0 / 0.7303 GB, free: 4 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1952, allocations: 3.938 kB / 0.7303 GB, free: 0 / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1955, allocations: 40.03 kB / 0.7303 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1957, allocations: 67.86 kB / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.1957, allocations: 4 kB / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.824e-05/0.1957, allocations: 23.98 kB / 0.7304 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.1958, allocations: 23.95 kB / 0.7304 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1958, allocations: 4 kB / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.196, allocations: 51.83 kB / 0.7305 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.196, allocations: 27.95 kB / 0.7305 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.1961, allocations: 23.86 kB / 0.7306 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1962, allocations: 71.77 kB / 0.7306 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1962, allocations: 0 / 0.7306 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1962, allocations: 4 kB / 0.7306 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1962, allocations: 0 / 0.7306 GB, free: 15.66 MB / 0.5606 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.0005403/0.1968, allocations: 302.3 kB / 0.7309 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1968, allocations: 8.031 kB / 0.7309 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.1969, allocations: 4.938 kB / 0.7309 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.197, allocations: 114.4 kB / 0.731 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/0.1974, allocations: 0.526 MB / 0.7315 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1974, allocations: 8.375 kB / 0.7316 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.1977, allocations: 81.38 kB / 0.7316 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1977, allocations: 3.938 kB / 0.7316 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1977, allocations: 3.984 kB / 0.7316 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1977, allocations: 4 kB / 0.7316 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.1981, allocations: 135.8 kB / 0.7318 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.1983, allocations: 144.7 kB / 0.7319 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.1985, allocations: 94.45 kB / 0.732 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1987, allocations: 32.84 kB / 0.732 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1987, allocations: 8 kB / 0.732 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1987, allocations: 38.55 kB / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1987, allocations: 0 / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005201/0.1993, allocations: 153.7 kB / 0.7322 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1993, allocations: 55.39 kB / 0.7323 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.1994, allocations: 89.86 kB / 0.7324 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1994, allocations: 29.7 kB / 0.7324 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.1994, allocations: 84.14 kB / 0.7325 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.1995, allocations: 35.7 kB / 0.7325 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.1995, allocations: 29.69 kB / 0.7325 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1997, allocations: 314.8 kB / 0.7328 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1998, allocations: 35.91 kB / 0.7329 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1999, allocations: 31.98 kB / 0.7329 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.2002, allocations: 71.88 kB / 0.733 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2002, allocations: 0 / 0.733 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003277/0.2005, allocations: 129.5 kB / 0.7331 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2005, allocations: 7.938 kB / 0.7331 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2005, allocations: 0 / 0.7331 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2006, allocations: 0 / 0.7331 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.2007, allocations: 23.98 kB / 0.7331 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2007, allocations: 0 / 0.7331 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.2008, allocations: 15.92 kB / 0.7331 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.2008, allocations: 4 kB / 0.7331 GB, free: 12.78 MB / 0.5606 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.0001092/0.2009, allocations: 121.8 kB / 0.7333 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.2009, allocations: 3.938 kB / 0.7333 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.989e-05/0.2009, allocations: 7.906 kB / 0.7333 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.201, allocations: 4 kB / 0.7333 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.201, allocations: 0 / 0.7333 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.201, allocations: 0 / 0.7333 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.2011, allocations: 160.7 kB / 0.7334 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2011, allocations: 0 / 0.7334 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.2012, allocations: 27.91 kB / 0.7334 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2012, allocations: 3.938 kB / 0.7335 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2013, allocations: 4 kB / 0.7335 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2013, allocations: 7.938 kB / 0.7335 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2013, allocations: 3.984 kB / 0.7335 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.2016, allocations: 137.1 kB / 0.7336 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.2016, allocations: 11.89 kB / 0.7336 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2016, allocations: 3.938 kB / 0.7336 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.2017, allocations: 8 kB / 0.7336 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.2018, allocations: 15.91 kB / 0.7336 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2018, allocations: 8 kB / 0.7336 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.2018, allocations: 75.28 kB / 0.7337 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2018, allocations: 0 / 0.7337 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003474/0.2021, allocations: 23.98 kB / 0.7337 GB, free: 12.09 MB / 0.5606 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.000199/0.2023, allocations: 119.2 kB / 0.7339 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.2027, allocations: 79.94 kB / 0.7339 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2027, allocations: 3.938 kB / 0.7339 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.2028, allocations: 47.97 kB / 0.734 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.203, allocations: 0 / 0.734 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.2034, allocations: 189.4 kB / 0.7342 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2038, allocations: 0.6884 MB / 0.7348 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.2038, allocations: 23.42 kB / 0.7349 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2038, allocations: 0 / 0.7349 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.003381/0.2072, allocations: 1.326 MB / 0.7361 GB, free: 9.555 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.098079484887421] Failed to read output from testmodel.py, exit status != 0: 0.21835585101507604 0.23174892800000002 0.032297799 Calling exit ...