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.6816/0.6816, 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.0008567/0.0008567, allocations: 190.1 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.207/1.207, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008615/0.0008615, allocations: 93.73 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001877/0.001876, allocations: 274.4 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.008e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3351, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.017/4.352, allocations: 2.127 GB / 2.892 GB, free: 146.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/4.352, allocations: 91.97 kB / 2.892 GB, free: 146.4 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.2146/4.567, allocations: 137 MB / 3.026 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/4.567, allocations: 4 kB / 3.026 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.424e-05/4.567, allocations: 4 kB / 3.026 GB, free: 17.41 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.0002621/4.567, allocations: 407.3 kB / 3.026 GB, free: 16.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/4.567, allocations: 12.02 kB / 3.026 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/4.567, allocations: 50.55 kB / 3.026 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/4.567, allocations: 27.66 kB / 3.026 GB, free: 16.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/4.567, allocations: 243.3 kB / 3.026 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/4.567, allocations: 12.22 kB / 3.026 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/4.567, allocations: 15.94 kB / 3.026 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/4.568, allocations: 240.3 kB / 3.027 GB, free: 16.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/4.568, allocations: 11.88 kB / 3.027 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/4.568, allocations: 8 kB / 3.027 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/4.568, allocations: 4 kB / 3.027 GB, free: 16.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/4.568, allocations: 63.81 kB / 3.027 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005776/4.568, allocations: 1.594 MB / 3.028 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.464e-05/4.568, allocations: 173.1 kB / 3.028 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/4.568, allocations: 88.14 kB / 3.028 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/4.568, allocations: 75.28 kB / 3.028 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/4.568, allocations: 105.8 kB / 3.029 GB, free: 14.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/4.568, allocations: 0 / 3.029 GB, free: 14.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.143e-05/4.568, allocations: 45.52 kB / 3.029 GB, free: 13.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/4.568, allocations: 130.6 kB / 3.029 GB, free: 13.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/4.569, allocations: 222.9 kB / 3.029 GB, free: 13.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-06/4.569, allocations: 25.7 kB / 3.029 GB, free: 13.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/4.569, allocations: 139.8 kB / 3.029 GB, free: 13.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/4.569, allocations: 4 kB / 3.029 GB, free: 13.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/4.569, allocations: 0 / 3.029 GB, free: 13.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/4.569, allocations: 326.8 kB / 3.029 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/4.569, allocations: 12 kB / 3.029 GB, free: 13.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/4.569, allocations: 49.98 kB / 3.029 GB, free: 13.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/4.569, allocations: 12 kB / 3.03 GB, free: 13.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/4.569, allocations: 3.953 kB / 3.03 GB, free: 13.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001129/4.569, allocations: 93.31 kB / 3.03 GB, free: 12.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/4.569, allocations: 4 kB / 3.03 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/4.569, allocations: 4 kB / 3.03 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/4.569, allocations: 0 / 3.03 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/4.569, allocations: 20.2 kB / 3.03 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/4.569, allocations: 0 / 3.03 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/4.569, allocations: 23.69 kB / 3.03 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/4.569, allocations: 4 kB / 3.03 GB, free: 12.86 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 3.765e-05/4.569, allocations: 184.2 kB / 3.03 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/4.569, allocations: 124.8 kB / 3.03 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/4.569, allocations: 125.8 kB / 3.03 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/4.569, allocations: 184.2 kB / 3.03 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/4.569, allocations: 180.2 kB / 3.03 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/4.569, allocations: 188.1 kB / 3.031 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/4.569, allocations: 453.2 kB / 3.031 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/4.569, allocations: 104.9 kB / 3.031 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/4.57, allocations: 108.9 kB / 3.031 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/4.57, allocations: 180.3 kB / 3.031 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/4.57, allocations: 188.1 kB / 3.032 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-05/4.57, allocations: 180.2 kB / 3.032 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-05/4.57, allocations: 184.2 kB / 3.032 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.028e-05/4.57, allocations: 320.8 kB / 3.032 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/4.57, allocations: 201.8 kB / 3.032 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/4.57, allocations: 180.2 kB / 3.033 GB, free: 9.645 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/4.57, allocations: 112.9 kB / 3.033 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/4.57, allocations: 176.3 kB / 3.033 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/4.57, allocations: 108.9 kB / 3.033 GB, free: 9.234 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001027/4.57, allocations: 183.1 kB / 3.033 GB, free: 9.055 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/4.57, allocations: 0 / 3.033 GB, free: 9.055 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002844/4.57, allocations: 51.98 kB / 3.033 GB, free: 9.004 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.0006088/4.571, allocations: 1.31 MB / 3.034 GB, free: 7.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.572e-05/4.571, allocations: 15.94 kB / 3.034 GB, free: 7.664 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/4.571, allocations: 448 / 3.034 GB, free: 7.664 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/4.571, allocations: 4 kB / 3.034 GB, free: 7.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/4.571, allocations: 0.5775 MB / 3.035 GB, free: 7.078 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/4.572, allocations: 262.7 kB / 3.035 GB, free: 6.785 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/4.572, allocations: 0.7166 MB / 3.036 GB, free: 6.043 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.795e-05/4.572, allocations: 21.53 kB / 3.036 GB, free: 6.023 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/4.572, allocations: 51.36 kB / 3.036 GB, free: 5.973 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/4.572, allocations: 0 / 3.036 GB, free: 5.973 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3178/4.89, allocations: 14.32 MB / 3.05 GB, free: 203.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/4.89, allocations: 172.7 kB / 3.05 GB, free: 203.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/6.78, allocations: 0 / 3.05 GB, free: 203.2 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)