Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_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.001669/0.001668, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8177/0.8177, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 95.19 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.854e-05, allocations: 3.344 kB / 0.5601 GB, free: 87.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1946, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.491/5.686, allocations: 2.138 GB / 2.779 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/5.686, allocations: 83.95 kB / 2.779 GB, free: 50.12 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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.6732/6.359, allocations: 141.9 MB / 2.918 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.413e-06/6.359, allocations: 4 kB / 2.918 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.797e-05/6.359, allocations: 8 kB / 2.918 GB, free: 186.2 MB / 0.6823 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.0003563/6.36, allocations: 449.2 kB / 2.918 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/6.36, allocations: 12.03 kB / 2.918 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/6.36, allocations: 58.55 kB / 2.918 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/6.36, allocations: 27.5 kB / 2.918 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/6.36, allocations: 257.8 kB / 2.918 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/6.36, allocations: 12.44 kB / 2.918 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/6.36, allocations: 24 kB / 2.918 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/6.361, allocations: 324.4 kB / 2.919 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/6.361, allocations: 7.875 kB / 2.919 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/6.361, allocations: 8 kB / 2.919 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/6.361, allocations: 11.95 kB / 2.919 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/6.361, allocations: 115.8 kB / 2.919 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/6.362, allocations: 1.986 MB / 2.921 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.4e-05/6.362, allocations: 173.1 kB / 2.921 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/6.362, allocations: 80.14 kB / 2.921 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/6.362, allocations: 79.28 kB / 2.921 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/6.362, allocations: 113.8 kB / 2.921 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/6.362, allocations: 0 / 2.921 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.758e-05/6.362, allocations: 53.36 kB / 2.921 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/6.362, allocations: 130.7 kB / 2.921 GB, free: 182 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/6.362, allocations: 298.6 kB / 2.922 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/6.362, allocations: 25.7 kB / 2.922 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/6.362, allocations: 159.7 kB / 2.922 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/6.362, allocations: 0 / 2.922 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/6.362, allocations: 4 kB / 2.922 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/6.362, allocations: 334.8 kB / 2.922 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/6.362, allocations: 4 kB / 2.922 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/6.362, allocations: 58.86 kB / 2.922 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/6.362, allocations: 23.94 kB / 2.922 GB, free: 181 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/6.362, allocations: 0 / 2.922 GB, free: 181 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001384/6.363, allocations: 101.3 kB / 2.922 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/6.363, allocations: 4.219 kB / 2.922 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/6.363, allocations: 4 kB / 2.922 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/6.363, allocations: 12.12 kB / 2.922 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/6.363, allocations: 12 kB / 2.922 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/6.363, allocations: 4.156 kB / 2.922 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/6.363, allocations: 27.59 kB / 2.922 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/6.363, allocations: 4 kB / 2.922 GB, free: 180.9 MB / 0.6823 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 4.907e-05/6.363, allocations: 188.2 kB / 2.923 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/6.363, allocations: 128.7 kB / 2.923 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/6.363, allocations: 122 kB / 2.923 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/6.363, allocations: 192.2 kB / 2.923 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.883e-05/6.363, allocations: 180.3 kB / 2.923 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/6.363, allocations: 180.2 kB / 2.923 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/6.363, allocations: 477.1 kB / 2.924 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/6.363, allocations: 101 kB / 2.924 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/6.363, allocations: 108.9 kB / 2.924 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.661e-05/6.363, allocations: 188.1 kB / 2.924 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/6.363, allocations: 184.2 kB / 2.924 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-05/6.363, allocations: 184.2 kB / 2.925 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.493e-05/6.363, allocations: 176.3 kB / 2.925 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.204e-05/6.364, allocations: 327.5 kB / 2.925 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/6.364, allocations: 205.8 kB / 2.925 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/6.364, allocations: 189.6 kB / 2.925 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/6.364, allocations: 105 kB / 2.926 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/6.364, allocations: 180.2 kB / 2.926 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/6.364, allocations: 109 kB / 2.926 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001649/6.364, allocations: 230.2 kB / 2.926 GB, free: 177 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/6.364, allocations: 0 / 2.926 GB, free: 177 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003531/6.364, allocations: 63.98 kB / 2.926 GB, free: 176.9 MB / 0.6823 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.0007563/6.365, allocations: 1.311 MB / 2.927 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.441e-05/6.365, allocations: 23.88 kB / 2.927 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/6.365, allocations: 4 kB / 2.927 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/6.365, allocations: 0 / 2.927 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/6.366, allocations: 0.6079 MB / 2.928 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/6.366, allocations: 356.1 kB / 2.928 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/6.366, allocations: 0.7519 MB / 2.929 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.141e-05/6.367, allocations: 26.06 kB / 2.929 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/6.367, allocations: 59.42 kB / 2.929 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/6.367, allocations: 0 / 2.929 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/6.392, allocations: 15.41 MB / 2.944 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/6.392, allocations: 150.7 kB / 2.944 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/8.517, allocations: 2.672 kB / 2.944 GB, free: 158.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)