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.8092/0.8092, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.0009999/0.0009996, allocations: 184.9 kB / 182.2 MB, free: 9.457 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.497/1.497, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009645/0.0009645, allocations: 91.97 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 271 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.436e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5376/0.5376, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.717/6.255, allocations: 2.135 GB / 2.893 GB, free: 204.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/6.255, allocations: 87.94 kB / 2.893 GB, free: 204.7 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.2456/6.501, allocations: 141.1 MB / 3.031 GB, free: 62.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/6.501, allocations: 0 / 3.031 GB, free: 62.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.738e-05/6.501, allocations: 4 kB / 3.031 GB, free: 62.04 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.0003686/6.501, allocations: 446.3 kB / 3.031 GB, free: 61.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/6.501, allocations: 8.031 kB / 3.031 GB, free: 61.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/6.501, allocations: 31.66 kB / 3.031 GB, free: 61.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/6.502, allocations: 264.6 kB / 3.031 GB, free: 61.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/6.502, allocations: 8.219 kB / 3.031 GB, free: 61.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/6.502, allocations: 12 kB / 3.031 GB, free: 61.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001498/6.502, allocations: 88.8 kB / 3.031 GB, free: 61.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/6.502, allocations: 299.4 kB / 3.032 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/6.502, allocations: 0 / 3.032 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/6.502, allocations: 4 kB / 3.032 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/6.502, allocations: 4 kB / 3.032 GB, free: 60.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/6.503, allocations: 1.893 MB / 3.033 GB, free: 58.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.187e-05/6.503, allocations: 169.1 kB / 3.034 GB, free: 58.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/6.503, allocations: 80.14 kB / 3.034 GB, free: 58.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/6.503, allocations: 75.28 kB / 3.034 GB, free: 58.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/6.503, allocations: 113.8 kB / 3.034 GB, free: 58.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/6.503, allocations: 0 / 3.034 GB, free: 58.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.164e-05/6.503, allocations: 45.62 kB / 3.034 GB, free: 58.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/6.503, allocations: 51.41 kB / 3.034 GB, free: 58.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/6.503, allocations: 141.5 kB / 3.034 GB, free: 58.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/6.503, allocations: 29.69 kB / 3.034 GB, free: 58.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/6.504, allocations: 179.4 kB / 3.034 GB, free: 57.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/6.504, allocations: 0 / 3.034 GB, free: 57.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/6.504, allocations: 0 / 3.034 GB, free: 57.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/6.504, allocations: 322.8 kB / 3.035 GB, free: 57.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/6.504, allocations: 4 kB / 3.035 GB, free: 57.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/6.504, allocations: 54.86 kB / 3.035 GB, free: 57.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/6.504, allocations: 19.92 kB / 3.035 GB, free: 57.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/6.504, allocations: 4 kB / 3.035 GB, free: 57.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001269/6.504, allocations: 81.42 kB / 3.035 GB, free: 57.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/6.504, allocations: 4 kB / 3.035 GB, free: 57.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/6.504, allocations: 7.938 kB / 3.035 GB, free: 57.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/6.504, allocations: 4 kB / 3.035 GB, free: 57.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/6.504, allocations: 11.98 kB / 3.035 GB, free: 57.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/6.504, allocations: 7.938 kB / 3.035 GB, free: 57.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/6.504, allocations: 16.09 kB / 3.035 GB, free: 57.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/6.504, allocations: 4 kB / 3.035 GB, free: 57.26 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 6.253e-05/6.504, allocations: 180.3 kB / 3.035 GB, free: 57.08 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.026e-05/6.504, allocations: 146.5 kB / 3.035 GB, free: 56.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/6.504, allocations: 112.8 kB / 3.035 GB, free: 56.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/6.504, allocations: 114.2 kB / 3.035 GB, free: 56.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/6.504, allocations: 192.2 kB / 3.036 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.614e-05/6.504, allocations: 180.2 kB / 3.036 GB, free: 56.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-05/6.504, allocations: 180.2 kB / 3.036 GB, free: 56.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/6.505, allocations: 445.6 kB / 3.036 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/6.505, allocations: 101 kB / 3.036 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/6.505, allocations: 105 kB / 3.037 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/6.505, allocations: 184.2 kB / 3.037 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/6.505, allocations: 176.3 kB / 3.037 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.882e-05/6.505, allocations: 180.2 kB / 3.037 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.918e-05/6.505, allocations: 180.2 kB / 3.037 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.432e-05/6.505, allocations: 317 kB / 3.038 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/6.505, allocations: 193.9 kB / 3.038 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/6.505, allocations: 180.2 kB / 3.038 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/6.505, allocations: 105 kB / 3.038 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/6.505, allocations: 180.2 kB / 3.038 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/6.505, allocations: 105 kB / 3.038 GB, free: 53.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.214e-05/6.505, allocations: 124.3 kB / 3.038 GB, free: 53.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/6.505, allocations: 0 / 3.038 GB, free: 53.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003732/6.506, allocations: 67.73 kB / 3.038 GB, free: 53.38 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.000833/6.506, allocations: 1.382 MB / 3.04 GB, free: 51.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.9e-05/6.507, allocations: 19.94 kB / 3.04 GB, free: 51.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/6.507, allocations: 0 / 3.04 GB, free: 51.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/6.507, allocations: 0 / 3.04 GB, free: 51.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/6.507, allocations: 0.5307 MB / 3.04 GB, free: 51.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/6.507, allocations: 331.6 kB / 3.041 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/6.507, allocations: 0.7509 MB / 3.041 GB, free: 50.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.546e-05/6.508, allocations: 12.41 kB / 3.041 GB, free: 50.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/6.508, allocations: 51.42 kB / 3.041 GB, free: 50.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/6.508, allocations: 3.938 kB / 3.041 GB, free: 50.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/6.533, allocations: 6.484 MB / 3.048 GB, free: 43.74 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/6.533, allocations: 164 kB / 3.048 GB, free: 43.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/8.297, allocations: 4 kB / 3.048 GB, free: 43.54 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)