Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005004/0.005004, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001163/0.001163, allocations: 188.8 kB / 16.67 MB, free: 5.969 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.009/1.009, allocations: 143 MB / 433.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.89 kB / 0.5951 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5055, allocations: 82.02 MB / 0.6752 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001658/0.5072, allocations: 0.584 MB / 0.6758 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.5076, allocations: 101.6 kB / 0.6759 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.5076, allocations: 1.094 kB / 0.6759 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.5077, allocations: 0 / 0.6759 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.5077, allocations: 0 / 0.6759 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.5081, allocations: 49.62 kB / 0.6759 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.5082, allocations: 60.16 kB / 0.676 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.5082, allocations: 2.562 kB / 0.676 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.5083, allocations: 24.78 kB / 0.676 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.5083, allocations: 24.66 kB / 0.676 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.5083, allocations: 7.031 kB / 0.676 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.5085, allocations: 51.03 kB / 0.6761 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.5085, allocations: 15.48 kB / 0.6761 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.5085, allocations: 18.8 kB / 0.6761 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.5087, allocations: 74.14 kB / 0.6762 GB, free: 476 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5087, allocations: 0 / 0.6762 GB, free: 476 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5087, allocations: 4 kB / 0.6762 GB, free: 472 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.5087, allocations: 0 / 0.6762 GB, free: 472 kB / 0.4981 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.0004475/0.5092, allocations: 376.7 kB / 0.6766 GB, free: 76 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5092, allocations: 14.12 kB / 0.6766 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.5092, allocations: 45.97 kB / 0.6766 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.5093, allocations: 5.656 kB / 0.6766 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.5094, allocations: 162.2 kB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.5097, allocations: 282.6 kB / 0.677 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.5097, allocations: 6.875 kB / 0.677 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.5099, allocations: 86.42 kB / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5099, allocations: 0 / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.51, allocations: 1.312 kB / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.51, allocations: 1.188 kB / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.5103, allocations: 140.3 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.5105, allocations: 178.6 kB / 0.6774 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.5108, allocations: 90.97 kB / 0.6775 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.511, allocations: 51.03 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.511, allocations: 1.156 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.5111, allocations: 44.38 kB / 0.6776 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.5111, allocations: 0 / 0.6776 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0005688/0.5116, allocations: 144.2 kB / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.5117, allocations: 52.53 kB / 0.6778 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.806e-05/0.5117, allocations: 89.86 kB / 0.6779 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5118, allocations: 30.92 kB / 0.6779 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.5118, allocations: 88.12 kB / 0.678 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.5118, allocations: 36.91 kB / 0.678 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.5119, allocations: 26.55 kB / 0.6781 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.512, allocations: 320 kB / 0.6784 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.5122, allocations: 33.91 kB / 0.6784 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.5123, allocations: 40.41 kB / 0.6784 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.5126, allocations: 69.5 kB / 0.6785 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5126, allocations: 4 kB / 0.6785 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003531/0.513, allocations: 124.1 kB / 0.6786 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.513, allocations: 13.42 kB / 0.6786 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.513, allocations: 0 / 0.6786 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.513, allocations: 0.9688 kB / 0.6786 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.5132, allocations: 21.23 kB / 0.6787 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5132, allocations: 1.094 kB / 0.6787 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.5133, allocations: 7.375 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5133, allocations: 7.047 kB / 0.6787 GB, free: 14.11 MB / 0.5137 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 8.405e-05/0.5134, allocations: 122.4 kB / 0.6788 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.5134, allocations: 9.953 kB / 0.6788 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.5135, allocations: 13.08 kB / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5135, allocations: 1.062 kB / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.5135, allocations: 0 / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5135, allocations: 1.25 kB / 0.6788 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.5136, allocations: 179.2 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5136, allocations: 3.938 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.5138, allocations: 26.5 kB / 0.679 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5138, allocations: 7.938 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5138, allocations: 2.375 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5138, allocations: 0 / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5138, allocations: 0.9375 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.5142, allocations: 149 kB / 0.6792 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.5142, allocations: 83.77 kB / 0.6792 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.5143, allocations: 1.375 kB / 0.6792 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.5143, allocations: 6.594 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.5144, allocations: 17.09 kB / 0.6793 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.5144, allocations: 2.688 kB / 0.6793 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.689e-05/0.5144, allocations: 77.61 kB / 0.6793 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5144, allocations: 1.438 kB / 0.6793 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002315/0.5147, allocations: 24.5 kB / 0.6794 GB, free: 13.43 MB / 0.5137 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.0007552/0.5154, allocations: 0.7008 MB / 0.6801 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.5158, allocations: 89.45 kB / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5158, allocations: 0 / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.516, allocations: 49.12 kB / 0.6802 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.5161, allocations: 2.344 kB / 0.6802 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.5167, allocations: 211.4 kB / 0.6804 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.517, allocations: 0.6872 MB / 0.6811 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.5172, allocations: 42.67 kB / 0.6811 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.5173, allocations: 21.08 kB / 0.6811 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.5173, allocations: 0 / 0.6811 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.5355, allocations: 2.048 MB / 0.6831 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.644/8.18, allocations: 13.52 kB / 0.6831 GB, free: 10.68 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)