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.9342/0.9342, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001022/0.001022, allocations: 188.2 kB / 182.2 MB, free: 9.43 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.566/1.566, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009767/0.0009767, allocations: 87.84 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.001743/0.001744, allocations: 277 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.28e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5267, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.707/6.234, allocations: 2.127 GB / 2.884 GB, free: 162.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/6.235, allocations: 83.02 kB / 2.884 GB, free: 162.2 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 (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.2299/6.464, allocations: 136.2 MB / 3.017 GB, free: 34.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/6.465, allocations: 0 / 3.017 GB, free: 34.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.489e-05/6.465, allocations: 8 kB / 3.017 GB, free: 34.54 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0002688/6.465, allocations: 410.1 kB / 3.018 GB, free: 34.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/6.465, allocations: 8.031 kB / 3.018 GB, free: 34.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/6.465, allocations: 27.66 kB / 3.018 GB, free: 34.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/6.465, allocations: 239.8 kB / 3.018 GB, free: 33.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/6.465, allocations: 4 kB / 3.018 GB, free: 33.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/6.465, allocations: 8 kB / 3.018 GB, free: 33.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.82e-05/6.465, allocations: 48.2 kB / 3.018 GB, free: 33.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/6.465, allocations: 212.4 kB / 3.018 GB, free: 33.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/6.465, allocations: 7.922 kB / 3.018 GB, free: 33.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/6.465, allocations: 4 kB / 3.018 GB, free: 33.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/6.465, allocations: 4 kB / 3.018 GB, free: 33.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/6.466, allocations: 1.525 MB / 3.02 GB, free: 31.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.913e-05/6.466, allocations: 173.1 kB / 3.02 GB, free: 31.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/6.466, allocations: 84.14 kB / 3.02 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/6.466, allocations: 75.28 kB / 3.02 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/6.466, allocations: 105.8 kB / 3.02 GB, free: 31.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/6.466, allocations: 0 / 3.02 GB, free: 31.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.86e-05/6.466, allocations: 38.48 kB / 3.02 GB, free: 31.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/6.466, allocations: 55.34 kB / 3.02 GB, free: 31.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/6.466, allocations: 150.4 kB / 3.02 GB, free: 31.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-06/6.466, allocations: 25.7 kB / 3.02 GB, free: 31.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/6.466, allocations: 151.4 kB / 3.02 GB, free: 30.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-06/6.466, allocations: 0 / 3.02 GB, free: 30.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/6.466, allocations: 0 / 3.02 GB, free: 30.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/6.467, allocations: 318.8 kB / 3.021 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/6.467, allocations: 8 kB / 3.021 GB, free: 30.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/6.467, allocations: 50.02 kB / 3.021 GB, free: 30.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/6.467, allocations: 7.984 kB / 3.021 GB, free: 30.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/6.467, allocations: 0 / 3.021 GB, free: 30.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001124/6.467, allocations: 81.42 kB / 3.021 GB, free: 30.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/6.467, allocations: 4 kB / 3.021 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/6.467, allocations: 4 kB / 3.021 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/6.467, allocations: 3.984 kB / 3.021 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/6.467, allocations: 15.94 kB / 3.021 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/6.467, allocations: 160 / 3.021 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/6.467, allocations: 11.84 kB / 3.021 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/6.467, allocations: 4 kB / 3.021 GB, free: 30.39 MB / 0.698 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 () * 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 4.663e-05/6.467, allocations: 188.5 kB / 3.021 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.852e-05/6.467, allocations: 154.5 kB / 3.021 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/6.467, allocations: 112.8 kB / 3.021 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/6.467, allocations: 118.1 kB / 3.021 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/6.467, allocations: 180.3 kB / 3.022 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-05/6.467, allocations: 180.3 kB / 3.022 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/6.467, allocations: 188.2 kB / 3.022 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/6.467, allocations: 425.7 kB / 3.022 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/6.467, allocations: 105 kB / 3.022 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/6.467, allocations: 104.9 kB / 3.023 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/6.467, allocations: 180.2 kB / 3.023 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/6.467, allocations: 184.3 kB / 3.023 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.189e-05/6.467, allocations: 180.2 kB / 3.023 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-05/6.467, allocations: 176.3 kB / 3.023 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.566e-05/6.467, allocations: 316.9 kB / 3.024 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/6.468, allocations: 186 kB / 3.024 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/6.468, allocations: 188.2 kB / 3.024 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/6.468, allocations: 108.9 kB / 3.024 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/6.468, allocations: 176.3 kB / 3.024 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/6.468, allocations: 101 kB / 3.024 GB, free: 26.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.513e-05/6.468, allocations: 112 kB / 3.024 GB, free: 26.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.468, allocations: 0 / 3.024 GB, free: 26.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002912/6.468, allocations: 71.73 kB / 3.024 GB, free: 26.51 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.0006935/6.469, allocations: 1.37 MB / 3.026 GB, free: 25.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.083e-05/6.469, allocations: 15.92 kB / 3.026 GB, free: 25.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/6.469, allocations: 4 kB / 3.026 GB, free: 25.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/6.469, allocations: 0 / 3.026 GB, free: 25.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/6.469, allocations: 0.5224 MB / 3.026 GB, free: 24.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/6.469, allocations: 266.2 kB / 3.027 GB, free: 24.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/6.47, allocations: 0.7119 MB / 3.027 GB, free: 23.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.113e-05/6.47, allocations: 8.438 kB / 3.027 GB, free: 23.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/6.47, allocations: 39.42 kB / 3.027 GB, free: 23.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/6.47, allocations: 0 / 3.027 GB, free: 23.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/6.49, allocations: 6.239 MB / 3.033 GB, free: 17.26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/6.491, allocations: 165.2 kB / 3.034 GB, free: 17.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/8.212, allocations: 0 / 3.034 GB, free: 17.06 MB / 0.698 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)