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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.007909/0.007909, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001961/0.001961, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 282.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 103.8 kB / 0.6943 GB, free: 3.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5128, allocations: 89.13 MB / 0.7814 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.00172/0.5146, allocations: 0.5987 MB / 0.782 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004052/0.515, allocations: 108 kB / 0.7821 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.5151, allocations: 3.438 kB / 0.7821 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.5151, allocations: 0 / 0.7821 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.5151, allocations: 0 / 0.7821 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.5155, allocations: 44.31 kB / 0.7821 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.5156, allocations: 68.59 kB / 0.7822 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.5157, allocations: 4.453 kB / 0.7822 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.5157, allocations: 20.39 kB / 0.7822 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.5158, allocations: 29.05 kB / 0.7822 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.5158, allocations: 3.062 kB / 0.7822 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.516, allocations: 48.08 kB / 0.7823 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.516, allocations: 19.97 kB / 0.7823 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.5161, allocations: 20.8 kB / 0.7823 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.5162, allocations: 70.61 kB / 0.7824 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5162, allocations: 0 / 0.7824 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5163, allocations: 4 kB / 0.7824 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.5163, allocations: 1.531 kB / 0.7824 GB, free: 13.32 MB / 0.5606 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.000569/0.5168, allocations: 381.4 kB / 0.7827 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5169, allocations: 9.594 kB / 0.7828 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.5169, allocations: 39.56 kB / 0.7828 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.517, allocations: 4.875 kB / 0.7828 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.5171, allocations: 162.8 kB / 0.7829 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.5174, allocations: 281.2 kB / 0.7832 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.5175, allocations: 7.719 kB / 0.7832 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.5177, allocations: 87.78 kB / 0.7833 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5178, allocations: 0.5156 kB / 0.7833 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.5178, allocations: 1.031 kB / 0.7833 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5178, allocations: 5.047 kB / 0.7833 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.5182, allocations: 133.4 kB / 0.7834 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.5184, allocations: 179 kB / 0.7836 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.5187, allocations: 94.97 kB / 0.7837 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5189, allocations: 45.94 kB / 0.7837 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.5189, allocations: 13.02 kB / 0.7838 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.519, allocations: 44.77 kB / 0.7838 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.519, allocations: 3.938 kB / 0.7838 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005669/0.5195, allocations: 139.7 kB / 0.7839 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.5196, allocations: 52.81 kB / 0.784 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.02e-05/0.5196, allocations: 90.42 kB / 0.7841 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.5197, allocations: 34.67 kB / 0.7841 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.5197, allocations: 80.14 kB / 0.7842 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.5198, allocations: 35.45 kB / 0.7842 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.5198, allocations: 31.17 kB / 0.7842 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.52, allocations: 313.7 kB / 0.7845 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.5201, allocations: 38.25 kB / 0.7846 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.5203, allocations: 30.16 kB / 0.7846 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.5206, allocations: 77.78 kB / 0.7847 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5206, allocations: 5.375 kB / 0.7847 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00035/0.5209, allocations: 119.7 kB / 0.7848 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.521, allocations: 10.19 kB / 0.7848 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.521, allocations: 0.7969 kB / 0.7848 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.521, allocations: 0 / 0.7848 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5211, allocations: 23.42 kB / 0.7848 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5212, allocations: 5.281 kB / 0.7848 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.5212, allocations: 5.375 kB / 0.7848 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.5212, allocations: 4 kB / 0.7849 GB, free: 11.17 MB / 0.5606 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 9.165e-05/0.5213, allocations: 120.9 kB / 0.785 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.5214, allocations: 11.08 kB / 0.785 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.5214, allocations: 11.97 kB / 0.785 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5214, allocations: 1.812 kB / 0.785 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5214, allocations: 4 kB / 0.785 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5214, allocations: 1.922 kB / 0.785 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.5216, allocations: 180.1 kB / 0.7852 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5216, allocations: 0 / 0.7852 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.5218, allocations: 24.34 kB / 0.7852 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.5218, allocations: 7.938 kB / 0.7852 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.5218, allocations: 4.25 kB / 0.7852 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5218, allocations: 0 / 0.7852 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5218, allocations: 4.5 kB / 0.7852 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.5222, allocations: 140.3 kB / 0.7853 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.5222, allocations: 87.72 kB / 0.7854 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.5223, allocations: 5.656 kB / 0.7854 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/0.5223, allocations: 8.062 kB / 0.7854 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.5224, allocations: 10.36 kB / 0.7854 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.5224, allocations: 5.094 kB / 0.7855 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.5225, allocations: 75.28 kB / 0.7855 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5225, allocations: 0 / 0.7855 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002205/0.5227, allocations: 30.62 kB / 0.7856 GB, free: 10.53 MB / 0.5606 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.0008067/0.5235, allocations: 0.6999 MB / 0.7862 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.5239, allocations: 81.11 kB / 0.7863 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5239, allocations: 3.938 kB / 0.7863 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.524, allocations: 47.36 kB / 0.7864 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.5242, allocations: 7.516 kB / 0.7864 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.5247, allocations: 196 kB / 0.7866 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.5251, allocations: 0.6882 MB / 0.7872 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.5252, allocations: 43.28 kB / 0.7873 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.5253, allocations: 21.03 kB / 0.7873 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.5253, allocations: 3.938 kB / 0.7873 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.5504, allocations: 2.034 MB / 0.7893 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.303, allocations: 10.27 kB / 0.7893 GB, free: 8.566 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)