Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_dev_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.007473/0.007472, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7896/0.7896, allocations: 135.2 MB / 151 MB, free: 13.81 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.834/1.834, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 104.5 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005819/0.0005819, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5728, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.93/7.503, allocations: 2.138 GB / 2.788 GB, free: 55.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/7.504, allocations: 95.31 kB / 2.788 GB, free: 55.26 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.787/8.291, allocations: 142.6 MB / 2.927 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.036e-06/8.291, allocations: 3.984 kB / 2.927 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.221e-05/8.291, allocations: 8 kB / 2.927 GB, free: 191.9 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.0004924/8.291, allocations: 454.8 kB / 2.928 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/8.291, allocations: 12.03 kB / 2.928 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.712e-05/8.291, allocations: 54.55 kB / 2.928 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/8.291, allocations: 27.5 kB / 2.928 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/8.292, allocations: 271.3 kB / 2.928 GB, free: 191 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/8.292, allocations: 20.38 kB / 2.928 GB, free: 191 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/8.292, allocations: 24 kB / 2.928 GB, free: 191 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/8.292, allocations: 320.3 kB / 2.928 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/8.292, allocations: 0 / 2.928 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/8.292, allocations: 12 kB / 2.928 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/8.292, allocations: 11.95 kB / 2.929 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/8.292, allocations: 123.7 kB / 2.929 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/8.294, allocations: 1.983 MB / 2.931 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/8.294, allocations: 173.1 kB / 2.931 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/8.294, allocations: 75.28 kB / 2.931 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/8.294, allocations: 105.8 kB / 2.931 GB, free: 188 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/8.294, allocations: 0 / 2.931 GB, free: 188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.713e-05/8.294, allocations: 49.42 kB / 2.931 GB, free: 188 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/8.294, allocations: 130.7 kB / 2.931 GB, free: 187.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/8.294, allocations: 295.7 kB / 2.931 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/8.294, allocations: 25.7 kB / 2.931 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/8.295, allocations: 171.6 kB / 2.932 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/8.295, allocations: 0 / 2.932 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/8.295, allocations: 0 / 2.932 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.754e-05/8.295, allocations: 338.8 kB / 2.932 GB, free: 187 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/8.295, allocations: 7.938 kB / 2.932 GB, free: 187 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-05/8.295, allocations: 55.62 kB / 2.932 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/8.295, allocations: 16.2 kB / 2.932 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/8.295, allocations: 0 / 2.932 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001701/8.295, allocations: 113.1 kB / 2.932 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/8.295, allocations: 4.938 kB / 2.932 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/8.295, allocations: 7.984 kB / 2.932 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/8.295, allocations: 0 / 2.932 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/8.295, allocations: 19.98 kB / 2.932 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/8.295, allocations: 7.938 kB / 2.932 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/8.295, allocations: 23.94 kB / 2.932 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/8.295, allocations: 8 kB / 2.932 GB, free: 186.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001467/8.295, allocations: 209.1 kB / 2.932 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/8.295, allocations: 128.7 kB / 2.932 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/8.295, allocations: 126 kB / 2.933 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/8.296, allocations: 184.3 kB / 2.933 GB, free: 186 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.196e-05/8.296, allocations: 188.2 kB / 2.933 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.811e-05/8.296, allocations: 180.3 kB / 2.933 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/8.296, allocations: 469.1 kB / 2.934 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/8.296, allocations: 112.8 kB / 2.934 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/8.296, allocations: 109 kB / 2.934 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-05/8.296, allocations: 184.2 kB / 2.934 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/8.296, allocations: 180.3 kB / 2.934 GB, free: 184.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-05/8.296, allocations: 186.4 kB / 2.934 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-05/8.296, allocations: 180.3 kB / 2.934 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/8.296, allocations: 323.5 kB / 2.935 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/8.296, allocations: 209.8 kB / 2.935 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/8.296, allocations: 184.2 kB / 2.935 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/8.296, allocations: 109 kB / 2.935 GB, free: 183.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/8.297, allocations: 176.3 kB / 2.935 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/8.297, allocations: 112.9 kB / 2.936 GB, free: 183 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001774/8.297, allocations: 235 kB / 2.936 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/8.297, allocations: 0 / 2.936 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004199/8.297, allocations: 63.98 kB / 2.936 GB, free: 182.7 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 () * 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 (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.00094/8.298, allocations: 1.318 MB / 2.937 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.535e-05/8.298, allocations: 23.88 kB / 2.937 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/8.298, allocations: 4 kB / 2.937 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/8.298, allocations: 3.984 kB / 2.937 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/8.299, allocations: 0.5925 MB / 2.938 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/8.301, allocations: 2.326 MB / 2.94 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/8.301, allocations: 0.756 MB / 2.941 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001018/8.301, allocations: 26.28 kB / 2.941 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/8.301, allocations: 59.41 kB / 2.941 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/8.301, allocations: 0 / 2.941 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/8.328, allocations: 13.89 MB / 2.954 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/8.329, allocations: 196.8 kB / 2.955 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/10.67, allocations: 0 / 2.955 GB, free: 163.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)