Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9015/0.9015, allocations: 143.3 MB / 158.3 MB, free: 5.816 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001334, allocations: 177.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 447.7 MB, free: 6.566 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.001095/0.001095, allocations: 100.2 kB / 0.5188 GB, free: 2.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 270.2 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005386, allocations: 15.98 kB / 0.6929 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5143, allocations: 82.77 MB / 0.7738 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.866/6.38, allocations: 2.136 GB / 2.91 GB, free: 166.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/6.381, allocations: 91.89 kB / 2.91 GB, free: 166.6 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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.2477/6.629, allocations: 142.6 MB / 3.049 GB, free: 22.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.674e-06/6.629, allocations: 0 / 3.049 GB, free: 22.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.792e-05/6.629, allocations: 4 kB / 3.049 GB, free: 22.42 MB / 0.698 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.000426/6.629, allocations: 463.2 kB / 3.049 GB, free: 21.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/6.629, allocations: 11.97 kB / 3.049 GB, free: 21.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/6.629, allocations: 62.48 kB / 3.05 GB, free: 21.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/6.629, allocations: 27.72 kB / 3.05 GB, free: 21.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/6.63, allocations: 262.5 kB / 3.05 GB, free: 21.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/6.63, allocations: 16.44 kB / 3.05 GB, free: 21.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/6.63, allocations: 24 kB / 3.05 GB, free: 21.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/6.63, allocations: 330.7 kB / 3.05 GB, free: 21.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/6.63, allocations: 4 kB / 3.05 GB, free: 21.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/6.63, allocations: 8 kB / 3.05 GB, free: 21.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/6.63, allocations: 4 kB / 3.05 GB, free: 21.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/6.63, allocations: 123.7 kB / 3.05 GB, free: 20.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009469/6.631, allocations: 1.984 MB / 3.052 GB, free: 18.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/6.631, allocations: 173.2 kB / 3.052 GB, free: 18.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/6.631, allocations: 79.22 kB / 3.052 GB, free: 18.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/6.631, allocations: 113.8 kB / 3.053 GB, free: 18.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/6.631, allocations: 0 / 3.053 GB, free: 18.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.552e-05/6.631, allocations: 49.42 kB / 3.053 GB, free: 18.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/6.631, allocations: 130.7 kB / 3.053 GB, free: 18.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/6.632, allocations: 295.6 kB / 3.053 GB, free: 17.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/6.632, allocations: 25.7 kB / 3.053 GB, free: 17.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/6.632, allocations: 163.7 kB / 3.053 GB, free: 17.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/6.632, allocations: 0 / 3.053 GB, free: 17.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/6.632, allocations: 4 kB / 3.053 GB, free: 17.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/6.632, allocations: 338.8 kB / 3.054 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/6.632, allocations: 8 kB / 3.054 GB, free: 17.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/6.632, allocations: 58.8 kB / 3.054 GB, free: 17.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/6.632, allocations: 19.94 kB / 3.054 GB, free: 17.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/6.632, allocations: 0 / 3.054 GB, free: 17.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001477/6.632, allocations: 109.2 kB / 3.054 GB, free: 17.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/6.632, allocations: 4 kB / 3.054 GB, free: 17.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/6.632, allocations: 4 kB / 3.054 GB, free: 17.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/6.632, allocations: 4.25 kB / 3.054 GB, free: 17.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/6.632, allocations: 12 kB / 3.054 GB, free: 17.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/6.632, allocations: 7.938 kB / 3.054 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/6.632, allocations: 27.67 kB / 3.054 GB, free: 17.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/6.632, allocations: 7.938 kB / 3.054 GB, free: 17.16 MB / 0.698 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 9.745e-05/6.632, allocations: 209.6 kB / 3.054 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/6.632, allocations: 128.7 kB / 3.054 GB, free: 16.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/6.633, allocations: 130 kB / 3.054 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/6.633, allocations: 180.3 kB / 3.054 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/6.633, allocations: 184.2 kB / 3.055 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/6.633, allocations: 176.3 kB / 3.055 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/6.633, allocations: 477.1 kB / 3.055 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/6.633, allocations: 112.9 kB / 3.055 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/6.633, allocations: 105 kB / 3.055 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.794e-05/6.633, allocations: 188.2 kB / 3.056 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/6.633, allocations: 180.2 kB / 3.056 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.647e-05/6.633, allocations: 180.3 kB / 3.056 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.803e-05/6.633, allocations: 180.2 kB / 3.056 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.941e-05/6.633, allocations: 335.5 kB / 3.056 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/6.633, allocations: 205.8 kB / 3.057 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/6.633, allocations: 184.2 kB / 3.057 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/6.633, allocations: 104.9 kB / 3.057 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/6.633, allocations: 176.3 kB / 3.057 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/6.633, allocations: 108.9 kB / 3.057 GB, free: 13.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001651/6.634, allocations: 235 kB / 3.057 GB, free: 13.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/6.634, allocations: 0 / 3.057 GB, free: 13.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003761/6.634, allocations: 63.98 kB / 3.057 GB, free: 13.18 MB / 0.698 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.0007938/6.635, allocations: 1.319 MB / 3.059 GB, free: 11.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.573e-05/6.635, allocations: 23.88 kB / 3.059 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/6.635, allocations: 0.5 kB / 3.059 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/6.635, allocations: 4 kB / 3.059 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/6.635, allocations: 0.5894 MB / 3.059 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/6.637, allocations: 2.332 MB / 3.062 GB, free: 8.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/6.637, allocations: 0.7482 MB / 3.062 GB, free: 8.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.078e-05/6.637, allocations: 30.28 kB / 3.062 GB, free: 7.988 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/6.637, allocations: 63.42 kB / 3.062 GB, free: 7.93 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/6.637, allocations: 0 / 3.062 GB, free: 7.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4053/7.043, allocations: 13.93 MB / 3.076 GB, free: 197.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/7.043, allocations: 199.6 kB / 3.076 GB, free: 197.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/9.164, allocations: 3.75 kB / 3.076 GB, free: 197.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)