Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.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.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001163/0.001163, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.395 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 0.8806/0.8806, allocations: 143.1 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.141, allocations: 82.03 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3566/0.4976, allocations: 170.4 MB / 0.7608 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005309/0.503, allocations: 6.014 MB / 0.7666 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.5032, allocations: 7.938 kB / 0.7666 GB, free: 12.86 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99: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.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-99: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). Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.5037, allocations: 191.8 kB / 0.7668 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.5039, allocations: 95.38 kB / 0.7669 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008978/0.5048, allocations: 0.5177 MB / 0.7674 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.5052, allocations: 410.7 kB / 0.7678 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.5054, allocations: 135.6 kB / 0.7679 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.5057, allocations: 187.3 kB / 0.7681 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.5058, allocations: 151.4 kB / 0.7683 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.5059, allocations: 20 kB / 0.7683 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006251/0.5065, allocations: 462.7 kB / 0.7687 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.5066, allocations: 67.81 kB / 0.7688 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.5068, allocations: 107.5 kB / 0.7689 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.5074, allocations: 446.7 kB / 0.7693 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5074, allocations: 0 / 0.7693 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5074, allocations: 0 / 0.7693 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.5075, allocations: 0 / 0.7693 GB, free: 10.11 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004776/0.5079, allocations: 0.5262 MB / 0.7698 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.508, allocations: 8.031 kB / 0.7698 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.508, allocations: 58.55 kB / 0.7699 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.5083, allocations: 43.7 kB / 0.7699 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.5085, allocations: 254.5 kB / 0.7702 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.5086, allocations: 131.4 kB / 0.7703 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.5087, allocations: 24 kB / 0.7703 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.5091, allocations: 294.8 kB / 0.7706 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5091, allocations: 3.984 kB / 0.7706 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.5091, allocations: 12 kB / 0.7706 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5091, allocations: 12 kB / 0.7706 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.5094, allocations: 160.6 kB / 0.7708 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.5105, allocations: 1.583 MB / 0.7723 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.338e-05/0.5106, allocations: 169.1 kB / 0.7725 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.5106, allocations: 80.14 kB / 0.7726 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5106, allocations: 75.28 kB / 0.7726 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5107, allocations: 117.8 kB / 0.7728 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5107, allocations: 0 / 0.7728 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.507e-05/0.5107, allocations: 49.39 kB / 0.7728 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.5108, allocations: 130.7 kB / 0.7729 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.5111, allocations: 310.5 kB / 0.7732 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.5111, allocations: 29.69 kB / 0.7733 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.5112, allocations: 191.2 kB / 0.7734 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.5112, allocations: 0 / 0.7734 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.354e-05/0.5113, allocations: 45.61 kB / 0.7735 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5114, allocations: 326.8 kB / 0.7738 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.5115, allocations: 39.97 kB / 0.7738 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.5116, allocations: 166.1 kB / 0.774 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.5118, allocations: 192.9 kB / 0.7742 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5119, allocations: 0 / 0.7742 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003545/0.5122, allocations: 217 kB / 0.7744 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5122, allocations: 11.94 kB / 0.7744 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5123, allocations: 4 kB / 0.7744 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5123, allocations: 4.625 kB / 0.7744 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.5124, allocations: 39.92 kB / 0.7744 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5124, allocations: 16.48 kB / 0.7745 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.5126, allocations: 31.69 kB / 0.7745 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.5126, allocations: 8 kB / 0.7745 GB, free: 4.367 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001176/0.5127, allocations: 221 kB / 0.7747 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.5128, allocations: 132.6 kB / 0.7748 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.5129, allocations: 121.8 kB / 0.7749 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/0.5129, allocations: 184.3 kB / 0.7751 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.613e-05/0.513, allocations: 180.7 kB / 0.7753 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/0.513, allocations: 180.3 kB / 0.7755 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.5133, allocations: 481.1 kB / 0.7759 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.5134, allocations: 105.6 kB / 0.776 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.5134, allocations: 108.9 kB / 0.7761 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.293e-05/0.5135, allocations: 188.1 kB / 0.7763 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.5135, allocations: 180.3 kB / 0.7765 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.332e-05/0.5136, allocations: 180.9 kB / 0.7766 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.731e-05/0.5136, allocations: 176.3 kB / 0.7768 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5138, allocations: 331.6 kB / 0.7771 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.54e-05/0.5139, allocations: 201.9 kB / 0.7773 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.336e-05/0.5139, allocations: 185.7 kB / 0.7775 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.5141, allocations: 109 kB / 0.7776 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.5141, allocations: 184.2 kB / 0.7778 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.5142, allocations: 105 kB / 0.7779 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002101/0.5144, allocations: 221.9 kB / 0.7781 GB, free: 464 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5144, allocations: 0 / 0.7781 GB, free: 464 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003081/0.5147, allocations: 55.84 kB / 0.7781 GB, free: 408 kB / 0.5919 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.0005342/0.5152, allocations: 0.8593 MB / 0.779 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.5154, allocations: 80.22 kB / 0.7791 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5154, allocations: 4 kB / 0.7791 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.5154, allocations: 0 / 0.7791 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.5159, allocations: 481.7 kB / 0.7795 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.5181, allocations: 2.528 MB / 0.782 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5184, allocations: 0.7398 MB / 0.7827 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.5185, allocations: 36.31 kB / 0.7828 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.5186, allocations: 59.36 kB / 0.7828 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5186, allocations: 0 / 0.7828 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.5365, allocations: 3.998 MB / 0.7867 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.471/7.008, allocations: 12.64 kB / 0.7867 GB, free: 7.523 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet_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_AirToOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)