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.8172/0.8172, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009982/0.0009981, allocations: 185.4 kB / 187.3 MB, free: 11.89 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.486/1.486, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0008747/0.000875, allocations: 93.3 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001914/0.001914, allocations: 270.9 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-05/4.831e-05, allocations: 11.98 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5137, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.818/6.332, allocations: 2.136 GB / 2.9 GB, free: 134.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/6.332, allocations: 89.58 kB / 2.9 GB, free: 134.9 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.254/6.586, allocations: 142 MB / 3.039 GB, free: 312 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/6.586, allocations: 4 kB / 3.039 GB, free: 308 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.639e-05/6.586, allocations: 4 kB / 3.039 GB, free: 304 kB / 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.4503/7.036, allocations: 433.2 kB / 3.039 GB, free: 204.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/7.037, allocations: 10.91 kB / 3.039 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/7.037, allocations: 32.45 kB / 3.039 GB, free: 204.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/7.037, allocations: 260.5 kB / 3.04 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/7.037, allocations: 15.72 kB / 3.04 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/7.037, allocations: 24.91 kB / 3.04 GB, free: 204.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/7.038, allocations: 328.5 kB / 3.04 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/7.038, allocations: 7.156 kB / 3.04 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/7.038, allocations: 7.938 kB / 3.04 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/7.038, allocations: 6.594 kB / 3.04 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/7.038, allocations: 120.6 kB / 3.04 GB, free: 203.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/7.039, allocations: 1.98 MB / 3.042 GB, free: 202.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.244e-05/7.04, allocations: 172.3 kB / 3.042 GB, free: 202 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/7.04, allocations: 80.86 kB / 3.042 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/7.04, allocations: 79.92 kB / 3.042 GB, free: 201.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/7.04, allocations: 109.6 kB / 3.042 GB, free: 201.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.953e-06/7.04, allocations: 0.7188 kB / 3.042 GB, free: 201.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.804e-05/7.04, allocations: 53.12 kB / 3.042 GB, free: 201.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/7.04, allocations: 131.6 kB / 3.043 GB, free: 201.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/7.04, allocations: 292.1 kB / 3.043 GB, free: 201.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/7.04, allocations: 29.14 kB / 3.043 GB, free: 201.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/7.04, allocations: 162.2 kB / 3.043 GB, free: 201.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-06/7.04, allocations: 5.844 kB / 3.043 GB, free: 201.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/7.04, allocations: 0 / 3.043 GB, free: 201.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/7.04, allocations: 331.8 kB / 3.043 GB, free: 201 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/7.04, allocations: 11.73 kB / 3.043 GB, free: 201 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/7.04, allocations: 53.7 kB / 3.043 GB, free: 201 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/7.04, allocations: 21.47 kB / 3.043 GB, free: 201 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/7.04, allocations: 2.688 kB / 3.043 GB, free: 201 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001768/7.041, allocations: 100.3 kB / 3.044 GB, free: 200.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/7.041, allocations: 9.969 kB / 3.044 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/7.041, allocations: 3.969 kB / 3.044 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/7.041, allocations: 6.375 kB / 3.044 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/7.041, allocations: 18.38 kB / 3.044 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/7.041, allocations: 6.328 kB / 3.044 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/7.041, allocations: 21.83 kB / 3.044 GB, free: 200.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/7.041, allocations: 7.281 kB / 3.044 GB, free: 200.9 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 7.293e-05/7.041, allocations: 186.8 kB / 3.044 GB, free: 200.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/7.041, allocations: 128.7 kB / 3.044 GB, free: 200.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/7.041, allocations: 126.2 kB / 3.044 GB, free: 200.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-05/7.041, allocations: 182.5 kB / 3.044 GB, free: 200.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.922e-05/7.041, allocations: 181.7 kB / 3.044 GB, free: 200.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.718e-05/7.041, allocations: 181.5 kB / 3.045 GB, free: 199.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/7.042, allocations: 483.8 kB / 3.045 GB, free: 199.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/7.042, allocations: 105.8 kB / 3.045 GB, free: 199.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/7.042, allocations: 102.5 kB / 3.045 GB, free: 199.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.198e-05/7.042, allocations: 182.4 kB / 3.045 GB, free: 199.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/7.042, allocations: 177.8 kB / 3.046 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.02e-05/7.042, allocations: 184.5 kB / 3.046 GB, free: 198.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.263e-05/7.042, allocations: 184.6 kB / 3.046 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/7.042, allocations: 333 kB / 3.046 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/7.042, allocations: 206.6 kB / 3.046 GB, free: 198 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/7.042, allocations: 181.6 kB / 3.047 GB, free: 197.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/7.042, allocations: 102.3 kB / 3.047 GB, free: 197.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/7.042, allocations: 181.8 kB / 3.047 GB, free: 197.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/7.042, allocations: 106.1 kB / 3.047 GB, free: 197.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002666/7.043, allocations: 236.8 kB / 3.047 GB, free: 197.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/7.043, allocations: 0 / 3.047 GB, free: 197.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004509/7.043, allocations: 56.97 kB / 3.047 GB, free: 197.4 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.0009487/7.044, allocations: 0.6582 MB / 3.048 GB, free: 197.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.383e-05/7.044, allocations: 26.33 kB / 3.048 GB, free: 197.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/7.044, allocations: 0.875 kB / 3.048 GB, free: 197.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/7.044, allocations: 3.281 kB / 3.048 GB, free: 197.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/7.045, allocations: 0.594 MB / 3.048 GB, free: 196.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/7.045, allocations: 283.8 kB / 3.049 GB, free: 196.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/7.045, allocations: 0.7498 MB / 3.049 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001034/7.046, allocations: 27.97 kB / 3.05 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/7.046, allocations: 18.25 kB / 3.05 GB, free: 195.8 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/7.046, allocations: 0 / 3.05 GB, free: 195.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01927/7.065, allocations: 11.12 MB / 3.06 GB, free: 195.4 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)