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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8275/0.8275, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001085/0.001085, allocations: 179.8 kB / 182.2 MB, free: 9.469 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.61/1.61, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009352/0.0009353, allocations: 88.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 283.9 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.502e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4807, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.721/6.202, allocations: 2.135 GB / 2.893 GB, free: 206.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/6.202, allocations: 94.91 kB / 2.893 GB, free: 206.1 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.2553/6.457, allocations: 141.1 MB / 3.03 GB, free: 63.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/6.457, allocations: 4 kB / 3.03 GB, free: 63.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.256e-05/6.458, allocations: 4 kB / 3.03 GB, free: 63.39 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.000452/6.458, allocations: 434.4 kB / 3.031 GB, free: 62.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/6.458, allocations: 8.031 kB / 3.031 GB, free: 62.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/6.458, allocations: 35.66 kB / 3.031 GB, free: 62.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/6.458, allocations: 258.6 kB / 3.031 GB, free: 62.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/6.458, allocations: 8 kB / 3.031 GB, free: 62.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/6.459, allocations: 16 kB / 3.031 GB, free: 62.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001694/6.459, allocations: 84.86 kB / 3.031 GB, free: 62.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/6.459, allocations: 291.4 kB / 3.032 GB, free: 62.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/6.459, allocations: 4 kB / 3.032 GB, free: 62.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/6.459, allocations: 0 / 3.032 GB, free: 62.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/6.459, allocations: 8 kB / 3.032 GB, free: 62.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009563/6.46, allocations: 1.885 MB / 3.033 GB, free: 60.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/6.46, allocations: 173.1 kB / 3.034 GB, free: 59.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/6.46, allocations: 84.14 kB / 3.034 GB, free: 59.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/6.46, allocations: 79.22 kB / 3.034 GB, free: 59.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/6.46, allocations: 105.8 kB / 3.034 GB, free: 59.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/6.46, allocations: 224 / 3.034 GB, free: 59.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.628e-05/6.46, allocations: 45.62 kB / 3.034 GB, free: 59.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/6.46, allocations: 59.34 kB / 3.034 GB, free: 59.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/6.46, allocations: 137.5 kB / 3.034 GB, free: 59.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/6.46, allocations: 29.69 kB / 3.034 GB, free: 59.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/6.46, allocations: 175.4 kB / 3.034 GB, free: 59.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-06/6.461, allocations: 4 kB / 3.034 GB, free: 59.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/6.461, allocations: 0 / 3.034 GB, free: 59.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/6.461, allocations: 318.8 kB / 3.035 GB, free: 58.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/6.461, allocations: 8 kB / 3.035 GB, free: 58.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/6.461, allocations: 58.81 kB / 3.035 GB, free: 58.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/6.461, allocations: 19.92 kB / 3.035 GB, free: 58.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/6.461, allocations: 0 / 3.035 GB, free: 58.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001394/6.461, allocations: 77.42 kB / 3.035 GB, free: 58.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/6.461, allocations: 8 kB / 3.035 GB, free: 58.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/6.461, allocations: 0 / 3.035 GB, free: 58.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/6.461, allocations: 4 kB / 3.035 GB, free: 58.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/6.461, allocations: 20.17 kB / 3.035 GB, free: 58.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/6.461, allocations: 8 kB / 3.035 GB, free: 58.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/6.461, allocations: 11.84 kB / 3.035 GB, free: 58.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/6.461, allocations: 4 kB / 3.035 GB, free: 58.63 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 () * 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 5.653e-05/6.461, allocations: 180.3 kB / 3.035 GB, free: 58.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/6.461, allocations: 116.8 kB / 3.035 GB, free: 58.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/6.461, allocations: 118.2 kB / 3.035 GB, free: 58.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/6.461, allocations: 180.3 kB / 3.035 GB, free: 58.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.871e-05/6.461, allocations: 184.2 kB / 3.036 GB, free: 57.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.592e-05/6.461, allocations: 176.3 kB / 3.036 GB, free: 57.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/6.461, allocations: 437.7 kB / 3.036 GB, free: 57.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/6.461, allocations: 104.9 kB / 3.036 GB, free: 57.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/6.462, allocations: 105 kB / 3.036 GB, free: 56.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.861e-05/6.462, allocations: 184.3 kB / 3.036 GB, free: 56.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/6.462, allocations: 184.2 kB / 3.037 GB, free: 56.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.838e-05/6.462, allocations: 180.3 kB / 3.037 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.744e-05/6.462, allocations: 180.3 kB / 3.037 GB, free: 56.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.132e-05/6.462, allocations: 324.8 kB / 3.037 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/6.462, allocations: 186 kB / 3.037 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/6.462, allocations: 180.2 kB / 3.038 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/6.462, allocations: 108.9 kB / 3.038 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/6.462, allocations: 188.2 kB / 3.038 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/6.462, allocations: 104.9 kB / 3.038 GB, free: 55.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.797e-05/6.462, allocations: 120.3 kB / 3.038 GB, free: 54.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.462, allocations: 0 / 3.038 GB, free: 54.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003461/6.462, allocations: 71.73 kB / 3.038 GB, free: 54.89 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 () * 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.0007248/6.463, allocations: 0.7245 MB / 3.039 GB, free: 54.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.661e-05/6.463, allocations: 23.94 kB / 3.039 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/6.463, allocations: 4 kB / 3.039 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/6.463, allocations: 0 / 3.039 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/6.463, allocations: 0.5263 MB / 3.039 GB, free: 53.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/6.464, allocations: 262.4 kB / 3.04 GB, free: 53.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/6.464, allocations: 0.7509 MB / 3.04 GB, free: 52.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.862e-05/6.464, allocations: 20.41 kB / 3.04 GB, free: 52.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/6.464, allocations: 7.438 kB / 3.04 GB, free: 52.52 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/6.464, allocations: 4 kB / 3.04 GB, free: 52.52 MB / 0.698 GB Notification: Performance of Templates: time 0.006664/6.471, allocations: 4.004 MB / 3.044 GB, free: 48.51 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)