Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9564/0.9564, allocations: 145 MB / 453.8 MB, free: 0.6641 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 66.03 kB / 0.6281 GB, free: 10.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2053, allocations: 87.82 MB / 0.7138 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5989/0.8042, allocations: 177.6 MB / 0.8873 GB, free: 14.6 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.8235, allocations: 9.605 MB / 0.8967 GB, free: 4.965 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.824, allocations: 15.88 kB / 0.8967 GB, free: 4.949 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001065/0.8251, allocations: 194.7 kB / 0.8969 GB, free: 4.758 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.8255, allocations: 91.31 kB / 0.8969 GB, free: 4.668 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.8258, allocations: 67.91 kB / 0.897 GB, free: 4.602 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000684/0.8265, allocations: 334.6 kB / 0.8973 GB, free: 4.273 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.827, allocations: 144.9 kB / 0.8975 GB, free: 4.133 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005639/0.8275, allocations: 171.4 kB / 0.8976 GB, free: 3.965 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.8278, allocations: 131.3 kB / 0.8978 GB, free: 3.836 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.8279, allocations: 24 kB / 0.8978 GB, free: 3.812 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.8279, allocations: 24 kB / 0.8978 GB, free: 3.789 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.8281, allocations: 75.77 kB / 0.8979 GB, free: 3.715 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.8283, allocations: 123.3 kB / 0.898 GB, free: 3.594 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.8288, allocations: 313.2 kB / 0.8983 GB, free: 3.293 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8288, allocations: 0 / 0.8983 GB, free: 3.293 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8288, allocations: 0 / 0.8983 GB, free: 3.293 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.8289, allocations: 0 / 0.8983 GB, free: 3.293 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009074/0.8298, allocations: 0.5182 MB / 0.8988 GB, free: 2.727 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.8298, allocations: 8.031 kB / 0.8988 GB, free: 2.719 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.8299, allocations: 70.53 kB / 0.8989 GB, free: 2.641 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/0.83, allocations: 31.75 kB / 0.8989 GB, free: 2.609 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.8307, allocations: 274.6 kB / 0.8992 GB, free: 2.301 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.8307, allocations: 24.55 kB / 0.8992 GB, free: 2.277 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.8308, allocations: 24 kB / 0.8992 GB, free: 2.254 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/0.8316, allocations: 331.9 kB / 0.8995 GB, free: 1.883 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.8316, allocations: 4 kB / 0.8995 GB, free: 1.879 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.8316, allocations: 12 kB / 0.8995 GB, free: 1.867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.8317, allocations: 8 kB / 0.8995 GB, free: 1.859 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.8321, allocations: 143.7 kB / 0.8997 GB, free: 1.719 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.8345, allocations: 1.816 MB / 0.9015 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.8347, allocations: 169.1 kB / 0.9016 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.8347, allocations: 84.25 kB / 0.9017 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.8348, allocations: 87.16 kB / 0.9018 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.345e-05/0.8349, allocations: 109.8 kB / 0.9019 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.8349, allocations: 0 / 0.9019 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 0.0001548/0.8351, allocations: 53.56 kB / 0.9019 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.8352, allocations: 134.6 kB / 0.9021 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/0.8359, allocations: 377.6 kB / 0.9024 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.8359, allocations: 25.7 kB / 0.9025 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.8362, allocations: 167.9 kB / 0.9026 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-06/0.8362, allocations: 0 / 0.9026 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.8362, allocations: 21.72 kB / 0.9026 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.8365, allocations: 338.8 kB / 0.903 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.8365, allocations: 3.984 kB / 0.903 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.8366, allocations: 36.3 kB / 0.903 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.8367, allocations: 44.23 kB / 0.903 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8367, allocations: 0 / 0.903 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002779/0.837, allocations: 89.36 kB / 0.9031 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.837, allocations: 4 kB / 0.9031 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.837, allocations: 160 / 0.9031 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.837, allocations: 11.98 kB / 0.9031 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.8371, allocations: 8 kB / 0.9031 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.8371, allocations: 3.938 kB / 0.9031 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.8373, allocations: 32.61 kB / 0.9032 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.8373, allocations: 4 kB / 0.9032 GB, free: 13.92 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0002606/0.8375, allocations: 213 kB / 0.9034 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.8377, allocations: 132.7 kB / 0.9035 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.8378, allocations: 131 kB / 0.9036 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001275/0.838, allocations: 184.2 kB / 0.9038 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001169/0.8381, allocations: 180.2 kB / 0.904 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001268/0.8382, allocations: 180.2 kB / 0.9042 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.8388, allocations: 494.8 kB / 0.9046 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-05/0.8389, allocations: 104.9 kB / 0.9047 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.839, allocations: 108.9 kB / 0.9048 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.8391, allocations: 184.2 kB / 0.905 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.8393, allocations: 184.2 kB / 0.9052 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001218/0.8394, allocations: 176.3 kB / 0.9054 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001188/0.8395, allocations: 180.2 kB / 0.9055 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.8398, allocations: 339.6 kB / 0.9058 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.84, allocations: 213.8 kB / 0.9061 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.8401, allocations: 180.3 kB / 0.9062 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.8403, allocations: 101 kB / 0.9063 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.8405, allocations: 184.2 kB / 0.9065 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.8405, allocations: 106.3 kB / 0.9066 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005067/0.841, allocations: 267.2 kB / 0.9069 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.841, allocations: 0 / 0.9069 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000479/0.8415, allocations: 35.89 kB / 0.9069 GB, free: 9.906 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0007211/0.8422, allocations: 0.8437 MB / 0.9077 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.8424, allocations: 19.92 kB / 0.9077 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8424, allocations: 0 / 0.9077 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.8424, allocations: 0 / 0.9077 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.8439, allocations: 0.5532 MB / 0.9083 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.8484, allocations: 2.687 MB / 0.9109 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.8489, allocations: 0.7558 MB / 0.9116 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001576/0.8491, allocations: 30.97 kB / 0.9117 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.8493, allocations: 75.41 kB / 0.9117 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.8493, allocations: 0 / 0.9117 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.8884, allocations: 5.951 MB / 0.9175 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/9.316, allocations: 15.86 kB / 0.9176 GB, free: 15.02 MB / 0.7012 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.290355189994443] Failed to read output from testmodel.py, exit status != 0: 9.387310681995586 9.400365505 8.56844834 Calling exit ...