Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5478/0.5478, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 104.2 kB / 427.4 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003714, allocations: 19.98 kB / 0.4983 GB, free: 42.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 72.31 MB / 0.5689 GB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.584/0.7461, allocations: 101.1 MB / 0.6677 GB, free: 3.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.7464, allocations: 79.94 kB / 0.6678 GB, free: 3.129 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003655/0.7501, allocations: 1.218 MB / 0.669 GB, free: 1.926 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.7501, allocations: 0 / 0.669 GB, free: 1.926 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.7501, allocations: 4 kB / 0.669 GB, free: 1.922 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004966/0.7506, allocations: 363.9 kB / 0.6693 GB, free: 1.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.7507, allocations: 8.031 kB / 0.6693 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.7508, allocations: 46.5 kB / 0.6694 GB, free: 1.457 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.7508, allocations: 11.95 kB / 0.6694 GB, free: 1.445 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.153e-05/0.7509, allocations: 167.1 kB / 0.6695 GB, free: 1.242 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.7512, allocations: 281 kB / 0.6698 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.7512, allocations: 4 kB / 0.6698 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.7515, allocations: 85.72 kB / 0.6699 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7515, allocations: 0 / 0.6699 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.7515, allocations: 4 kB / 0.6699 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.7515, allocations: 3.953 kB / 0.6699 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.7519, allocations: 131.8 kB / 0.67 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.7521, allocations: 185.5 kB / 0.6702 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.7524, allocations: 98.45 kB / 0.6703 GB, free: 352 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.7524, allocations: 336 / 0.6703 GB, free: 352 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.7525, allocations: 34.5 kB / 0.6703 GB, free: 308 kB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.7525, allocations: 3.938 kB / 0.6703 GB, free: 304 kB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005108/0.753, allocations: 145.6 kB / 0.6705 GB, free: 152 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.753, allocations: 51.41 kB / 0.6705 GB, free: 88 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.7531, allocations: 89 kB / 0.6706 GB, free: 15.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.7531, allocations: 25.7 kB / 0.6706 GB, free: 15.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.7532, allocations: 84.31 kB / 0.6707 GB, free: 15.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.7532, allocations: 39.45 kB / 0.6708 GB, free: 15.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.7532, allocations: 4 kB / 0.6708 GB, free: 15.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7534, allocations: 314.8 kB / 0.6711 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.7535, allocations: 39.91 kB / 0.6711 GB, free: 15.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.7537, allocations: 31.91 kB / 0.6711 GB, free: 15.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.7538, allocations: 35.98 kB / 0.6712 GB, free: 15.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7538, allocations: 0 / 0.6712 GB, free: 15.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003117/0.7541, allocations: 114.2 kB / 0.6713 GB, free: 15.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.7541, allocations: 4 kB / 0.6713 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.7542, allocations: 0 / 0.6713 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.7542, allocations: 4.562 kB / 0.6713 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7543, allocations: 19.98 kB / 0.6713 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.7544, allocations: 3.938 kB / 0.6713 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.7544, allocations: 11.89 kB / 0.6713 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.7544, allocations: 6.125 kB / 0.6713 GB, free: 15.24 MB / 474.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.7546, allocations: 129.7 kB / 0.6714 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.7546, allocations: 0 / 0.6714 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.7547, allocations: 15.97 kB / 0.6715 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7547, allocations: 0 / 0.6715 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7547, allocations: 0 / 0.6715 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7547, allocations: 0 / 0.6715 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.7549, allocations: 177.6 kB / 0.6716 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7549, allocations: 0 / 0.6716 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.755, allocations: 23.97 kB / 0.6717 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.755, allocations: 4 kB / 0.6717 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.755, allocations: 8 kB / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.755, allocations: 0 / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.755, allocations: 0 / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.7554, allocations: 149.6 kB / 0.6718 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.7555, allocations: 85.05 kB / 0.6719 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.7555, allocations: 4 kB / 0.6719 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-05/0.7555, allocations: 8 kB / 0.6719 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.7556, allocations: 15.97 kB / 0.6719 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.7556, allocations: 11.94 kB / 0.6719 GB, free: 14.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.94e-05/0.7557, allocations: 79.27 kB / 0.672 GB, free: 14.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7557, allocations: 0 / 0.672 GB, free: 14.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.7559, allocations: 20 kB / 0.672 GB, free: 14.43 MB / 474.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: 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 (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.000781/0.7567, allocations: 0.7138 MB / 0.6727 GB, free: 13.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.757, allocations: 83.88 kB / 0.6728 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.757, allocations: 0 / 0.6728 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.7572, allocations: 51.89 kB / 0.6728 GB, free: 13.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.655e-05/0.7573, allocations: 4 kB / 0.6729 GB, free: 13.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.7578, allocations: 208.8 kB / 0.6731 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.7581, allocations: 0.6926 MB / 0.6737 GB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000129/0.7583, allocations: 35.95 kB / 0.6738 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.7583, allocations: 23.42 kB / 0.6738 GB, free: 12.53 MB / 474.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7583, allocations: 0 / 0.6738 GB, free: 12.53 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.7725, allocations: 1.715 MB / 0.6755 GB, free: 10.93 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/0.7728, allocations: 179 kB / 0.6756 GB, free: 10.69 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.33, allocations: 0 / 0.6756 GB, free: 10.69 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)