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.0009227/0.0009225, allocations: 178.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4618/0.4618, allocations: 90.81 MB / 104.5 MB, free: 9.785 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.293/1.293, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.0008808, allocations: 106.2 kB / 421.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.998e-05, allocations: 4 kB / 0.4897 GB, free: 5.227 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3242, allocations: 72.3 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4393, allocations: 101.1 MB / 0.659 GB, free: 3.207 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4395, allocations: 79.39 kB / 0.6591 GB, free: 3.133 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003568/0.4431, allocations: 1.223 MB / 0.6603 GB, free: 1.914 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.4431, allocations: 0 / 0.6603 GB, free: 1.914 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.4432, allocations: 3.938 kB / 0.6603 GB, free: 1.91 MB / 474.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.0003986/0.4436, allocations: 362.4 kB / 0.6606 GB, free: 1.512 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4436, allocations: 13.02 kB / 0.6607 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.4437, allocations: 46.5 kB / 0.6607 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.4437, allocations: 7.953 kB / 0.6607 GB, free: 1.438 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.451e-05/0.4438, allocations: 163.1 kB / 0.6609 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.4441, allocations: 285 kB / 0.6611 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.4441, allocations: 4 kB / 0.6611 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4442, allocations: 69.66 kB / 0.6612 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4443, allocations: 0 / 0.6612 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4443, allocations: 0 / 0.6612 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.4443, allocations: 7.953 kB / 0.6612 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.4445, allocations: 127.7 kB / 0.6613 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.4447, allocations: 178.4 kB / 0.6615 GB, free: 476 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4448, allocations: 88.62 kB / 0.6616 GB, free: 380 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.4449, allocations: 32.84 kB / 0.6616 GB, free: 344 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.4449, allocations: 7.984 kB / 0.6616 GB, free: 336 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.445, allocations: 34.56 kB / 0.6617 GB, free: 292 kB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.445, allocations: 0 / 0.6617 GB, free: 292 kB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002118/0.4452, allocations: 101.9 kB / 0.6618 GB, free: 184 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4452, allocations: 53.94 kB / 0.6618 GB, free: 120 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.121e-05/0.4453, allocations: 89 kB / 0.6619 GB, free: 24 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.4453, allocations: 29.7 kB / 0.6619 GB, free: 15.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.4453, allocations: 80.33 kB / 0.662 GB, free: 15.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.4454, allocations: 35.45 kB / 0.662 GB, free: 15.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.4454, allocations: 4 kB / 0.662 GB, free: 15.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4455, allocations: 318.8 kB / 0.6623 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.833e-05/0.4456, allocations: 23.98 kB / 0.6624 GB, free: 15.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.4456, allocations: 23.98 kB / 0.6624 GB, free: 15.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.4457, allocations: 25.19 kB / 0.6624 GB, free: 15.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4457, allocations: 0 / 0.6624 GB, free: 15.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001592/0.4459, allocations: 105.5 kB / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4459, allocations: 4 kB / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4459, allocations: 3.984 kB / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4459, allocations: 0 / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.4461, allocations: 27.98 kB / 0.6625 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4461, allocations: 0 / 0.6625 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.4462, allocations: 7.906 kB / 0.6626 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4462, allocations: 3.984 kB / 0.6626 GB, free: 15.32 MB / 490.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 () * 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 6.601e-05/0.4462, allocations: 112.9 kB / 0.6627 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.4463, allocations: 4 kB / 0.6627 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.4463, allocations: 12.09 kB / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4463, allocations: 0 / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4463, allocations: 0 / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4463, allocations: 0 / 0.6627 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.4465, allocations: 193.5 kB / 0.6629 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4465, allocations: 0 / 0.6629 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.4466, allocations: 21.02 kB / 0.6629 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4466, allocations: 3.984 kB / 0.6629 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4466, allocations: 7.984 kB / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4466, allocations: 0 / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4466, allocations: 4 kB / 0.6629 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.4468, allocations: 130.4 kB / 0.663 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.4468, allocations: 81.05 kB / 0.6631 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.4469, allocations: 8 kB / 0.6631 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.4469, allocations: 7.984 kB / 0.6631 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.447, allocations: 11.92 kB / 0.6631 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.447, allocations: 7.984 kB / 0.6631 GB, free: 14.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.4471, allocations: 79.84 kB / 0.6632 GB, free: 14.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4471, allocations: 0 / 0.6632 GB, free: 14.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.4473, allocations: 27.94 kB / 0.6632 GB, free: 14.53 MB / 490.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 () * 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.0005202/0.4478, allocations: 0.6915 MB / 0.6639 GB, free: 13.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.448, allocations: 67.91 kB / 0.664 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.448, allocations: 4 kB / 0.664 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.4481, allocations: 46.36 kB / 0.664 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.408e-05/0.4482, allocations: 4.781 kB / 0.664 GB, free: 13.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.4485, allocations: 150.5 kB / 0.6642 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.4488, allocations: 0.6887 MB / 0.6648 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.4489, allocations: 35.95 kB / 0.6649 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.449, allocations: 23.42 kB / 0.6649 GB, free: 12.73 MB / 490.7 MB Notification: Performance of SimCode: time 6.32e-07/0.449, allocations: 0 / 0.6649 GB, free: 12.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.4615, allocations: 1.738 MB / 0.6666 GB, free: 11.14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.4618, allocations: 160.3 kB / 0.6668 GB, free: 10.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.352/1.814, allocations: 0 / 0.6668 GB, free: 10.91 MB / 490.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)