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.001547/0.001547, allocations: 82.95 kB / 19.94 MB, free: 1.777 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.001418/0.001418, allocations: 163.5 kB / 23.22 MB, free: 4.902 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.369/1.369, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 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.8939/0.8939, allocations: 114 MB / 373.9 MB, free: 13.25 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: 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5547 GB, free: 2.566 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.67e-05, allocations: 11.3 kB / 0.5547 GB, free: 2.559 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001473/0.001499, allocations: 0.5791 MB / 0.5553 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003666/0.001866, allocations: 104 kB / 0.5554 GB, free: 1.883 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.001884, allocations: 4 kB / 0.5554 GB, free: 1.879 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.001912, allocations: 0 / 0.5554 GB, free: 1.879 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.001918, allocations: 0 / 0.5554 GB, free: 1.879 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.002282, allocations: 43.83 kB / 0.5554 GB, free: 1.836 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.002421, allocations: 67.86 kB / 0.5555 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.002466, allocations: 4 kB / 0.5555 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.002522, allocations: 35.95 kB / 0.5556 GB, free: 1.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.002567, allocations: 19.95 kB / 0.5556 GB, free: 1.711 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.002588, allocations: 4 kB / 0.5556 GB, free: 1.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.002728, allocations: 51.94 kB / 0.5556 GB, free: 1.656 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.002766, allocations: 19.92 kB / 0.5556 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.002797, allocations: 15.97 kB / 0.5557 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.002967, allocations: 91.73 kB / 0.5557 GB, free: 1.531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002969, allocations: 0 / 0.5557 GB, free: 1.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00297, allocations: 4 kB / 0.5557 GB, free: 1.527 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.002978, allocations: 0 / 0.5557 GB, free: 1.527 MB / 462.1 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.0005437/0.003522, allocations: 296.9 kB / 0.556 GB, free: 1.207 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.003557, allocations: 12.62 kB / 0.556 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.003599, allocations: 4.938 kB / 0.556 GB, free: 1.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.554e-05/0.003684, allocations: 105.7 kB / 0.5561 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.004114, allocations: 0.5299 MB / 0.5567 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.00413, allocations: 4.375 kB / 0.5567 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.004385, allocations: 82.14 kB / 0.5567 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.004395, allocations: 192 / 0.5567 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.004407, allocations: 4.375 kB / 0.5568 GB, free: 324 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.004418, allocations: 16.05 kB / 0.5568 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.004784, allocations: 127.8 kB / 0.5569 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.004949, allocations: 121.3 kB / 0.557 GB, free: 28 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.005285, allocations: 90.55 kB / 0.5571 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.005433, allocations: 40.83 kB / 0.5571 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.005455, allocations: 4 kB / 0.5571 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.005479, allocations: 30.56 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.00548, allocations: 0 / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005896/0.006069, allocations: 156.8 kB / 0.5573 GB, free: 15.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.006108, allocations: 51.41 kB / 0.5574 GB, free: 15.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.006163, allocations: 97.8 kB / 0.5575 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.006182, allocations: 25.7 kB / 0.5575 GB, free: 15.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.006219, allocations: 80.14 kB / 0.5576 GB, free: 15.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.006274, allocations: 43.64 kB / 0.5576 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.006329, allocations: 29.7 kB / 0.5576 GB, free: 15.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.006486, allocations: 314.8 kB / 0.5579 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.006626, allocations: 31.98 kB / 0.558 GB, free: 14.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.00676, allocations: 31.97 kB / 0.558 GB, free: 14.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.007045, allocations: 84.69 kB / 0.5581 GB, free: 14.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.007047, allocations: 0 / 0.5581 GB, free: 14.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003444/0.007391, allocations: 113.1 kB / 0.5582 GB, free: 14.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.007404, allocations: 4 kB / 0.5582 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.007409, allocations: 0 / 0.5582 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.007428, allocations: 4 kB / 0.5582 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.00758, allocations: 23.97 kB / 0.5582 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.007588, allocations: 3.938 kB / 0.5582 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.007651, allocations: 7.938 kB / 0.5582 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.007669, allocations: 7.984 kB / 0.5582 GB, free: 14.7 MB / 478.1 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 9.815e-05/0.007767, allocations: 125.7 kB / 0.5583 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.007785, allocations: 7.953 kB / 0.5584 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.007823, allocations: 15.91 kB / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.007826, allocations: 3.984 kB / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.00783, allocations: 0 / 0.5584 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.007834, allocations: 3.938 kB / 0.5584 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.00795, allocations: 121.2 kB / 0.5585 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007951, allocations: 0 / 0.5585 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.008076, allocations: 27.98 kB / 0.5585 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008078, allocations: 0 / 0.5585 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.008091, allocations: 7.984 kB / 0.5585 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.008094, allocations: 4 kB / 0.5585 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008095, allocations: 0 / 0.5585 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.008469, allocations: 144.9 kB / 0.5587 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.00848, allocations: 11.92 kB / 0.5587 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.008496, allocations: 0 / 0.5587 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.008557, allocations: 11.88 kB / 0.5587 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.008621, allocations: 15.97 kB / 0.5587 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.008632, allocations: 4 kB / 0.5587 GB, free: 14.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.585e-05/0.008668, allocations: 79.22 kB / 0.5588 GB, free: 14.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008668, allocations: 4 kB / 0.5588 GB, free: 14.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.008883, allocations: 20 kB / 0.5588 GB, free: 14.04 MB / 478.1 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.0001887/0.009071, allocations: 114.7 kB / 0.5589 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.009423, allocations: 87.88 kB / 0.559 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009424, allocations: 0 / 0.559 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.009581, allocations: 47.89 kB / 0.559 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.009729, allocations: 11.88 kB / 0.5591 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.01013, allocations: 153 kB / 0.5592 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.879e-05/0.0102, allocations: 75.33 kB / 0.5593 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.0103, allocations: 35.97 kB / 0.5593 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.01035, allocations: 16.48 kB / 0.5593 GB, free: 13.46 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01036, allocations: 0 / 0.5593 GB, free: 13.46 MB / 478.1 MB Notification: Performance of Templates: time 0.003603/0.01396, allocations: 1.009 MB / 0.5603 GB, free: 12.46 MB / 478.1 MB " [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: 5.131968963891268] Failed to read output from testmodel.py, exit status != 0: 0.022683989256620407 0.047189811000000005 0.038841794000000006 Calling exit ...