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.001287/0.001287, allocations: 112.1 kB / 16.37 MB, free: 6.344 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.001281/0.001281, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 287.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8954/0.8954, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.438, allocations: 86.98 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001587/0.4397, allocations: 0.5785 MB / 0.7676 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003625/0.44, allocations: 103.6 kB / 0.7677 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.4401, allocations: 0 / 0.7677 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.4401, allocations: 0 / 0.7677 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-06/0.4401, allocations: 4 kB / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.4404, allocations: 35.89 kB / 0.7677 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.4406, allocations: 63.92 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.4406, allocations: 4 kB / 0.7678 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.4407, allocations: 27.98 kB / 0.7678 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.4407, allocations: 23.95 kB / 0.7678 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.4407, allocations: 7.938 kB / 0.7678 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.4408, allocations: 47.95 kB / 0.7679 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.4409, allocations: 15.98 kB / 0.7679 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.4409, allocations: 27.89 kB / 0.7679 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.4411, allocations: 67.84 kB / 0.768 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4411, allocations: 4 kB / 0.768 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4411, allocations: 0 / 0.768 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.4411, allocations: 0 / 0.768 GB, free: 2.918 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.000489/0.4416, allocations: 371.2 kB / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4416, allocations: 11.97 kB / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.4417, allocations: 8.844 kB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4418, allocations: 172.3 kB / 0.7685 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.442, allocations: 277.6 kB / 0.7688 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.4421, allocations: 8.375 kB / 0.7688 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.4423, allocations: 74.2 kB / 0.7689 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4423, allocations: 3.938 kB / 0.7689 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4423, allocations: 7.938 kB / 0.7689 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4424, allocations: 4 kB / 0.7689 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.4427, allocations: 131.8 kB / 0.769 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.4429, allocations: 181.6 kB / 0.7692 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.4431, allocations: 90.53 kB / 0.7693 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.4433, allocations: 40.83 kB / 0.7693 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4433, allocations: 8.312 kB / 0.7693 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.4433, allocations: 46.5 kB / 0.7694 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.4433, allocations: 0 / 0.7694 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005014/0.4438, allocations: 161.7 kB / 0.7695 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.4439, allocations: 51.41 kB / 0.7696 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.704e-05/0.4439, allocations: 89.86 kB / 0.7697 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.444, allocations: 25.7 kB / 0.7697 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.444, allocations: 80.14 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.444, allocations: 38.08 kB / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.4441, allocations: 29.7 kB / 0.7698 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4442, allocations: 318.8 kB / 0.7701 GB, free: 472 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.4443, allocations: 39.91 kB / 0.7702 GB, free: 432 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4445, allocations: 27.98 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.4447, allocations: 72.81 kB / 0.7703 GB, free: 328 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4447, allocations: 0 / 0.7703 GB, free: 328 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003188/0.4451, allocations: 121.5 kB / 0.7704 GB, free: 200 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4451, allocations: 14.38 kB / 0.7704 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4451, allocations: 3.984 kB / 0.7704 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4451, allocations: 4 kB / 0.7704 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4453, allocations: 23.98 kB / 0.7704 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4453, allocations: 0 / 0.7704 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.4453, allocations: 4 kB / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4454, allocations: 11.98 kB / 0.7704 GB, free: 140 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 8.116e-05/0.4454, allocations: 112.2 kB / 0.7706 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.4455, allocations: 15.78 kB / 0.7706 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.4455, allocations: 11.95 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4455, allocations: 8 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4455, allocations: 0 / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4456, allocations: 0 / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.4457, allocations: 177.6 kB / 0.7708 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4457, allocations: 0 / 0.7708 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4458, allocations: 23.98 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4458, allocations: 7.922 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4458, allocations: 7.938 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4458, allocations: 4 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4459, allocations: 0 / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.4462, allocations: 148.8 kB / 0.7709 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.4462, allocations: 77.11 kB / 0.771 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.4462, allocations: 11.94 kB / 0.771 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.291e-05/0.4463, allocations: 0 / 0.771 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.4464, allocations: 19.97 kB / 0.771 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.4464, allocations: 4 kB / 0.771 GB, free: 15.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.4464, allocations: 75.28 kB / 0.7711 GB, free: 15.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4464, allocations: 0 / 0.7711 GB, free: 15.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000217/0.4466, allocations: 28 kB / 0.7711 GB, free: 15.32 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.0001704/0.4468, allocations: 111.2 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.4471, allocations: 91.81 kB / 0.7713 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4472, allocations: 4 kB / 0.7713 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.4473, allocations: 44.72 kB / 0.7714 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.4474, allocations: 4 kB / 0.7714 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.4478, allocations: 190.9 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.4481, allocations: 0.6885 MB / 0.7722 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.4481, allocations: 19.42 kB / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4481, allocations: 0 / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of Templates: time 0.002643/0.4508, allocations: 1.328 MB / 0.7736 GB, free: 12.79 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)