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.001062/0.001062, allocations: 101.7 kB / 16.27 MB, free: 5.93 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.001108/0.001108, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7833/0.7833, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 59.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.37, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002523/0.3726, allocations: 1.521 MB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004073/0.373, allocations: 181 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.373, allocations: 1.562 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.3731, allocations: 4.875 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.3731, allocations: 6.766 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.3734, allocations: 46.78 kB / 0.569 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.3735, allocations: 39.5 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.3736, allocations: 17.2 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.3737, allocations: 13.2 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.3737, allocations: 17.8 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.3737, allocations: 3.938 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3739, allocations: 51.44 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.3739, allocations: 12.17 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.3739, allocations: 18.27 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.374, allocations: 60.58 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3741, allocations: 2.125 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3741, allocations: 0 / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.3741, allocations: 0 / 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.0004385/0.3745, allocations: 361.6 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3746, allocations: 9.562 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.3746, allocations: 33.55 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.3746, allocations: 8.938 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.3747, allocations: 167.6 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3747, allocations: 7.125 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3748, allocations: 1.75 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.375, allocations: 63.77 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.375, allocations: 3.938 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.375, allocations: 1.266 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.375, allocations: 0.7812 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.3752, allocations: 54.23 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.3755, allocations: 277.8 kB / 0.5702 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.3758, allocations: 59.08 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.3759, allocations: 26.78 kB / 0.5702 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.3761, allocations: 166.3 kB / 0.5704 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3762, allocations: 36.09 kB / 0.5704 GB, free: 30.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3762, allocations: 2.094 kB / 0.5704 GB, free: 30.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003801/0.3766, allocations: 98.2 kB / 0.5705 GB, free: 30.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.3766, allocations: 52.97 kB / 0.5706 GB, free: 30.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.3766, allocations: 108.6 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.3767, allocations: 25.7 kB / 0.5707 GB, free: 29.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.3767, allocations: 92.12 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.3767, allocations: 1.875 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.3768, allocations: 19.52 kB / 0.5708 GB, free: 29.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.3768, allocations: 318.4 kB / 0.5711 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.37e-05/0.3769, allocations: 25.12 kB / 0.5711 GB, free: 29.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.377, allocations: 25.55 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.3772, allocations: 47.05 kB / 0.5712 GB, free: 29.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3772, allocations: 0 / 0.5712 GB, free: 29.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002094/0.3774, allocations: 80.11 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3774, allocations: 6.156 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3774, allocations: 0 / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3774, allocations: 0.6562 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.3775, allocations: 11.39 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3775, allocations: 4.328 kB / 0.5713 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.3776, allocations: 17.77 kB / 0.5713 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.3776, allocations: 1.734 kB / 0.5713 GB, free: 29.38 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 7.562e-05/0.3777, allocations: 117.2 kB / 0.5714 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3777, allocations: 1.406 kB / 0.5714 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.378, allocations: 90.14 kB / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.378, allocations: 1.891 kB / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.378, allocations: 0 / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.378, allocations: 0 / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.3781, allocations: 166.1 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3781, allocations: 2.75 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.3782, allocations: 14.02 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3782, allocations: 1.922 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3782, allocations: 1.594 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3782, allocations: 0.6562 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3783, allocations: 0.5312 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3785, allocations: 177 kB / 0.5719 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.3785, allocations: 78.27 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3785, allocations: 2.094 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.3786, allocations: 7.25 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.3787, allocations: 9.656 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3787, allocations: 2.094 kB / 0.572 GB, free: 28.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.08e-05/0.3787, allocations: 87.62 kB / 0.5721 GB, free: 28.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3787, allocations: 1.875 kB / 0.5721 GB, free: 28.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.379, allocations: 22.34 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.0004789/0.3795, allocations: 0.7341 MB / 0.5728 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.3797, allocations: 48.52 kB / 0.5728 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3797, allocations: 0 / 0.5728 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.3798, allocations: 26.31 kB / 0.5729 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.3801, allocations: 4.797 kB / 0.5729 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3814, 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 0.0001543/0.3816, allocations: 0.6791 MB / 0.5748 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.68e-05/0.3816, allocations: 10.17 kB / 0.5748 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.3817, allocations: 16.09 kB / 0.5748 GB, free: 26.08 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3817, allocations: 2.531 kB / 0.5748 GB, free: 26.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.403, allocations: 1.889 MB / 0.5767 GB, free: 25.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.712, allocations: 4.844 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)