Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4687/0.4687, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009952/0.0009951, allocations: 99.22 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.14e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4207, allocations: 72.31 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/5.334, allocations: 2.129 GB / 2.689 GB, free: 75.44 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/5.334, allocations: 83.64 kB / 2.689 GB, free: 75.39 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$conAir$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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$forward 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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$forward 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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward 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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.MassFractionConnector 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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward 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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.MassFractionConnector 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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$forward 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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.6738/6.008, allocations: 141.9 MB / 2.828 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/6.008, allocations: 0 / 2.828 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.71e-05/6.008, allocations: 6.906 kB / 2.828 GB, free: 181.4 MB / 0.6042 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.0003763/6.008, allocations: 433.8 kB / 2.828 GB, free: 181 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/6.008, allocations: 19.92 kB / 2.828 GB, free: 181 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/6.008, allocations: 62.55 kB / 2.828 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/6.008, allocations: 26.3 kB / 2.828 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/6.009, allocations: 264.8 kB / 2.829 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/6.009, allocations: 19.25 kB / 2.829 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/6.009, allocations: 20 kB / 2.829 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/6.009, allocations: 327.3 kB / 2.829 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/6.009, allocations: 7.406 kB / 2.829 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/6.009, allocations: 12 kB / 2.829 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/6.009, allocations: 8 kB / 2.829 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/6.009, allocations: 116.2 kB / 2.829 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009139/6.01, allocations: 1.985 MB / 2.831 GB, free: 178 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/6.01, allocations: 175 kB / 2.831 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/6.01, allocations: 83.98 kB / 2.831 GB, free: 177.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/6.01, allocations: 79.31 kB / 2.831 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/6.01, allocations: 105.8 kB / 2.832 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/6.01, allocations: 2.594 kB / 2.832 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.807e-05/6.011, allocations: 52.52 kB / 2.832 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/6.011, allocations: 126.7 kB / 2.832 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/6.011, allocations: 302.6 kB / 2.832 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/6.011, allocations: 25.7 kB / 2.832 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/6.011, allocations: 158.3 kB / 2.832 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/6.011, allocations: 11.98 kB / 2.832 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/6.011, allocations: 0 / 2.832 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/6.011, allocations: 326.8 kB / 2.832 GB, free: 176.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/6.011, allocations: 8 kB / 2.832 GB, free: 176.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/6.011, allocations: 68.05 kB / 2.833 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/6.011, allocations: 10.5 kB / 2.833 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/6.011, allocations: 2.156 kB / 2.833 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001458/6.011, allocations: 102.7 kB / 2.833 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/6.011, allocations: 4 kB / 2.833 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/6.011, allocations: 4 kB / 2.833 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/6.011, allocations: 0 / 2.833 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/6.011, allocations: 13.03 kB / 2.833 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/6.011, allocations: 6.531 kB / 2.833 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/6.011, allocations: 37.69 kB / 2.833 GB, free: 176.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/6.012, allocations: 7.953 kB / 2.833 GB, free: 176.3 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/6.012, allocations: 178.2 kB / 2.833 GB, free: 176.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/6.012, allocations: 127.2 kB / 2.833 GB, free: 176 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/6.012, allocations: 136.8 kB / 2.833 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/6.012, allocations: 180.3 kB / 2.833 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.94e-05/6.012, allocations: 179 kB / 2.833 GB, free: 175.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/6.012, allocations: 184.2 kB / 2.834 GB, free: 175.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/6.012, allocations: 481 kB / 2.834 GB, free: 174.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/6.012, allocations: 101 kB / 2.834 GB, free: 174.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/6.012, allocations: 115.8 kB / 2.834 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.609e-05/6.012, allocations: 176.3 kB / 2.834 GB, free: 174.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/6.012, allocations: 182.6 kB / 2.835 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/6.012, allocations: 178.8 kB / 2.835 GB, free: 174 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.748e-05/6.012, allocations: 176.3 kB / 2.835 GB, free: 173.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.389e-05/6.012, allocations: 342.5 kB / 2.835 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/6.012, allocations: 207.3 kB / 2.836 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/6.012, allocations: 185.9 kB / 2.836 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/6.012, allocations: 101 kB / 2.836 GB, free: 173 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/6.013, allocations: 184.2 kB / 2.836 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/6.013, allocations: 105 kB / 2.836 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001902/6.013, allocations: 234.2 kB / 2.836 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/6.013, allocations: 0 / 2.836 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003485/6.013, allocations: 59.98 kB / 2.836 GB, free: 172.4 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007544/6.014, allocations: 1.325 MB / 2.838 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/6.014, allocations: 19.94 kB / 2.838 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/6.014, allocations: 0 / 2.838 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/6.014, allocations: 0.5 kB / 2.838 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/6.014, allocations: 0.5934 MB / 2.838 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/6.015, allocations: 353.7 kB / 2.839 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/6.015, allocations: 0.7558 MB / 2.839 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.989e-05/6.015, allocations: 26.06 kB / 2.839 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/6.015, allocations: 59.36 kB / 2.839 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/6.015, allocations: 4 kB / 2.839 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/6.043, allocations: 15.41 MB / 2.854 GB, free: 154 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/6.043, allocations: 174 kB / 2.855 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/8.305, allocations: 0 / 2.855 GB, free: 153.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)