Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 103.4 kB / 16.27 MB, free: 5.879 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.001962/0.001962, allocations: 191.7 kB / 17.2 MB, free: 5.527 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3532, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002686/0.3559, allocations: 1.517 MB / 0.5688 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003914/0.3563, allocations: 183.2 kB / 0.5689 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.3564, allocations: 1.438 kB / 0.5689 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.3564, allocations: 5.016 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.3565, allocations: 1.25 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3567, allocations: 50.98 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.022e-05/0.3568, allocations: 38.89 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.496e-05/0.3569, allocations: 18.23 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.3569, allocations: 19.34 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.75e-05/0.357, allocations: 17.88 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.357, allocations: 8.031 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3571, allocations: 51.94 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.3571, allocations: 6.188 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.3572, allocations: 13.55 kB / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3573, allocations: 69.17 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3573, allocations: 0.5625 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3573, allocations: 0 / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.3573, allocations: 1.719 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003586/0.3577, allocations: 348.1 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3577, allocations: 10.59 kB / 0.5696 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.3578, allocations: 37.12 kB / 0.5696 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.3578, allocations: 7.516 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.552e-05/0.3579, allocations: 168.7 kB / 0.5698 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3579, allocations: 5.391 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3579, allocations: 4 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3581, allocations: 66.52 kB / 0.5698 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3581, allocations: 4.688 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3581, allocations: 1.781 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3581, allocations: 3.719 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.3583, allocations: 43.08 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.3586, allocations: 283.4 kB / 0.5702 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.3589, allocations: 60.36 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.3591, allocations: 29.19 kB / 0.5702 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.3592, allocations: 164.7 kB / 0.5704 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.3593, allocations: 38.05 kB / 0.5704 GB, free: 30.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3593, allocations: 0 / 0.5704 GB, free: 30.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003684/0.3596, allocations: 90.61 kB / 0.5705 GB, free: 30.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.3597, allocations: 57.62 kB / 0.5706 GB, free: 30.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.078e-05/0.3597, allocations: 110.8 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.3597, allocations: 31.92 kB / 0.5707 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.3598, allocations: 86.09 kB / 0.5708 GB, free: 29.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.3598, allocations: 7.719 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.3598, allocations: 15.61 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.915e-05/0.3599, allocations: 321.4 kB / 0.5711 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.36, allocations: 17.09 kB / 0.5711 GB, free: 29.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.229e-05/0.36, allocations: 21.39 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3602, allocations: 46.08 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3602, allocations: 1.531 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002032/0.3604, allocations: 86.61 kB / 0.5713 GB, free: 29.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3605, allocations: 8.188 kB / 0.5713 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3605, allocations: 0.7031 kB / 0.5713 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.3605, allocations: 1.156 kB / 0.5713 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.3606, allocations: 15.59 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3606, allocations: 2.031 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.3606, allocations: 9.797 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3606, allocations: 1.922 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.679e-05/0.3607, allocations: 118.8 kB / 0.5714 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3607, allocations: 1.125 kB / 0.5714 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.361, allocations: 86.78 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.361, allocations: 1.109 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.361, allocations: 8.672 kB / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.361, allocations: 0.5625 kB / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3611, allocations: 170.3 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3611, allocations: 0.9688 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.3612, allocations: 11.06 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3612, allocations: 2.203 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3612, allocations: 1.344 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3612, allocations: 1.625 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3612, allocations: 1.25 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3615, allocations: 172.8 kB / 0.5719 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.3615, allocations: 78.73 kB / 0.572 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3615, allocations: 5.891 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.3616, allocations: 5.672 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.3617, allocations: 9.547 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3617, allocations: 2.688 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.883e-05/0.3617, allocations: 91.86 kB / 0.5721 GB, free: 28.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3617, allocations: 5.656 kB / 0.5721 GB, free: 28.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.3619, allocations: 22.09 kB / 0.5721 GB, free: 28.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004328/0.3624, allocations: 0.7217 MB / 0.5728 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.3626, allocations: 47.44 kB / 0.5728 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3626, allocations: 3.938 kB / 0.5728 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.3627, allocations: 28.81 kB / 0.5729 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.363, allocations: 3.359 kB / 0.5729 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.3641, allocations: 1.287 MB / 0.5741 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.64e-05/0.3642, allocations: 0.6806 MB / 0.5748 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.018e-05/0.3642, allocations: 5.5 kB / 0.5748 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.3643, allocations: 18.52 kB / 0.5748 GB, free: 26.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3643, allocations: 0.9688 kB / 0.5748 GB, free: 26.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.3829, allocations: 1.889 MB / 0.5767 GB, free: 25.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.514, allocations: 5.812 kB / 0.5767 GB, free: 25.73 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)