Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_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.008107/0.008107, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.001829/0.001829, allocations: 186 kB / 16.67 MB, free: 5.926 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.663/1.663, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.064/1.064, allocations: 143 MB / 433.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4275, allocations: 82.03 MB / 0.6752 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002744/0.4303, allocations: 1.526 MB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005225/0.4309, allocations: 179.7 kB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.431, allocations: 5.156 kB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.431, allocations: 0 / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.4311, allocations: 5.156 kB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.4315, allocations: 51.34 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.776e-05/0.4316, allocations: 42.5 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4317, allocations: 13.78 kB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.4317, allocations: 14.05 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.4318, allocations: 28.34 kB / 0.677 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.4318, allocations: 3.844 kB / 0.677 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.432, allocations: 43.36 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.432, allocations: 5.344 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.432, allocations: 15.38 kB / 0.6771 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.4322, allocations: 74.2 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4323, allocations: 1.219 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4323, allocations: 0 / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.934e-06/0.4323, allocations: 4 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB 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.0005831/0.4329, allocations: 358.8 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4329, allocations: 10.34 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.433, allocations: 30.75 kB / 0.6775 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.433, allocations: 7.047 kB / 0.6775 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4332, allocations: 170.7 kB / 0.6777 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.4332, allocations: 6.875 kB / 0.6777 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4332, allocations: 1.469 kB / 0.6777 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.4334, allocations: 63.95 kB / 0.6777 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4334, allocations: 7.875 kB / 0.6778 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4335, allocations: 1.062 kB / 0.6778 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4335, allocations: 1.094 kB / 0.6778 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.4337, allocations: 43.45 kB / 0.6778 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.4341, allocations: 279.1 kB / 0.6781 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.4345, allocations: 67.12 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.4347, allocations: 24.25 kB / 0.6782 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.435, allocations: 165 kB / 0.6783 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.435, allocations: 30.56 kB / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4351, allocations: 8.875 kB / 0.6783 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004234/0.4355, allocations: 98.55 kB / 0.6784 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4355, allocations: 52.69 kB / 0.6785 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.4356, allocations: 107.2 kB / 0.6786 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.4357, allocations: 33.58 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.4357, allocations: 93.55 kB / 0.6787 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.4358, allocations: 10.5 kB / 0.6787 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.4358, allocations: 20.34 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4359, allocations: 316.1 kB / 0.679 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.4361, allocations: 22.44 kB / 0.6791 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.791e-05/0.4361, allocations: 19.33 kB / 0.6791 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.4363, allocations: 47.16 kB / 0.6791 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4363, allocations: 4 kB / 0.6791 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002398/0.4366, allocations: 73.61 kB / 0.6792 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4366, allocations: 4.469 kB / 0.6792 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4366, allocations: 1.156 kB / 0.6792 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4366, allocations: 0 / 0.6792 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.4367, allocations: 16.02 kB / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4368, allocations: 320 / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.4368, allocations: 16.69 kB / 0.6792 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.4368, allocations: 4 kB / 0.6792 GB, free: 13.45 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: 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 8.437e-05/0.4369, allocations: 112.1 kB / 0.6794 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.437, allocations: 2.438 kB / 0.6794 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.4372, allocations: 87.5 kB / 0.6794 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4372, allocations: 1.125 kB / 0.6794 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4373, allocations: 0 / 0.6794 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4373, allocations: 5.266 kB / 0.6794 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4374, allocations: 168.4 kB / 0.6796 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4375, allocations: 1 kB / 0.6796 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.4375, allocations: 18.89 kB / 0.6796 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4375, allocations: 1.094 kB / 0.6796 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.4376, allocations: 0 / 0.6796 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4376, allocations: 1.125 kB / 0.6796 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4376, allocations: 4 kB / 0.6796 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4378, allocations: 180.3 kB / 0.6798 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.4379, allocations: 82.19 kB / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.4379, allocations: 0 / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.438, allocations: 4.531 kB / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.4381, allocations: 9.891 kB / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4381, allocations: 2.094 kB / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.4381, allocations: 89.42 kB / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4381, allocations: 0 / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002516/0.4384, allocations: 21.25 kB / 0.68 GB, free: 12.68 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: 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.0006805/0.4391, allocations: 0.721 MB / 0.6807 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.4393, allocations: 62.34 kB / 0.6808 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4393, allocations: 0 / 0.6808 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4394, allocations: 26.33 kB / 0.6808 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4398, allocations: 2.219 kB / 0.6808 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.4414, allocations: 1.289 MB / 0.682 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.4416, allocations: 0.6832 MB / 0.6827 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.4417, allocations: 6.984 kB / 0.6827 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.4417, allocations: 18.73 kB / 0.6827 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4417, allocations: 0 / 0.6827 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.4638, allocations: 1.942 MB / 0.6846 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/8.061, allocations: 12.88 kB / 0.6846 GB, free: 8.906 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)