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.001938/0.001938, allocations: 174.5 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.8291/0.8291, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.725/1.725, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.0009051/0.0009053, allocations: 94.5 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.176e-05, allocations: 7.281 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1737, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.812/5.986, allocations: 2.138 GB / 2.779 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/5.986, allocations: 88.25 kB / 2.779 GB, free: 18.2 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.9672/6.953, allocations: 141.9 MB / 2.918 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.306e-06/6.953, allocations: 0 / 2.918 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.66e-05/6.953, allocations: 4 kB / 2.918 GB, free: 157.6 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.0007048/6.954, allocations: 442.3 kB / 2.918 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/6.954, allocations: 8.031 kB / 2.918 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/6.954, allocations: 58.55 kB / 2.918 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/6.954, allocations: 27.5 kB / 2.918 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/6.955, allocations: 269.4 kB / 2.918 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/6.955, allocations: 16.66 kB / 2.918 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/6.955, allocations: 20 kB / 2.918 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/6.956, allocations: 324.3 kB / 2.919 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/6.956, allocations: 7.875 kB / 2.919 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/6.956, allocations: 16 kB / 2.919 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/6.956, allocations: 11.95 kB / 2.919 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/6.956, allocations: 115.8 kB / 2.919 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/6.958, allocations: 1.981 MB / 2.921 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/6.958, allocations: 177.1 kB / 2.921 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/6.958, allocations: 80.14 kB / 2.921 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/6.958, allocations: 75.28 kB / 2.921 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/6.958, allocations: 109.8 kB / 2.921 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/6.958, allocations: 0 / 2.921 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001242/6.958, allocations: 49.42 kB / 2.921 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/6.958, allocations: 130.6 kB / 2.921 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/6.959, allocations: 302.6 kB / 2.922 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/6.959, allocations: 25.7 kB / 2.922 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/6.959, allocations: 163.7 kB / 2.922 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-06/6.959, allocations: 4 kB / 2.922 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/6.959, allocations: 4 kB / 2.922 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/6.959, allocations: 326.8 kB / 2.922 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/6.959, allocations: 15.98 kB / 2.922 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.395e-05/6.959, allocations: 50.88 kB / 2.922 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/6.959, allocations: 15.94 kB / 2.922 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/6.959, allocations: 0 / 2.922 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000237/6.959, allocations: 109.4 kB / 2.922 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/6.959, allocations: 4 kB / 2.922 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/6.959, allocations: 4 kB / 2.922 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/6.959, allocations: 4 kB / 2.922 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/6.959, allocations: 15.94 kB / 2.922 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/6.959, allocations: 3.984 kB / 2.922 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/6.96, allocations: 31.59 kB / 2.922 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/6.96, allocations: 4 kB / 2.922 GB, free: 152.3 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 8.173e-05/6.96, allocations: 184.4 kB / 2.923 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.031e-05/6.96, allocations: 128.6 kB / 2.923 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/6.96, allocations: 130 kB / 2.923 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/6.96, allocations: 184.2 kB / 2.923 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.759e-05/6.96, allocations: 180.2 kB / 2.923 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/6.96, allocations: 180.2 kB / 2.923 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/6.96, allocations: 481.1 kB / 2.924 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/6.96, allocations: 101 kB / 2.924 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/6.961, allocations: 112.9 kB / 2.924 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.594e-05/6.961, allocations: 188.2 kB / 2.924 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/6.961, allocations: 176.3 kB / 2.924 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.334e-05/6.961, allocations: 184.2 kB / 2.925 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.303e-05/6.961, allocations: 176.3 kB / 2.925 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/6.961, allocations: 331.5 kB / 2.925 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/6.961, allocations: 205.8 kB / 2.925 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/6.961, allocations: 185.6 kB / 2.925 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/6.961, allocations: 105 kB / 2.926 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/6.961, allocations: 184.2 kB / 2.926 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/6.961, allocations: 101 kB / 2.926 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003293/6.962, allocations: 242.2 kB / 2.926 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/6.962, allocations: 0 / 2.926 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006291/6.962, allocations: 55.98 kB / 2.926 GB, free: 148.3 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.001324/6.964, allocations: 1.312 MB / 2.927 GB, free: 147 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001183/6.964, allocations: 28.12 kB / 2.927 GB, free: 147 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/6.964, allocations: 0 / 2.927 GB, free: 147 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/6.964, allocations: 0 / 2.927 GB, free: 147 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/6.965, allocations: 0.5952 MB / 2.928 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/6.966, allocations: 359.9 kB / 2.928 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/6.966, allocations: 0.7519 MB / 2.929 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001602/6.966, allocations: 34 kB / 2.929 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/6.966, allocations: 55.42 kB / 2.929 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/6.966, allocations: 4 kB / 2.929 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/7.012, allocations: 15.41 MB / 2.944 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/7.012, allocations: 158.3 kB / 2.944 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/9.45, allocations: 4 kB / 2.944 GB, free: 129.6 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)