Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.8085/0.8085, allocations: 143.3 MB / 158.3 MB, free: 5.793 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.001185/0.001185, allocations: 181.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.494/1.494, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.001107/0.001106, allocations: 92.27 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 271.6 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 17.72 kB / 0.6929 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2321, allocations: 82.81 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.905/6.137, allocations: 2.127 GB / 2.901 GB, free: 242.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/6.137, allocations: 91.19 kB / 2.901 GB, free: 242.7 MB / 0.7136 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 (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$conAir$inlet$forward 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$conAirRevFlo$bacPro_internal 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$conAirRevFlo$inlet$forward 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$conAirRevFlo$inlet$backward 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/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 (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/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 (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$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.2375/6.375, allocations: 137.6 MB / 3.036 GB, free: 108 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.635e-06/6.375, allocations: 0 / 3.036 GB, free: 108 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.628e-05/6.375, allocations: 7.938 kB / 3.036 GB, free: 108 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003573/6.375, allocations: 423.6 kB / 3.036 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/6.375, allocations: 16.03 kB / 3.036 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/6.375, allocations: 46.55 kB / 3.036 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/6.376, allocations: 23.77 kB / 3.036 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/6.376, allocations: 248.7 kB / 3.036 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/6.376, allocations: 12 kB / 3.036 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/6.376, allocations: 16 kB / 3.036 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/6.376, allocations: 232.5 kB / 3.037 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/6.376, allocations: 0 / 3.037 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/6.376, allocations: 16 kB / 3.037 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/6.376, allocations: 4 kB / 3.037 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/6.376, allocations: 68 kB / 3.037 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/6.377, allocations: 1.602 MB / 3.038 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.275e-05/6.377, allocations: 173.1 kB / 3.038 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/6.377, allocations: 79.28 kB / 3.039 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/6.377, allocations: 109.8 kB / 3.039 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/6.377, allocations: 0 / 3.039 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.191e-05/6.377, allocations: 45.45 kB / 3.039 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/6.377, allocations: 130.7 kB / 3.039 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/6.377, allocations: 217.8 kB / 3.039 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/6.377, allocations: 25.7 kB / 3.039 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/6.377, allocations: 147.7 kB / 3.039 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/6.377, allocations: 3.984 kB / 3.039 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/6.377, allocations: 0 / 3.039 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/6.378, allocations: 326.8 kB / 3.039 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/6.378, allocations: 4 kB / 3.039 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/6.378, allocations: 53.98 kB / 3.04 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/6.378, allocations: 23.91 kB / 3.04 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/6.378, allocations: 4 kB / 3.04 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001303/6.378, allocations: 93.48 kB / 3.04 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/6.378, allocations: 5.25 kB / 3.04 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/6.378, allocations: 4 kB / 3.04 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/6.378, allocations: 0 / 3.04 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/6.378, allocations: 15.98 kB / 3.04 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/6.378, allocations: 3.938 kB / 3.04 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/6.378, allocations: 23.69 kB / 3.04 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/6.378, allocations: 12 kB / 3.04 GB, free: 103.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.495e-05/6.378, allocations: 189.7 kB / 3.04 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/6.378, allocations: 128.8 kB / 3.04 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/6.378, allocations: 125.8 kB / 3.04 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/6.378, allocations: 176.3 kB / 3.04 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.333e-05/6.378, allocations: 184.2 kB / 3.04 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/6.378, allocations: 180.3 kB / 3.041 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/6.378, allocations: 457.2 kB / 3.041 GB, free: 102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/6.379, allocations: 104.9 kB / 3.041 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/6.379, allocations: 101 kB / 3.041 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.864e-05/6.379, allocations: 188.2 kB / 3.041 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/6.379, allocations: 176.3 kB / 3.042 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.094e-05/6.379, allocations: 176.3 kB / 3.042 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-05/6.379, allocations: 192.1 kB / 3.042 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.475e-05/6.379, allocations: 319.6 kB / 3.042 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/6.379, allocations: 197.9 kB / 3.042 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/6.379, allocations: 188.2 kB / 3.043 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/6.379, allocations: 108.9 kB / 3.043 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/6.379, allocations: 176.3 kB / 3.043 GB, free: 100 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/6.379, allocations: 108.9 kB / 3.043 GB, free: 99.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001153/6.379, allocations: 182 kB / 3.043 GB, free: 99.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/6.379, allocations: 0 / 3.043 GB, free: 99.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003729/6.38, allocations: 51.98 kB / 3.043 GB, free: 99.69 MB / 0.7136 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.0008028/6.38, allocations: 1.307 MB / 3.045 GB, free: 98.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.535e-05/6.38, allocations: 23.92 kB / 3.045 GB, free: 98.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/6.38, allocations: 0 / 3.045 GB, free: 98.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/6.38, allocations: 3.938 kB / 3.045 GB, free: 98.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/6.381, allocations: 0.5835 MB / 3.045 GB, free: 97.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/6.382, allocations: 1.863 MB / 3.047 GB, free: 95.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/6.382, allocations: 0.7166 MB / 3.048 GB, free: 95.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.301e-05/6.382, allocations: 17.55 kB / 3.048 GB, free: 95.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/6.382, allocations: 47.42 kB / 3.048 GB, free: 94.99 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/6.382, allocations: 0 / 3.048 GB, free: 94.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/6.404, allocations: 12.77 MB / 3.06 GB, free: 82.39 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/6.404, allocations: 197.9 kB / 3.06 GB, free: 82.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/8.546, allocations: 7.938 kB / 3.06 GB, free: 82.15 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)