Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8223/0.8223, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.00105/0.00105, allocations: 175.8 kB / 182.2 MB, free: 9.465 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.354/1.354, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0008878/0.0008878, allocations: 80.11 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 268.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.302e-05, allocations: 8 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3768, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.5059, allocations: 107.5 MB / 0.8624 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5062, allocations: 79.83 kB / 0.8625 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003697/0.5099, allocations: 1.221 MB / 0.8637 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5099, allocations: 3.938 kB / 0.8637 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.5099, allocations: 0 / 0.8637 GB, free: 3.035 MB / 0.5261 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.0003743/0.5103, allocations: 354.4 kB / 0.864 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.5103, allocations: 12.03 kB / 0.864 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.5104, allocations: 7.906 kB / 0.864 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.114e-05/0.5105, allocations: 163.1 kB / 0.8642 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.5107, allocations: 281 kB / 0.8644 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.5108, allocations: 4 kB / 0.8644 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001939/0.511, allocations: 119.8 kB / 0.8646 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.5111, allocations: 69.53 kB / 0.8646 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5111, allocations: 0 / 0.8646 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.5111, allocations: 4 kB / 0.8646 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5111, allocations: 0 / 0.8646 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.5113, allocations: 150.2 kB / 0.8648 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.5114, allocations: 82.59 kB / 0.8649 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.5115, allocations: 32.84 kB / 0.8649 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.5115, allocations: 7.984 kB / 0.8649 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.5116, allocations: 34.52 kB / 0.8649 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.5116, allocations: 0 / 0.8649 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001414/0.513, allocations: 205.4 kB / 0.8651 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.513, allocations: 51.41 kB / 0.8652 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.137e-05/0.5131, allocations: 88.91 kB / 0.8653 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.5131, allocations: 29.7 kB / 0.8653 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.5131, allocations: 80.33 kB / 0.8654 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.5132, allocations: 27.78 kB / 0.8654 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.5132, allocations: 4 kB / 0.8654 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5133, allocations: 322.8 kB / 0.8657 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.5133, allocations: 19.98 kB / 0.8657 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.5134, allocations: 24 kB / 0.8657 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.5146, allocations: 135.8 kB / 0.8659 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5146, allocations: 0 / 0.8659 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001357/0.516, allocations: 209.4 kB / 0.8661 GB, free: 312 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.516, allocations: 4 kB / 0.8661 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.516, allocations: 0 / 0.8661 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.516, allocations: 7.891 kB / 0.8661 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.5162, allocations: 31.91 kB / 0.8661 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5162, allocations: 3.75 kB / 0.8661 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.5163, allocations: 4 kB / 0.8661 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5163, allocations: 3.984 kB / 0.8661 GB, free: 260 kB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.522e-05/0.5164, allocations: 108.9 kB / 0.8662 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.5164, allocations: 4 kB / 0.8662 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.5165, allocations: 12.41 kB / 0.8662 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5165, allocations: 4 kB / 0.8662 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5165, allocations: 3.953 kB / 0.8662 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5165, allocations: 0 / 0.8662 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.5167, allocations: 150.1 kB / 0.8664 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5167, allocations: 0 / 0.8664 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.5168, allocations: 35.89 kB / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.5168, allocations: 4 kB / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.5168, allocations: 0 / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5168, allocations: 4 kB / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5169, allocations: 0 / 0.8664 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.5182, allocations: 237.2 kB / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.5182, allocations: 84.95 kB / 0.8667 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5183, allocations: 4 kB / 0.8667 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.5183, allocations: 3.984 kB / 0.8667 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.5184, allocations: 11.98 kB / 0.8668 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5184, allocations: 7.984 kB / 0.8668 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.5184, allocations: 79.28 kB / 0.8668 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5184, allocations: 0 / 0.8668 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002286/0.5187, allocations: 24 kB / 0.8669 GB, free: 15.41 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.5189, allocations: 131 kB / 0.867 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.519, allocations: 64.08 kB / 0.8671 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.519, allocations: 0 / 0.8671 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.728e-05/0.5191, allocations: 40.14 kB / 0.8671 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/0.5192, allocations: 9.609 kB / 0.8671 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.5195, allocations: 99.86 kB / 0.8672 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.5198, allocations: 0.6885 MB / 0.8679 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00014/0.52, allocations: 39.7 kB / 0.8679 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.52, allocations: 23.36 kB / 0.8679 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of SimCode: time 4.4e-07/0.52, allocations: 0 / 0.8679 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.00305/0.5231, allocations: 0.9038 MB / 0.8688 GB, free: 13.37 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)