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/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8821/0.8821, allocations: 143.4 MB / 159.2 MB, free: 4.906 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 187.1 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 115.1 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00181/0.00181, allocations: 287.9 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 87.88 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3515, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002236/0.3538, allocations: 1.589 MB / 0.7695 GB, free: 26.09 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003947/0.3542, allocations: 187.5 kB / 0.7697 GB, free: 25.9 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.3542, allocations: 3.938 kB / 0.7697 GB, free: 25.9 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.3543, allocations: 0 / 0.7697 GB, free: 25.9 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.3543, allocations: 0 / 0.7697 GB, free: 25.9 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.3545, allocations: 43.89 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.3546, allocations: 31.92 kB / 0.7697 GB, free: 25.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.3547, allocations: 11.98 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.3547, allocations: 15.94 kB / 0.7698 GB, free: 25.8 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.3547, allocations: 23.91 kB / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3548, allocations: 0 / 0.7698 GB, free: 25.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-05/0.3549, allocations: 47.95 kB / 0.7698 GB, free: 25.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.3549, allocations: 3.938 kB / 0.7698 GB, free: 25.72 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.3549, allocations: 19.92 kB / 0.7699 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.355, allocations: 62.52 kB / 0.7699 GB, free: 25.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.355, allocations: 0 / 0.7699 GB, free: 25.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.355, allocations: 0 / 0.7699 GB, free: 25.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3551, allocations: 0 / 0.7699 GB, free: 25.64 MB / 458.7 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.0004316/0.3555, allocations: 355.5 kB / 0.7703 GB, free: 25.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.3555, allocations: 12.03 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.3556, allocations: 4.875 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.274e-05/0.3556, allocations: 172.2 kB / 0.7704 GB, free: 25.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3557, allocations: 8.312 kB / 0.7704 GB, free: 25.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3557, allocations: 4.375 kB / 0.7704 GB, free: 25.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3559, allocations: 70.14 kB / 0.7705 GB, free: 24.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3559, allocations: 192 / 0.7705 GB, free: 24.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3559, allocations: 7.938 kB / 0.7705 GB, free: 24.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3559, allocations: 0 / 0.7705 GB, free: 24.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3561, allocations: 43.95 kB / 0.7706 GB, free: 24.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.3564, allocations: 276.8 kB / 0.7708 GB, free: 24.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.3567, allocations: 62.48 kB / 0.7709 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.3568, allocations: 28.89 kB / 0.7709 GB, free: 24.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.357, allocations: 174.2 kB / 0.7711 GB, free: 24.26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.357, allocations: 34.56 kB / 0.7711 GB, free: 24.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.357, allocations: 0 / 0.7711 GB, free: 24.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003577/0.3574, allocations: 105.5 kB / 0.7712 GB, free: 24.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.3574, allocations: 51.41 kB / 0.7713 GB, free: 24.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.421e-05/0.3575, allocations: 109.8 kB / 0.7714 GB, free: 23.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.3575, allocations: 25.7 kB / 0.7714 GB, free: 23.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.3575, allocations: 84.14 kB / 0.7715 GB, free: 23.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.3575, allocations: 11.84 kB / 0.7715 GB, free: 23.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.3575, allocations: 21.7 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.3576, allocations: 318.8 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.3577, allocations: 19.98 kB / 0.7718 GB, free: 23.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.3578, allocations: 19.97 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3579, allocations: 48.81 kB / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3579, allocations: 0 / 0.7719 GB, free: 23.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000198/0.3581, allocations: 81.5 kB / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3582, allocations: 4 kB / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3582, allocations: 0 / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3582, allocations: 0 / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.3583, allocations: 11.98 kB / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3583, allocations: 0 / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.3584, allocations: 15.92 kB / 0.772 GB, free: 23.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3584, allocations: 4 kB / 0.772 GB, free: 23.24 MB / 458.7 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.004e-05/0.3584, allocations: 113.8 kB / 0.7721 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3585, allocations: 4 kB / 0.7721 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.3587, allocations: 85.48 kB / 0.7722 GB, free: 23.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3587, allocations: 0 / 0.7722 GB, free: 23.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3587, allocations: 0 / 0.7722 GB, free: 23.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3587, allocations: 4 kB / 0.7722 GB, free: 23.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.3588, allocations: 161.6 kB / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3588, allocations: 4 kB / 0.7724 GB, free: 22.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.3589, allocations: 11.98 kB / 0.7724 GB, free: 22.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3589, allocations: 7.938 kB / 0.7724 GB, free: 22.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3589, allocations: 4 kB / 0.7724 GB, free: 22.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3589, allocations: 3.984 kB / 0.7724 GB, free: 22.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.359, allocations: 0 / 0.7724 GB, free: 22.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.3594, allocations: 0.7359 MB / 0.7731 GB, free: 21.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.3595, allocations: 85.09 kB / 0.7732 GB, free: 21.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3595, allocations: 0 / 0.7732 GB, free: 21.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.3596, allocations: 8 kB / 0.7732 GB, free: 21.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.3596, allocations: 15.95 kB / 0.7732 GB, free: 21.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3596, allocations: 0 / 0.7732 GB, free: 21.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.547e-05/0.3597, allocations: 87.27 kB / 0.7733 GB, free: 21.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3597, allocations: 0 / 0.7733 GB, free: 21.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.36, allocations: 20 kB / 0.7733 GB, free: 21.75 MB / 458.7 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.0001703/0.3602, allocations: 119.8 kB / 0.7734 GB, free: 21.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3604, allocations: 43.89 kB / 0.7735 GB, free: 21.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3604, allocations: 0 / 0.7735 GB, free: 21.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.3605, allocations: 23.98 kB / 0.7735 GB, free: 21.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3609, allocations: 11.98 kB / 0.7735 GB, free: 21.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.3612, allocations: 238.1 kB / 0.7737 GB, free: 21.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.3614, allocations: 0.677 MB / 0.7744 GB, free: 20.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.516e-05/0.3614, allocations: 4 kB / 0.7744 GB, free: 20.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.3614, allocations: 15.44 kB / 0.7744 GB, free: 20.55 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3614, allocations: 0 / 0.7744 GB, free: 20.55 MB / 458.7 MB Notification: Performance of Templates: time 0.002741/0.3642, allocations: 0.9116 MB / 0.7753 GB, free: 19.65 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile (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)