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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 99.98 kB / 16.93 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 185.3 kB / 17.86 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8254/0.8254, allocations: 125.4 MB / 417.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003288/0.003289, allocations: 67.89 kB / 0.4948 GB, free: 4.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3862, allocations: 78.56 MB / 0.5715 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002736/0.389, allocations: 1.522 MB / 0.573 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.3895, allocations: 171.7 kB / 0.5732 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.3895, allocations: 3 kB / 0.5732 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.3896, allocations: 4.594 kB / 0.5732 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.3896, allocations: 5.484 kB / 0.5732 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.39, allocations: 51.12 kB / 0.5732 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.3901, allocations: 39.91 kB / 0.5733 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.804e-05/0.3902, allocations: 13.94 kB / 0.5733 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.3902, allocations: 11.45 kB / 0.5733 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.3902, allocations: 26.28 kB / 0.5733 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3903, allocations: 4.875 kB / 0.5733 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3904, allocations: 44.17 kB / 0.5734 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.3904, allocations: 11.3 kB / 0.5734 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.3904, allocations: 17.33 kB / 0.5734 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.3906, allocations: 61.44 kB / 0.5734 GB, free: 30.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3906, allocations: 0.6562 kB / 0.5734 GB, free: 30.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3906, allocations: 1.906 kB / 0.5734 GB, free: 30.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3906, allocations: 1.031 kB / 0.5734 GB, free: 30.14 MB / 446.1 MB 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.0003874/0.391, allocations: 358.9 kB / 0.5738 GB, free: 29.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.391, allocations: 11.06 kB / 0.5738 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.3911, allocations: 6.875 kB / 0.5738 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.189e-05/0.3911, allocations: 177 kB / 0.574 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.3912, allocations: 1.594 kB / 0.574 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3912, allocations: 2.5 kB / 0.574 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3914, allocations: 62.89 kB / 0.574 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3914, allocations: 2.25 kB / 0.574 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3914, allocations: 3.938 kB / 0.574 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3914, allocations: 2.125 kB / 0.574 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.3916, allocations: 50.28 kB / 0.5741 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.392, allocations: 281.8 kB / 0.5744 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.3923, allocations: 57.8 kB / 0.5744 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3924, allocations: 27.3 kB / 0.5744 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.3926, allocations: 165.8 kB / 0.5746 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.3926, allocations: 37.59 kB / 0.5746 GB, free: 28.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3926, allocations: 0 / 0.5746 GB, free: 28.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003809/0.393, allocations: 94.66 kB / 0.5747 GB, free: 28.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.393, allocations: 54.11 kB / 0.5748 GB, free: 28.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.3931, allocations: 115.5 kB / 0.5749 GB, free: 28.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.3931, allocations: 28.11 kB / 0.5749 GB, free: 28.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.3931, allocations: 91.55 kB / 0.575 GB, free: 28.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.3932, allocations: 1.094 kB / 0.575 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.3932, allocations: 19.86 kB / 0.575 GB, free: 28.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.3932, allocations: 317.1 kB / 0.5753 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.3933, allocations: 20.12 kB / 0.5753 GB, free: 28.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/0.3934, allocations: 25.7 kB / 0.5754 GB, free: 28.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3936, allocations: 57.78 kB / 0.5754 GB, free: 28.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3936, allocations: 0 / 0.5754 GB, free: 28.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002129/0.3938, allocations: 73.81 kB / 0.5755 GB, free: 28.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3939, allocations: 5.531 kB / 0.5755 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3939, allocations: 1.266 kB / 0.5755 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3939, allocations: 0 / 0.5755 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.394, allocations: 15.91 kB / 0.5755 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.394, allocations: 1.938 kB / 0.5755 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.3941, allocations: 9.641 kB / 0.5755 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3941, allocations: 3.406 kB / 0.5755 GB, free: 28.19 MB / 446.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: 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 5.023e-05/0.3941, allocations: 117.1 kB / 0.5756 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3942, allocations: 3.125 kB / 0.5756 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.3944, allocations: 89.55 kB / 0.5757 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3944, allocations: 0 / 0.5757 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3944, allocations: 1.875 kB / 0.5757 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3944, allocations: 0.6562 kB / 0.5757 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.3946, allocations: 171.7 kB / 0.5759 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3946, allocations: 0 / 0.5759 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.3947, allocations: 11.27 kB / 0.5759 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3947, allocations: 1.609 kB / 0.5759 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3947, allocations: 1.156 kB / 0.5759 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3947, allocations: 4.703 kB / 0.5759 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3947, allocations: 2 kB / 0.5759 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.3949, allocations: 175.6 kB / 0.5761 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.3949, allocations: 78.88 kB / 0.5762 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.395, allocations: 1.984 kB / 0.5762 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.3951, allocations: 11.45 kB / 0.5762 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.3951, allocations: 8.891 kB / 0.5762 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3951, allocations: 1.188 kB / 0.5762 GB, free: 27.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.732e-05/0.3952, allocations: 89.53 kB / 0.5763 GB, free: 27.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3952, allocations: 0.9688 kB / 0.5763 GB, free: 27.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.3954, allocations: 22.19 kB / 0.5763 GB, free: 27.48 MB / 446.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: 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.0001329/0.3955, allocations: 114.7 kB / 0.5764 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3958, allocations: 51.23 kB / 0.5764 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3958, allocations: 0 / 0.5764 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.3959, allocations: 25.05 kB / 0.5765 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.3962, allocations: 15.05 kB / 0.5765 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.3965, allocations: 145.6 kB / 0.5766 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.632e-05/0.3966, allocations: 0.6802 MB / 0.5773 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.3966, allocations: 12.23 kB / 0.5773 GB, free: 26.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3966, allocations: 3.344 kB / 0.5773 GB, free: 26.52 MB / 446.1 MB Notification: Performance of Templates: time 0.00266/0.3993, allocations: 0.9685 MB / 0.5783 GB, free: 26.48 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)