Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001537/0.001537, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001527/0.001527, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.996 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 1.002/1.002, allocations: 145 MB / 457.4 MB, free: 15.5 MB / 366.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.InletToAirDryAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.002179/0.002179, allocations: 62.47 kB / 0.6332 GB, free: 7.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1931, allocations: 87.88 MB / 0.719 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5733/0.7664, allocations: 151.6 MB / 0.8671 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005725/0.7721, allocations: 4.77 MB / 0.8718 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.7724, allocations: 21.84 kB / 0.8718 GB, free: 0.8828 MB / 0.6387 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.0005979/0.773, allocations: 163.9 kB / 0.8719 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.7734, allocations: 83.44 kB / 0.872 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.7735, allocations: 73.67 kB / 0.8721 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.774, allocations: 294.8 kB / 0.8724 GB, free: 288 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.7742, allocations: 100.2 kB / 0.8725 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.7744, allocations: 119.5 kB / 0.8726 GB, free: 72 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.7747, allocations: 163.4 kB / 0.8727 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.7747, allocations: 16 kB / 0.8727 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-05/0.7747, allocations: 16 kB / 0.8728 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.7748, allocations: 59.83 kB / 0.8728 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.7749, allocations: 107.4 kB / 0.8729 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.7752, allocations: 250.9 kB / 0.8732 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7753, allocations: 0 / 0.8732 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7753, allocations: 0 / 0.8732 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.7753, allocations: 4 kB / 0.8732 GB, free: 15.47 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005027/0.7758, allocations: 421.7 kB / 0.8736 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.7758, allocations: 8.031 kB / 0.8736 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.724e-05/0.7759, allocations: 58.72 kB / 0.8736 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.7759, allocations: 28.75 kB / 0.8737 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.7763, allocations: 214 kB / 0.8739 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.7763, allocations: 20.81 kB / 0.8739 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.7764, allocations: 16.56 kB / 0.8739 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.7768, allocations: 308.8 kB / 0.8742 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.7768, allocations: 0 / 0.8742 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.7768, allocations: 8 kB / 0.8742 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7768, allocations: 4 kB / 0.8742 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.777, allocations: 131.7 kB / 0.8743 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.7786, allocations: 1.924 MB / 0.8762 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.7787, allocations: 169.1 kB / 0.8764 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.7787, allocations: 84.14 kB / 0.8764 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.7787, allocations: 75.28 kB / 0.8765 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/0.7788, allocations: 109.8 kB / 0.8766 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.7788, allocations: 0 / 0.8766 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.995e-05/0.7789, allocations: 57.44 kB / 0.8767 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.779, allocations: 126.7 kB / 0.8768 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.7794, allocations: 336.5 kB / 0.8771 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.7794, allocations: 25.7 kB / 0.8771 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.7795, allocations: 163.8 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.7795, allocations: 0 / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.7796, allocations: 33.64 kB / 0.8773 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7798, allocations: 330.8 kB / 0.8776 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.7798, allocations: 7.984 kB / 0.8777 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.7799, allocations: 51.75 kB / 0.8777 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.178e-05/0.78, allocations: 78.73 kB / 0.8778 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.78, allocations: 4 kB / 0.8778 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001922/0.7801, allocations: 105.3 kB / 0.8779 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7802, allocations: 4 kB / 0.8779 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.7802, allocations: 4 kB / 0.8779 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7802, allocations: 3.938 kB / 0.8779 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.7803, allocations: 19.98 kB / 0.8779 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7803, allocations: 4 kB / 0.8779 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.7803, allocations: 31.47 kB / 0.8779 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.7804, allocations: 4 kB / 0.878 GB, free: 10.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.000156/0.7805, allocations: 213 kB / 0.8782 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.7806, allocations: 128.8 kB / 0.8783 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.7807, allocations: 133.9 kB / 0.8784 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.852e-05/0.7808, allocations: 176.3 kB / 0.8786 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.826e-05/0.7808, allocations: 192.2 kB / 0.8788 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.926e-05/0.7809, allocations: 184.2 kB / 0.8789 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.7813, allocations: 444.2 kB / 0.8794 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-05/0.7813, allocations: 104.9 kB / 0.8795 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.7814, allocations: 105 kB / 0.8796 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.717e-05/0.7814, allocations: 176.3 kB / 0.8797 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.95e-05/0.7815, allocations: 188.1 kB / 0.8799 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.101e-05/0.7816, allocations: 180.3 kB / 0.8801 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.312e-05/0.7817, allocations: 188.2 kB / 0.8803 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.7818, allocations: 319.7 kB / 0.8806 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.7819, allocations: 140.7 kB / 0.8807 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.782, allocations: 184.2 kB / 0.8809 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.7822, allocations: 108.9 kB / 0.881 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.7822, allocations: 176.3 kB / 0.8811 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.7823, allocations: 109 kB / 0.8812 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002608/0.7825, allocations: 239 kB / 0.8815 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7825, allocations: 7.938 kB / 0.8815 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002627/0.7828, allocations: 24 kB / 0.8815 GB, free: 6.371 MB / 0.6544 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.000463/0.7833, allocations: 0.8203 MB / 0.8823 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.7834, allocations: 40.05 kB / 0.8823 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7834, allocations: 0 / 0.8823 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.7834, allocations: 3.938 kB / 0.8823 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.7842, allocations: 0.5245 MB / 0.8829 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.7869, allocations: 2.502 MB / 0.8853 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.7873, allocations: 0.744 MB / 0.886 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.7874, allocations: 22.3 kB / 0.8861 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.7875, allocations: 67.41 kB / 0.8861 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.7875, allocations: 4 kB / 0.8861 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.8213, allocations: 4.959 MB / 0.891 GB, free: 12.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.11, allocations: 17.31 kB / 0.891 GB, free: 12.69 MB / 0.67 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_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_InletToAirDryAirCO2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.95360117599921] Failed to read output from testmodel.py, exit status != 0: 12.220860891000484 12.250525154 11.470100241 Calling exit ...