Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4806/0.4806, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 221.3 MB / 348.3 MB, free: 492 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 99.58 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.275e-05, allocations: 4 kB / 0.4897 GB, free: 5.289 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.386, allocations: 72.3 MB / 0.5603 GB, free: 40.35 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.861/4.247, allocations: 1.671 GB / 2.231 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/4.247, allocations: 82.45 kB / 2.231 GB, free: 109.6 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/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/IBPSA 4.0.0-master/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 0.6449/4.892, allocations: 159.4 MB / 2.387 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/4.892, allocations: 0 / 2.387 GB, free: 190.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.101e-05/4.892, allocations: 5.953 kB / 2.387 GB, free: 190.2 MB / 0.6042 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.0003232/4.893, allocations: 401.7 kB / 2.387 GB, free: 189.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/4.893, allocations: 19.98 kB / 2.387 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/4.893, allocations: 46.53 kB / 2.387 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/4.893, allocations: 19.08 kB / 2.388 GB, free: 189.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/4.893, allocations: 257.1 kB / 2.388 GB, free: 189.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/4.893, allocations: 12.17 kB / 2.388 GB, free: 189.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/4.893, allocations: 12 kB / 2.388 GB, free: 189.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/4.893, allocations: 177.5 kB / 2.388 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/4.893, allocations: 3.953 kB / 2.388 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/4.893, allocations: 4 kB / 2.388 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/4.893, allocations: 7.938 kB / 2.388 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/4.894, allocations: 71.84 kB / 2.388 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/4.894, allocations: 1.161 MB / 2.389 GB, free: 187.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/4.894, allocations: 169.1 kB / 2.389 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/4.894, allocations: 84.12 kB / 2.389 GB, free: 187.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/4.894, allocations: 81.69 kB / 2.389 GB, free: 187.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/4.894, allocations: 113.8 kB / 2.39 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/4.894, allocations: 0 / 2.39 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.121e-05/4.894, allocations: 41.52 kB / 2.39 GB, free: 187.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/4.894, allocations: 178.1 kB / 2.39 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/4.895, allocations: 217.1 kB / 2.39 GB, free: 186.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/4.895, allocations: 25.7 kB / 2.39 GB, free: 186.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/4.895, allocations: 142.6 kB / 2.39 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/4.895, allocations: 3.938 kB / 2.39 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/4.895, allocations: 0 / 2.39 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/4.895, allocations: 326.8 kB / 2.39 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/4.895, allocations: 7.984 kB / 2.39 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/4.895, allocations: 67.73 kB / 2.391 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/4.895, allocations: 19.98 kB / 2.391 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/4.895, allocations: 0 / 2.391 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001276/4.895, allocations: 85.36 kB / 2.391 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/4.895, allocations: 8 kB / 2.391 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/4.895, allocations: 0 / 2.391 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/4.895, allocations: 3.984 kB / 2.391 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/4.895, allocations: 15.94 kB / 2.391 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/4.895, allocations: 4 kB / 2.391 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/4.895, allocations: 13.11 kB / 2.391 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/4.895, allocations: 7.828 kB / 2.391 GB, free: 186.2 MB / 0.6042 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 () * 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 5.449e-05/4.895, allocations: 180.4 kB / 2.391 GB, free: 186 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/4.895, allocations: 120.8 kB / 2.391 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/4.895, allocations: 125.8 kB / 2.391 GB, free: 185.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/4.895, allocations: 184.3 kB / 2.391 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-05/4.895, allocations: 192.3 kB / 2.391 GB, free: 185.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/4.895, allocations: 176.3 kB / 2.392 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/4.896, allocations: 453.2 kB / 2.392 GB, free: 184.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/4.896, allocations: 108.9 kB / 2.392 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.616e-05/4.896, allocations: 101 kB / 2.392 GB, free: 184.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-05/4.896, allocations: 188.2 kB / 2.392 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/4.896, allocations: 176.3 kB / 2.393 GB, free: 184.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-05/4.896, allocations: 180.3 kB / 2.393 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.591e-05/4.896, allocations: 184.2 kB / 2.393 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.754e-05/4.896, allocations: 328.9 kB / 2.393 GB, free: 183.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/4.896, allocations: 193.9 kB / 2.393 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/4.896, allocations: 184.2 kB / 2.394 GB, free: 182.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/4.896, allocations: 108.9 kB / 2.394 GB, free: 182.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/4.896, allocations: 180.3 kB / 2.394 GB, free: 182.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/4.896, allocations: 108.9 kB / 2.394 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001179/4.896, allocations: 181.4 kB / 2.394 GB, free: 182.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/4.896, allocations: 0 / 2.394 GB, free: 182.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004362/4.897, allocations: 95.98 kB / 2.394 GB, free: 182.3 MB / 0.6042 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.001086/4.898, allocations: 1.662 MB / 2.396 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.13e-05/4.898, allocations: 23.92 kB / 2.396 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/4.898, allocations: 0 / 2.396 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/4.898, allocations: 320 / 2.396 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/4.898, allocations: 0.5813 MB / 2.396 GB, free: 180.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/4.899, allocations: 291 kB / 2.397 GB, free: 179.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/4.899, allocations: 0.7205 MB / 2.397 GB, free: 179 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.128e-05/4.899, allocations: 29.52 kB / 2.398 GB, free: 179 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/4.899, allocations: 39.42 kB / 2.398 GB, free: 179 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/4.899, allocations: 0 / 2.398 GB, free: 179 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/4.934, allocations: 22.03 MB / 2.419 GB, free: 157 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/4.934, allocations: 140.7 kB / 2.419 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/7.443, allocations: 0 / 2.419 GB, free: 156.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)