Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.874/1.874, allocations: 292.6 MB / 307.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00168/0.00168, allocations: 193 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 0.6366 GB, free: 9.48 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 90.95 kB / 0.7509 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004207, allocations: 12 kB / 0.8749 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3408, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.986/7.327, allocations: 2.063 GB / 3.052 GB, free: 157.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/7.327, allocations: 88.61 kB / 3.052 GB, free: 157.7 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$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/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Performance of FrontEnd - DAE generated: time 1.015/8.343, allocations: 169.6 MB / 3.217 GB, free: 240.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.968e-06/8.343, allocations: 0.6094 kB / 3.217 GB, free: 240.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.687e-05/8.343, allocations: 7.562 kB / 3.217 GB, free: 240.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006795/8.344, allocations: 416.3 kB / 3.218 GB, free: 240.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/8.344, allocations: 17.77 kB / 3.218 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/8.344, allocations: 48.5 kB / 3.218 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.121e-05/8.344, allocations: 18.58 kB / 3.218 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/8.344, allocations: 249.6 kB / 3.218 GB, free: 240.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/8.344, allocations: 12.39 kB / 3.218 GB, free: 240.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/8.344, allocations: 11.12 kB / 3.218 GB, free: 240.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/8.345, allocations: 177.5 kB / 3.218 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/8.345, allocations: 1.422 kB / 3.218 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/8.345, allocations: 8.438 kB / 3.218 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/8.345, allocations: 5.047 kB / 3.218 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/8.345, allocations: 64.66 kB / 3.218 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/8.346, allocations: 1.166 MB / 3.22 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/8.346, allocations: 166.5 kB / 3.22 GB, free: 238.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/8.346, allocations: 80.12 kB / 3.22 GB, free: 238.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/8.346, allocations: 115.2 kB / 3.22 GB, free: 238.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 3.186e-06/8.346, allocations: 0 / 3.22 GB, free: 238.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001153/8.346, allocations: 47.03 kB / 3.22 GB, free: 238.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/8.347, allocations: 181.7 kB / 3.22 GB, free: 238.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/8.347, allocations: 227.2 kB / 3.22 GB, free: 238.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/8.347, allocations: 25.7 kB / 3.22 GB, free: 238.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/8.347, allocations: 133.2 kB / 3.221 GB, free: 238.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/8.347, allocations: 1.406 kB / 3.221 GB, free: 238.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/8.347, allocations: 0 / 3.221 GB, free: 238.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/8.347, allocations: 336.8 kB / 3.221 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/8.347, allocations: 6.781 kB / 3.221 GB, free: 237.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/8.347, allocations: 68.22 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/8.347, allocations: 25.88 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/8.347, allocations: 0 / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/8.347, allocations: 85.56 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/8.347, allocations: 6.234 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/8.347, allocations: 5.125 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/8.348, allocations: 2.156 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/8.348, allocations: 12.11 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/8.348, allocations: 2.078 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/8.348, allocations: 16.23 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/8.348, allocations: 7.156 kB / 3.221 GB, free: 237.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001368/8.348, allocations: 205.2 kB / 3.221 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/8.348, allocations: 122.2 kB / 3.221 GB, free: 237.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.558e-05/8.348, allocations: 122.1 kB / 3.222 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.598e-05/8.348, allocations: 179 kB / 3.222 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.241e-05/8.348, allocations: 179.2 kB / 3.222 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.173e-05/8.348, allocations: 185.8 kB / 3.222 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/8.349, allocations: 453.8 kB / 3.222 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/8.349, allocations: 108.5 kB / 3.223 GB, free: 236.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/8.349, allocations: 103.1 kB / 3.223 GB, free: 236.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-05/8.349, allocations: 184.5 kB / 3.223 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/8.349, allocations: 178.1 kB / 3.223 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.625e-05/8.349, allocations: 186 kB / 3.223 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.634e-05/8.349, allocations: 177.4 kB / 3.223 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/8.349, allocations: 328.2 kB / 3.224 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/8.349, allocations: 196.2 kB / 3.224 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/8.349, allocations: 182.6 kB / 3.224 GB, free: 234.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/8.349, allocations: 103 kB / 3.224 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/8.349, allocations: 186.4 kB / 3.224 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/8.349, allocations: 104 kB / 3.224 GB, free: 234.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002097/8.349, allocations: 180 kB / 3.225 GB, free: 234.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/8.349, allocations: 1.594 kB / 3.225 GB, free: 234.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000599/8.35, allocations: 102.9 kB / 3.225 GB, free: 234.3 MB / 0.948 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.002175/8.352, allocations: 1.668 MB / 3.226 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001292/8.352, allocations: 20.11 kB / 3.226 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/8.352, allocations: 0 / 3.226 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/8.352, allocations: 3.844 kB / 3.226 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/8.353, allocations: 0.5831 MB / 3.227 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/8.355, allocations: 1.553 MB / 3.228 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/8.355, allocations: 0.7226 MB / 3.229 GB, free: 231 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001254/8.355, allocations: 20.31 kB / 3.229 GB, free: 231 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/8.355, allocations: 42.84 kB / 3.229 GB, free: 231 MB / 0.948 GB Notification: Performance of SimCode: time 2.034e-06/8.355, allocations: 3.688 kB / 3.229 GB, free: 231 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04619/8.402, allocations: 19.23 MB / 3.248 GB, free: 230.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/8.402, allocations: 190.4 kB / 3.248 GB, free: 229.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/10.82, allocations: 0 / 3.248 GB, free: 229.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)