Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.699/2.699, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.002171/0.002171, allocations: 188.8 kB / 360.6 MB, free: 7.289 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.001/2.001, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001069/0.001068, allocations: 95.47 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.376e-05, allocations: 4 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8053, allocations: 115.3 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.978/6.783, allocations: 2.062 GB / 3.025 GB, free: 57.56 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/6.783, allocations: 76.39 kB / 3.025 GB, free: 57.52 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.173/7.957, allocations: 167.3 MB / 3.188 GB, free: 284.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.503e-06/7.957, allocations: 0 / 3.188 GB, free: 284.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.451e-05/7.957, allocations: 4 kB / 3.188 GB, free: 284.5 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.0003961/7.957, allocations: 386.5 kB / 3.189 GB, free: 284.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/7.957, allocations: 12.02 kB / 3.189 GB, free: 284.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/7.958, allocations: 19.81 kB / 3.189 GB, free: 284 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/7.958, allocations: 263.7 kB / 3.189 GB, free: 283.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/7.958, allocations: 4 kB / 3.189 GB, free: 283.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/7.958, allocations: 8.688 kB / 3.189 GB, free: 283.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001465/7.958, allocations: 44.67 kB / 3.189 GB, free: 283.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/7.958, allocations: 163.5 kB / 3.189 GB, free: 283.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/7.958, allocations: 3.938 kB / 3.189 GB, free: 283.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/7.959, allocations: 0 / 3.189 GB, free: 283.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/7.959, allocations: 4 kB / 3.189 GB, free: 283.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/7.959, allocations: 1.118 MB / 3.19 GB, free: 282.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/7.959, allocations: 173.1 kB / 3.191 GB, free: 282.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/7.96, allocations: 80.14 kB / 3.191 GB, free: 282 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/7.96, allocations: 75.28 kB / 3.191 GB, free: 282 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/7.96, allocations: 113.8 kB / 3.191 GB, free: 281.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/7.96, allocations: 0 / 3.191 GB, free: 281.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 8.762e-05/7.96, allocations: 37.61 kB / 3.191 GB, free: 281.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/7.96, allocations: 102.8 kB / 3.191 GB, free: 281.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/7.96, allocations: 154 kB / 3.191 GB, free: 281.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/7.96, allocations: 25.7 kB / 3.191 GB, free: 281.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8e-05/7.96, allocations: 143.5 kB / 3.191 GB, free: 281.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/7.96, allocations: 0 / 3.191 GB, free: 281.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/7.96, allocations: 0 / 3.191 GB, free: 281.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/7.96, allocations: 322.8 kB / 3.192 GB, free: 281 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/7.96, allocations: 15.98 kB / 3.192 GB, free: 281 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/7.96, allocations: 59.67 kB / 3.192 GB, free: 280.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/7.96, allocations: 20.83 kB / 3.192 GB, free: 280.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/7.96, allocations: 0 / 3.192 GB, free: 280.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001639/7.96, allocations: 65.53 kB / 3.192 GB, free: 280.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/7.961, allocations: 11.95 kB / 3.192 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/7.961, allocations: 0 / 3.192 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/7.961, allocations: 4.156 kB / 3.192 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.311e-05/7.961, allocations: 19.92 kB / 3.192 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/7.961, allocations: 4 kB / 3.192 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/7.961, allocations: 7.906 kB / 3.192 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/7.961, allocations: 0 / 3.192 GB, free: 280.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 () * 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 7.232e-05/7.961, allocations: 188 kB / 3.192 GB, free: 280.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.218e-05/7.961, allocations: 142.7 kB / 3.192 GB, free: 280.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/7.961, allocations: 116.8 kB / 3.192 GB, free: 280.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/7.961, allocations: 126.2 kB / 3.192 GB, free: 280.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/7.961, allocations: 180.2 kB / 3.192 GB, free: 280 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.651e-05/7.961, allocations: 180.2 kB / 3.193 GB, free: 279.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/7.961, allocations: 180.3 kB / 3.193 GB, free: 279.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/7.961, allocations: 425.6 kB / 3.193 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/7.962, allocations: 105 kB / 3.193 GB, free: 279.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/7.962, allocations: 105 kB / 3.193 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-05/7.962, allocations: 188.1 kB / 3.194 GB, free: 278.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/7.962, allocations: 176.3 kB / 3.194 GB, free: 278.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.625e-05/7.962, allocations: 180.3 kB / 3.194 GB, free: 278.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.92e-05/7.962, allocations: 180.2 kB / 3.194 GB, free: 278.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/7.962, allocations: 317.1 kB / 3.194 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/7.962, allocations: 193.9 kB / 3.195 GB, free: 277.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/7.962, allocations: 180.2 kB / 3.195 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/7.962, allocations: 101 kB / 3.195 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/7.962, allocations: 192.2 kB / 3.195 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/7.962, allocations: 105 kB / 3.195 GB, free: 277.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001163/7.962, allocations: 120.3 kB / 3.195 GB, free: 277 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.1e-07/7.962, allocations: 0 / 3.195 GB, free: 277 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005422/7.963, allocations: 79.88 kB / 3.195 GB, free: 276.9 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 () * 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.001637/7.965, allocations: 1.804 MB / 3.197 GB, free: 275.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001453/7.965, allocations: 8 kB / 3.197 GB, free: 275 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/7.965, allocations: 0 / 3.197 GB, free: 275 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-06/7.965, allocations: 8.25 kB / 3.197 GB, free: 275 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/7.965, allocations: 0.5388 MB / 3.198 GB, free: 274.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/7.966, allocations: 270.5 kB / 3.198 GB, free: 274.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/7.966, allocations: 0.7236 MB / 3.199 GB, free: 273.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.526e-05/7.966, allocations: 12.95 kB / 3.199 GB, free: 273.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/7.966, allocations: 39.42 kB / 3.199 GB, free: 273.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/7.966, allocations: 0 / 3.199 GB, free: 273.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/8.016, allocations: 9.742 MB / 3.208 GB, free: 263.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/8.017, allocations: 138 kB / 3.208 GB, free: 263.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/10.71, allocations: 0.75 kB / 3.208 GB, free: 263.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)