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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.008181/0.008181, allocations: 99.69 kB / 15.73 MB, free: 6.445 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.001384/0.001384, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.123/1.123, allocations: 143.3 MB / 433.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003086/0.003086, allocations: 67.91 kB / 0.5953 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5122, allocations: 82.02 MB / 0.6754 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001532/0.5138, allocations: 0.5874 MB / 0.676 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.5142, allocations: 105.5 kB / 0.6761 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.5142, allocations: 1.031 kB / 0.6761 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.5142, allocations: 0 / 0.6761 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.5142, allocations: 0 / 0.6761 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.5145, allocations: 46.2 kB / 0.6762 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.5146, allocations: 58.75 kB / 0.6762 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.5146, allocations: 10.12 kB / 0.6762 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.5147, allocations: 29.33 kB / 0.6763 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.5147, allocations: 24.8 kB / 0.6763 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.5147, allocations: 3.688 kB / 0.6763 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.5148, allocations: 50.5 kB / 0.6763 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.5149, allocations: 19.94 kB / 0.6764 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.5149, allocations: 21.69 kB / 0.6764 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.515, allocations: 63.67 kB / 0.6764 GB, free: 180 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.515, allocations: 0 / 0.6764 GB, free: 180 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5151, allocations: 1 kB / 0.6764 GB, free: 180 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.5151, allocations: 4 kB / 0.6764 GB, free: 176 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.000499/0.5156, allocations: 384.8 kB / 0.6768 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.5156, allocations: 9.125 kB / 0.6768 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.5157, allocations: 41.72 kB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.5157, allocations: 6.969 kB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.5158, allocations: 164.4 kB / 0.677 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.5161, allocations: 279.6 kB / 0.6773 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.5161, allocations: 3.406 kB / 0.6773 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.5164, allocations: 90.09 kB / 0.6774 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5164, allocations: 4 kB / 0.6774 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5164, allocations: 1.031 kB / 0.6774 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.5164, allocations: 1 kB / 0.6774 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.5168, allocations: 132.1 kB / 0.6775 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.517, allocations: 179.7 kB / 0.6777 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.5173, allocations: 95.2 kB / 0.6778 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.5175, allocations: 50.34 kB / 0.6778 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.5175, allocations: 13.05 kB / 0.6778 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5176, allocations: 39.72 kB / 0.6779 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.5176, allocations: 0 / 0.6779 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0005622/0.5181, allocations: 140.5 kB / 0.678 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.5182, allocations: 52.47 kB / 0.6781 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.156e-05/0.5183, allocations: 91.02 kB / 0.6781 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.5183, allocations: 25.7 kB / 0.6782 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.5183, allocations: 88.14 kB / 0.6782 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.5184, allocations: 36.47 kB / 0.6783 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.5185, allocations: 26.58 kB / 0.6783 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5186, allocations: 317 kB / 0.6786 GB, free: 14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.5188, allocations: 38.03 kB / 0.6786 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.5189, allocations: 35.94 kB / 0.6787 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.5192, allocations: 77.47 kB / 0.6788 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5192, allocations: 0.9688 kB / 0.6788 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003404/0.5196, allocations: 119.8 kB / 0.6789 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5196, allocations: 9.75 kB / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5196, allocations: 0 / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5196, allocations: 1.25 kB / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.5198, allocations: 29.47 kB / 0.6789 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5198, allocations: 0 / 0.6789 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.5199, allocations: 7.531 kB / 0.6789 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.5199, allocations: 3.344 kB / 0.6789 GB, free: 13.83 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 9.628e-05/0.52, allocations: 118.5 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.52, allocations: 14.17 kB / 0.679 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.5201, allocations: 7.969 kB / 0.6791 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.5201, allocations: 5.125 kB / 0.6791 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5201, allocations: 1.188 kB / 0.6791 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5201, allocations: 0 / 0.6791 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.5203, allocations: 183.8 kB / 0.6792 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5203, allocations: 0 / 0.6792 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.5204, allocations: 29.88 kB / 0.6793 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.5204, allocations: 5.219 kB / 0.6793 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.5204, allocations: 1.125 kB / 0.6793 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.5204, allocations: 9.109 kB / 0.6793 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5204, allocations: 0 / 0.6793 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.5208, allocations: 141.5 kB / 0.6794 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.5209, allocations: 87.47 kB / 0.6795 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5209, allocations: 1.125 kB / 0.6795 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.157e-05/0.521, allocations: 10.67 kB / 0.6795 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.521, allocations: 8.984 kB / 0.6795 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.521, allocations: 7.125 kB / 0.6795 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.5211, allocations: 81.59 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5211, allocations: 0.875 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002295/0.5213, allocations: 24.94 kB / 0.6796 GB, free: 13.14 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.0007883/0.5221, allocations: 0.6943 MB / 0.6803 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.5225, allocations: 88.66 kB / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5225, allocations: 0 / 0.6804 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.5226, allocations: 49.39 kB / 0.6804 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.5228, allocations: 3.078 kB / 0.6804 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.5233, allocations: 210.9 kB / 0.6806 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.5236, allocations: 0.6864 MB / 0.6813 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.5238, allocations: 39.72 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.5239, allocations: 20.86 kB / 0.6814 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.5239, allocations: 4 kB / 0.6814 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.5459, allocations: 2.05 MB / 0.6834 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.319, allocations: 8.484 kB / 0.6834 GB, free: 10.39 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)