Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001281/0.001281, allocations: 85.19 kB / 19.18 MB, free: 2.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.001398/0.001398, allocations: 171.3 kB / 22.46 MB, free: 5.383 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.413/1.413, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002447/0.002447, allocations: 249.7 kB / 259.4 MB, free: 468 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.055/1.055, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.485e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002643/0.002667, allocations: 1.556 MB / 0.6483 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004834/0.003151, allocations: 176.2 kB / 0.6485 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.00319, allocations: 4 kB / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.003222, allocations: 7.938 kB / 0.6485 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.77e-05/0.00326, allocations: 3.938 kB / 0.6485 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.003623, allocations: 55.81 kB / 0.6486 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.003699, allocations: 35.8 kB / 0.6486 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003799, allocations: 11.98 kB / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.003841, allocations: 19.98 kB / 0.6486 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.003889, allocations: 19.97 kB / 0.6486 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.003904, allocations: 0 / 0.6486 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.004036, allocations: 51.94 kB / 0.6487 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.00405, allocations: 7.938 kB / 0.6487 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.004078, allocations: 15.98 kB / 0.6487 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004256, allocations: 75.77 kB / 0.6488 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004259, allocations: 0 / 0.6488 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00426, allocations: 0 / 0.6488 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004265, allocations: 0 / 0.6488 GB, free: 2.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005032/0.004768, allocations: 282.2 kB / 0.6491 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.004808, allocations: 13.34 kB / 0.6491 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.004845, allocations: 0.9375 kB / 0.6491 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.004956, allocations: 109.8 kB / 0.6492 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.004976, allocations: 384 / 0.6492 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.004989, allocations: 8.375 kB / 0.6492 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.005198, allocations: 66.16 kB / 0.6493 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.005207, allocations: 192 / 0.6493 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005217, allocations: 4.312 kB / 0.6493 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.005226, allocations: 4.375 kB / 0.6493 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.005431, allocations: 47.89 kB / 0.6493 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.005804, allocations: 212.5 kB / 0.6495 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.006132, allocations: 66.47 kB / 0.6496 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.006234, allocations: 20.91 kB / 0.6496 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.006394, allocations: 15.98 kB / 0.6496 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.006427, allocations: 38.5 kB / 0.6496 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.006428, allocations: 0 / 0.6496 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000406/0.006834, allocations: 97.56 kB / 0.6497 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.006876, allocations: 59.34 kB / 0.6498 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.006961, allocations: 105.8 kB / 0.6499 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.006979, allocations: 29.7 kB / 0.6499 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.00703, allocations: 84.14 kB / 0.65 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.007046, allocations: 8.016 kB / 0.65 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.007085, allocations: 21.7 kB / 0.65 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.007219, allocations: 310.8 kB / 0.6503 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.007316, allocations: 19.98 kB / 0.6503 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.007409, allocations: 23.97 kB / 0.6504 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.007592, allocations: 48.81 kB / 0.6504 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.007593, allocations: 3.938 kB / 0.6504 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000235/0.007828, allocations: 81.48 kB / 0.6505 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.007842, allocations: 6.656 kB / 0.6505 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.007846, allocations: 4 kB / 0.6505 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.007858, allocations: 0 / 0.6505 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.007949, allocations: 15.98 kB / 0.6505 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.007953, allocations: 4 kB / 0.6505 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.008013, allocations: 7.984 kB / 0.6505 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.008018, allocations: 0 / 0.6505 GB, free: 1.035 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: 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 8.638e-05/0.008105, allocations: 113.8 kB / 0.6506 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.008132, allocations: 3.938 kB / 0.6506 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.008414, allocations: 85.33 kB / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008415, allocations: 0 / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.008419, allocations: 4.25 kB / 0.6507 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.008422, allocations: 0 / 0.6507 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.008568, allocations: 113.3 kB / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.008569, allocations: 0 / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.008648, allocations: 15.92 kB / 0.6509 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.00865, allocations: 0 / 0.6509 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.008661, allocations: 3.938 kB / 0.6509 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008662, allocations: 0 / 0.6509 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008663, allocations: 0 / 0.6509 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.008955, allocations: 179.5 kB / 0.651 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.008961, allocations: 0 / 0.651 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.00898, allocations: 7.938 kB / 0.651 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.009073, allocations: 7.984 kB / 0.651 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.009122, allocations: 7.984 kB / 0.6511 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.009127, allocations: 432 / 0.6511 GB, free: 448 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.009173, allocations: 83.28 kB / 0.6511 GB, free: 364 kB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.009173, allocations: 0 / 0.6511 GB, free: 364 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002577/0.00943, allocations: 19.94 kB / 0.6512 GB, free: 344 kB / 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: 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.0001979/0.009628, allocations: 119.2 kB / 0.6513 GB, free: 212 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.009876, allocations: 47.94 kB / 0.6513 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.009878, allocations: 0 / 0.6513 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.009983, allocations: 23.97 kB / 0.6513 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01026, allocations: 7.938 kB / 0.6513 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2434/0.2537, allocations: 120.7 kB / 0.6515 GB, free: 56.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.2537, allocations: 66.31 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.2538, allocations: 4.547 kB / 0.6515 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.2538, allocations: 12.66 kB / 0.6515 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.2538, allocations: 1.594 kB / 0.6515 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.003689/0.2575, allocations: 1.005 MB / 0.6525 GB, free: 56.67 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.710722953081131] Failed to read output from testmodel.py, exit status != 0: 0.2650090493261814 0.27457198899999996 0.268065725 Calling exit ...