Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",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.7838/0.7838, allocations: 143.3 MB / 158.3 MB, free: 5.789 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.001026/0.001026, allocations: 177.1 kB / 191.5 MB, free: 5.773 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.393/1.393, allocations: 223.2 MB / 447.7 MB, free: 6.562 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.0009029/0.0009028, allocations: 92.27 kB / 0.5187 GB, free: 2.914 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001735, allocations: 270.8 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004286, allocations: 15.98 kB / 0.6929 GB, free: 2.211 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4038, allocations: 82.78 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.93/6.334, allocations: 2.122 GB / 2.896 GB, free: 180.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/6.335, allocations: 87.94 kB / 2.896 GB, free: 180.8 MB / 0.698 GB [/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$conAirNoC$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/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$conAirNoC$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$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) 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$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) 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$conDryAirNoC$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$conDryAirNoC$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$conDryAirWithC$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$conDryAirWithC$outlet$forward 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.9632/7.298, allocations: 224.3 MB / 3.115 GB, free: 209.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.727e-06/7.298, allocations: 0 / 3.115 GB, free: 209.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.414e-05/7.298, allocations: 16.95 kB / 3.115 GB, free: 209.6 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005796/7.298, allocations: 464.6 kB / 3.116 GB, free: 209.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/7.299, allocations: 11.16 kB / 3.116 GB, free: 209.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.756e-05/7.299, allocations: 57.41 kB / 3.116 GB, free: 209.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/7.299, allocations: 42.5 kB / 3.116 GB, free: 209.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/7.299, allocations: 262.4 kB / 3.116 GB, free: 209 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/7.299, allocations: 137.1 kB / 3.116 GB, free: 208.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/7.299, allocations: 22.62 kB / 3.116 GB, free: 208.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/7.3, allocations: 287.5 kB / 3.117 GB, free: 208.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/7.3, allocations: 3.844 kB / 3.117 GB, free: 208.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/7.3, allocations: 10.78 kB / 3.117 GB, free: 208.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/7.3, allocations: 9.266 kB / 3.117 GB, free: 208.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/7.3, allocations: 159 kB / 3.117 GB, free: 208.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/7.301, allocations: 1.594 MB / 3.118 GB, free: 207.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/7.302, allocations: 169.9 kB / 3.119 GB, free: 207.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/7.302, allocations: 77.81 kB / 3.119 GB, free: 207.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/7.302, allocations: 106.8 kB / 3.119 GB, free: 207.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.485e-06/7.302, allocations: 3.375 kB / 3.119 GB, free: 207.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.974e-05/7.302, allocations: 54.56 kB / 3.119 GB, free: 207.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/7.302, allocations: 129 kB / 3.119 GB, free: 206.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/7.302, allocations: 284.6 kB / 3.119 GB, free: 206.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/7.302, allocations: 29.08 kB / 3.119 GB, free: 206.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/7.302, allocations: 184.6 kB / 3.119 GB, free: 206.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/7.302, allocations: 7.047 kB / 3.119 GB, free: 206.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/7.302, allocations: 6 kB / 3.119 GB, free: 206.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/7.302, allocations: 324.6 kB / 3.12 GB, free: 206.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/7.302, allocations: 38.69 kB / 3.12 GB, free: 206.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/7.303, allocations: 163.2 kB / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/7.303, allocations: 62.48 kB / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/7.303, allocations: 0 / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003736/7.303, allocations: 221 kB / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/7.303, allocations: 7.375 kB / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/7.303, allocations: 6.344 kB / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/7.303, allocations: 5 kB / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/7.303, allocations: 42.45 kB / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/7.303, allocations: 11 kB / 3.12 GB, free: 206.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/7.304, allocations: 30.52 kB / 3.12 GB, free: 206.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/7.304, allocations: 13.28 kB / 3.12 GB, free: 206.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.0001492/7.304, allocations: 218.8 kB / 3.12 GB, free: 206 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/7.304, allocations: 129 kB / 3.121 GB, free: 205.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/7.304, allocations: 125.6 kB / 3.121 GB, free: 205.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.202e-05/7.304, allocations: 181.3 kB / 3.121 GB, free: 205.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.894e-05/7.304, allocations: 178.6 kB / 3.121 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-05/7.304, allocations: 182.9 kB / 3.121 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/7.304, allocations: 481.5 kB / 3.122 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/7.304, allocations: 112.7 kB / 3.122 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/7.304, allocations: 101 kB / 3.122 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.214e-05/7.304, allocations: 184.2 kB / 3.122 GB, free: 204.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/7.304, allocations: 182.1 kB / 3.122 GB, free: 204.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.961e-05/7.305, allocations: 181.2 kB / 3.122 GB, free: 204 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.482e-05/7.305, allocations: 181.4 kB / 3.123 GB, free: 203.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/7.305, allocations: 319.4 kB / 3.123 GB, free: 203.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/7.305, allocations: 207.1 kB / 3.123 GB, free: 203.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/7.305, allocations: 186.7 kB / 3.123 GB, free: 203.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/7.305, allocations: 101 kB / 3.123 GB, free: 203 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/7.305, allocations: 189 kB / 3.124 GB, free: 202.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/7.305, allocations: 106.9 kB / 3.124 GB, free: 202.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002504/7.305, allocations: 221.4 kB / 3.124 GB, free: 202.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/7.305, allocations: 0 / 3.124 GB, free: 202.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006998/7.306, allocations: 122.8 kB / 3.124 GB, free: 202.6 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 () * 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.001631/7.308, allocations: 1.667 MB / 3.126 GB, free: 201.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002214/7.308, allocations: 81.27 kB / 3.126 GB, free: 201.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/7.308, allocations: 0 / 3.126 GB, free: 201.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/7.308, allocations: 3.844 kB / 3.126 GB, free: 201.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/7.308, allocations: 0.5492 MB / 3.126 GB, free: 201.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/7.311, allocations: 4.117 MB / 3.13 GB, free: 197.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/7.311, allocations: 0.7455 MB / 3.131 GB, free: 196.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001585/7.311, allocations: 36.7 kB / 3.131 GB, free: 196.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.129e-05/7.311, allocations: 60.34 kB / 3.131 GB, free: 196.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.254e-06/7.311, allocations: 0 / 3.131 GB, free: 196.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/7.351, allocations: 19.01 MB / 3.15 GB, free: 192 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/7.351, allocations: 188.3 kB / 3.15 GB, free: 191.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/9.776, allocations: 0 / 3.15 GB, free: 191.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)