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.687/1.687, allocations: 289.9 MB / 297.4 MB, free: 6.301 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.001181/0.001181, allocations: 176.9 kB / 366.7 MB, free: 1.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.001086/0.001086, allocations: 96.34 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.831e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6704, allocations: 116.3 MB / 0.9733 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.264/5.935, allocations: 2.063 GB / 3.036 GB, free: 21.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/5.935, allocations: 85.83 kB / 3.036 GB, free: 21.43 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 0.9935/6.928, allocations: 167.3 MB / 3.199 GB, free: 242.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/6.928, allocations: 0 / 3.199 GB, free: 242.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.264e-05/6.928, allocations: 8 kB / 3.199 GB, free: 242.8 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.0003667/6.929, allocations: 398.4 kB / 3.2 GB, free: 242.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/6.929, allocations: 12.03 kB / 3.2 GB, free: 242.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/6.929, allocations: 15.81 kB / 3.2 GB, free: 242.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/6.929, allocations: 258.8 kB / 3.2 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/6.929, allocations: 4 kB / 3.2 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/6.929, allocations: 12 kB / 3.2 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/6.929, allocations: 48.45 kB / 3.2 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/6.93, allocations: 157.7 kB / 3.2 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/6.93, allocations: 4 kB / 3.2 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/6.93, allocations: 3.984 kB / 3.2 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/6.93, allocations: 4 kB / 3.2 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/6.93, allocations: 1.098 MB / 3.201 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.152e-05/6.93, allocations: 185.1 kB / 3.202 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/6.931, allocations: 84.14 kB / 3.202 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/6.931, allocations: 75.28 kB / 3.202 GB, free: 240.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/6.931, allocations: 109.8 kB / 3.202 GB, free: 240.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/6.931, allocations: 0 / 3.202 GB, free: 240.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.43e-05/6.931, allocations: 41.61 kB / 3.202 GB, free: 240.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/6.931, allocations: 106.8 kB / 3.202 GB, free: 239.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/6.931, allocations: 150 kB / 3.202 GB, free: 239.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/6.931, allocations: 25.7 kB / 3.202 GB, free: 239.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/6.931, allocations: 143.5 kB / 3.202 GB, free: 239.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/6.931, allocations: 0 / 3.202 GB, free: 239.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/6.931, allocations: 0 / 3.202 GB, free: 239.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/6.931, allocations: 322.8 kB / 3.203 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/6.931, allocations: 12 kB / 3.203 GB, free: 239.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/6.931, allocations: 59.67 kB / 3.203 GB, free: 239.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/6.931, allocations: 19.98 kB / 3.203 GB, free: 239.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/6.931, allocations: 0 / 3.203 GB, free: 239.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001461/6.931, allocations: 73.47 kB / 3.203 GB, free: 239.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/6.931, allocations: 11.94 kB / 3.203 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/6.931, allocations: 3.984 kB / 3.203 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/6.931, allocations: 4 kB / 3.203 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/6.932, allocations: 8 kB / 3.203 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/6.932, allocations: 0 / 3.203 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/6.932, allocations: 16 kB / 3.203 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/6.932, allocations: 0 / 3.203 GB, free: 239.1 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 9.738e-05/6.932, allocations: 184.3 kB / 3.203 GB, free: 238.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.897e-05/6.932, allocations: 146.5 kB / 3.203 GB, free: 238.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/6.932, allocations: 116.8 kB / 3.203 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/6.932, allocations: 114.1 kB / 3.203 GB, free: 238.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/6.932, allocations: 184.2 kB / 3.203 GB, free: 238.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.511e-05/6.932, allocations: 184.3 kB / 3.204 GB, free: 238.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-05/6.932, allocations: 180.2 kB / 3.204 GB, free: 237.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/6.932, allocations: 417.8 kB / 3.204 GB, free: 237.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/6.932, allocations: 105.1 kB / 3.204 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/6.932, allocations: 108.9 kB / 3.204 GB, free: 237.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.354e-05/6.932, allocations: 188.2 kB / 3.205 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/6.932, allocations: 180.3 kB / 3.205 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.191e-05/6.932, allocations: 184.2 kB / 3.205 GB, free: 236.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.374e-05/6.933, allocations: 176.3 kB / 3.205 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/6.933, allocations: 317 kB / 3.205 GB, free: 236.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/6.933, allocations: 190 kB / 3.206 GB, free: 235.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/6.933, allocations: 184.2 kB / 3.206 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/6.933, allocations: 104.9 kB / 3.206 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/6.933, allocations: 180.3 kB / 3.206 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/6.933, allocations: 104.9 kB / 3.206 GB, free: 235.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.72e-05/6.933, allocations: 132.8 kB / 3.206 GB, free: 235.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.933, allocations: 0 / 3.206 GB, free: 235.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004653/6.934, allocations: 79.83 kB / 3.206 GB, free: 235.2 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.001687/6.935, allocations: 1.795 MB / 3.208 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001464/6.935, allocations: 23.92 kB / 3.208 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/6.935, allocations: 0 / 3.208 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/6.935, allocations: 0 / 3.208 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.0003985/6.936, allocations: 0.5421 MB / 3.209 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/6.936, allocations: 263.5 kB / 3.209 GB, free: 232.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/6.937, allocations: 0.7272 MB / 3.21 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.612e-05/6.937, allocations: 16.41 kB / 3.21 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/6.937, allocations: 39.42 kB / 3.21 GB, free: 231.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/6.937, allocations: 0 / 3.21 GB, free: 231.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/6.966, allocations: 9.749 MB / 3.219 GB, free: 221.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/6.967, allocations: 129.8 kB / 3.219 GB, free: 221.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/9.043, allocations: 0.5 kB / 3.219 GB, free: 221.7 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)