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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 104.2 kB / 16.41 MB, free: 6.52 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.001303/0.001303, allocations: 188 kB / 17.34 MB, free: 5.738 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.456/1.456, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 291.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 95.84 kB / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3947, allocations: 86.99 MB / 0.7671 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001593/0.3962, allocations: 0.5708 MB / 0.7677 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.3966, allocations: 107.6 kB / 0.7678 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.3966, allocations: 0 / 0.7678 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.3966, allocations: 7.875 kB / 0.7678 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.3966, allocations: 0 / 0.7678 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.3969, allocations: 35.89 kB / 0.7678 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3971, allocations: 67.94 kB / 0.7679 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.3971, allocations: 4 kB / 0.7679 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.3971, allocations: 23.97 kB / 0.7679 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.3972, allocations: 19.97 kB / 0.7679 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3972, allocations: 4 kB / 0.7679 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3973, allocations: 59.88 kB / 0.768 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.3974, allocations: 19.97 kB / 0.768 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.3974, allocations: 19.91 kB / 0.768 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.3975, allocations: 71.64 kB / 0.7681 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.3975, allocations: 0 / 0.7681 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3975, allocations: 4 kB / 0.7681 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.3975, allocations: 0 / 0.7681 GB, free: 3.027 MB / 0.5294 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.0005317/0.3981, allocations: 377.6 kB / 0.7684 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3981, allocations: 15.97 kB / 0.7685 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3981, allocations: 4.938 kB / 0.7685 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3983, allocations: 160.4 kB / 0.7686 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.3985, allocations: 281.6 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3986, allocations: 8.312 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.3988, allocations: 78.2 kB / 0.769 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3988, allocations: 3.938 kB / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3988, allocations: 4 kB / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.3989, allocations: 4 kB / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.3992, allocations: 135.8 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.3994, allocations: 177.5 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.3997, allocations: 90.45 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.3999, allocations: 40.84 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3999, allocations: 16.31 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3999, allocations: 38.5 kB / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3999, allocations: 0 / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005371/0.4005, allocations: 145.5 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4005, allocations: 51.41 kB / 0.7696 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.4006, allocations: 93.84 kB / 0.7697 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4006, allocations: 29.7 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.4006, allocations: 84.14 kB / 0.7698 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.4007, allocations: 35.7 kB / 0.7699 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.4007, allocations: 33.64 kB / 0.7699 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4009, allocations: 318.8 kB / 0.7702 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.401, allocations: 39.91 kB / 0.7703 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.4012, allocations: 27.98 kB / 0.7703 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.4014, allocations: 73.47 kB / 0.7703 GB, free: 440 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4014, allocations: 0 / 0.7703 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003587/0.4018, allocations: 125.5 kB / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4018, allocations: 14.22 kB / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4018, allocations: 0 / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4018, allocations: 0 / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.402, allocations: 27.92 kB / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.402, allocations: 0 / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.4021, allocations: 7.984 kB / 0.7705 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4021, allocations: 0 / 0.7705 GB, free: 260 kB / 0.5294 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 () * 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.69e-05/0.4022, allocations: 117.8 kB / 0.7706 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.4022, allocations: 15.88 kB / 0.7706 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.4022, allocations: 11.97 kB / 0.7707 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4022, allocations: 4 kB / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4022, allocations: 0 / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4022, allocations: 0 / 0.7707 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.4024, allocations: 177.6 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4024, allocations: 0 / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.4025, allocations: 31.91 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4025, allocations: 3.938 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.4025, allocations: 0 / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.4026, allocations: 8 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4026, allocations: 0 / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.4029, allocations: 141 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.403, allocations: 85.05 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.403, allocations: 7.938 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.403, allocations: 4 kB / 0.7711 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.4031, allocations: 15.97 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.4031, allocations: 0 / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.221e-05/0.4031, allocations: 83.28 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4031, allocations: 0 / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000233/0.4034, allocations: 20 kB / 0.7712 GB, free: 15.44 MB / 0.545 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 () * 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.0001925/0.4036, allocations: 123.1 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.4039, allocations: 83.88 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4039, allocations: 0 / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4041, allocations: 51.89 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.4042, allocations: 4 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.4046, allocations: 157 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4049, allocations: 0.6884 MB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.4051, allocations: 35.95 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.4051, allocations: 23.42 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.4051, allocations: 0 / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of Templates: time 0.00341/0.4085, allocations: 1.028 MB / 0.7733 GB, free: 13.2 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)