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.0009545/0.0009546, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5035/0.5035, allocations: 90.92 MB / 99.35 MB, free: 2.16 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008518/0.0008518, allocations: 98.75 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.085e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.857/4.999, allocations: 2.128 GB / 2.682 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/5, allocations: 83.95 kB / 2.682 GB, free: 51.34 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.617/5.616, allocations: 141.1 MB / 2.82 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/5.617, allocations: 0 / 2.82 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.201e-05/5.617, allocations: 4 kB / 2.82 GB, free: 159.5 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.000404/5.617, allocations: 451.5 kB / 2.82 GB, free: 159 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/5.617, allocations: 8.031 kB / 2.82 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/5.617, allocations: 27.72 kB / 2.82 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/5.617, allocations: 258.5 kB / 2.82 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/5.617, allocations: 9.031 kB / 2.82 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/5.617, allocations: 16 kB / 2.82 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001567/5.618, allocations: 84.86 kB / 2.821 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/5.618, allocations: 291.4 kB / 2.821 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/5.618, allocations: 4 kB / 2.821 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/5.618, allocations: 0 / 2.821 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/5.618, allocations: 11.94 kB / 2.821 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/5.619, allocations: 1.891 MB / 2.823 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/5.619, allocations: 173.1 kB / 2.823 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/5.619, allocations: 80.14 kB / 2.823 GB, free: 156 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/5.619, allocations: 79.22 kB / 2.823 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/5.619, allocations: 105.8 kB / 2.823 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/5.619, allocations: 0 / 2.823 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.51e-05/5.619, allocations: 41.62 kB / 2.823 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/5.619, allocations: 59.41 kB / 2.823 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/5.619, allocations: 146.2 kB / 2.823 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-06/5.619, allocations: 25.7 kB / 2.823 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/5.619, allocations: 175.7 kB / 2.823 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/5.619, allocations: 0 / 2.823 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/5.619, allocations: 7.938 kB / 2.824 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/5.619, allocations: 326.8 kB / 2.824 GB, free: 155 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/5.619, allocations: 4 kB / 2.824 GB, free: 155 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/5.62, allocations: 58.81 kB / 2.824 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/5.62, allocations: 19.98 kB / 2.824 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/5.62, allocations: 0 / 2.824 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001281/5.62, allocations: 73.47 kB / 2.824 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/5.62, allocations: 8 kB / 2.824 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/5.62, allocations: 0 / 2.824 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/5.62, allocations: 4 kB / 2.824 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/5.62, allocations: 20.17 kB / 2.824 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/5.62, allocations: 8 kB / 2.824 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/5.62, allocations: 7.844 kB / 2.824 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/5.62, allocations: 4 kB / 2.824 GB, free: 154.8 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 6.968e-05/5.62, allocations: 184.2 kB / 2.824 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.556e-05/5.62, allocations: 142.5 kB / 2.824 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/5.62, allocations: 116.9 kB / 2.824 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/5.62, allocations: 114.1 kB / 2.825 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/5.62, allocations: 180.3 kB / 2.825 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-05/5.62, allocations: 180.2 kB / 2.825 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/5.62, allocations: 184.2 kB / 2.825 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/5.62, allocations: 445.7 kB / 2.825 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/5.62, allocations: 101 kB / 2.826 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/5.62, allocations: 108.9 kB / 2.826 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.969e-05/5.62, allocations: 176.3 kB / 2.826 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/5.621, allocations: 180.2 kB / 2.826 GB, free: 152.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.794e-05/5.621, allocations: 188.2 kB / 2.826 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-05/5.621, allocations: 176.3 kB / 2.826 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.638e-05/5.621, allocations: 325.1 kB / 2.827 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/5.621, allocations: 197.8 kB / 2.827 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/5.621, allocations: 176.3 kB / 2.827 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/5.621, allocations: 104.9 kB / 2.827 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/5.621, allocations: 176.3 kB / 2.827 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/5.621, allocations: 109 kB / 2.827 GB, free: 151 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.169e-05/5.621, allocations: 119.5 kB / 2.828 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.01e-07/5.621, allocations: 0 / 2.828 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000326/5.621, allocations: 79.7 kB / 2.828 GB, free: 150.9 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.0008623/5.622, allocations: 1.378 MB / 2.829 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.839e-05/5.622, allocations: 23.94 kB / 2.829 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/5.622, allocations: 0 / 2.829 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/5.622, allocations: 0 / 2.829 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/5.622, allocations: 0.5253 MB / 2.829 GB, free: 149 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/5.623, allocations: 342.5 kB / 2.83 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/5.623, allocations: 0.747 MB / 2.831 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.343e-05/5.623, allocations: 12.42 kB / 2.831 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/5.623, allocations: 55.36 kB / 2.831 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of SimCode: time 7.02e-07/5.623, allocations: 3.938 kB / 2.831 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/5.65, allocations: 6.468 MB / 2.837 GB, free: 141.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/5.651, allocations: 144.6 kB / 2.837 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/7.342, allocations: 0 / 2.837 GB, free: 141.1 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)