Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.27/2.27, allocations: 248.5 MB / 261 MB, free: 6.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 178.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.2 MB / 0.571 GB, free: 11.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001121, allocations: 98.45 kB / 0.6754 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.342e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1998, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.15/7.35, allocations: 2.18 GB / 3.071 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/7.35, allocations: 80.33 kB / 3.071 GB, free: 154.4 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.104/8.454, allocations: 163.6 MB / 3.231 GB, free: 267.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/8.454, allocations: 4.469 kB / 3.231 GB, free: 267.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.695e-05/8.454, allocations: 9.188 kB / 3.231 GB, free: 267.9 MB / 0.8698 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.0004597/8.455, allocations: 398.4 kB / 3.231 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/8.455, allocations: 10.38 kB / 3.231 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/8.455, allocations: 49.06 kB / 3.231 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/8.455, allocations: 18.14 kB / 3.231 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/8.456, allocations: 259.5 kB / 3.231 GB, free: 267.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/8.456, allocations: 10.3 kB / 3.231 GB, free: 267.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/8.456, allocations: 11.44 kB / 3.232 GB, free: 267.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/8.456, allocations: 180 kB / 3.232 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/8.456, allocations: 3.062 kB / 3.232 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/8.456, allocations: 6.062 kB / 3.232 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/8.456, allocations: 3.938 kB / 3.232 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/8.456, allocations: 61.84 kB / 3.232 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/8.457, allocations: 1.169 MB / 3.233 GB, free: 266.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.409e-05/8.457, allocations: 170.7 kB / 3.233 GB, free: 266 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/8.457, allocations: 83.45 kB / 3.233 GB, free: 265.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/8.457, allocations: 75.28 kB / 3.233 GB, free: 265.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/8.457, allocations: 107.7 kB / 3.233 GB, free: 265.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 3.546e-06/8.458, allocations: 2.281 kB / 3.233 GB, free: 265.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.00011/8.458, allocations: 53.75 kB / 3.233 GB, free: 265.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/8.458, allocations: 180.3 kB / 3.234 GB, free: 265.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/8.458, allocations: 222.2 kB / 3.234 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/8.458, allocations: 25.7 kB / 3.234 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/8.458, allocations: 135 kB / 3.234 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-06/8.458, allocations: 0 / 3.234 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/8.458, allocations: 0 / 3.234 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/8.458, allocations: 328.4 kB / 3.234 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/8.458, allocations: 8.516 kB / 3.234 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/8.458, allocations: 69.06 kB / 3.234 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/8.458, allocations: 20.28 kB / 3.234 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/8.459, allocations: 0 / 3.234 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002076/8.459, allocations: 85.5 kB / 3.234 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/8.459, allocations: 6.297 kB / 3.234 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/8.459, allocations: 1.688 kB / 3.234 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/8.459, allocations: 4.938 kB / 3.234 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/8.459, allocations: 11.03 kB / 3.234 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/8.459, allocations: 6.328 kB / 3.234 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/8.459, allocations: 17.75 kB / 3.234 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/8.459, allocations: 5.281 kB / 3.234 GB, free: 264.8 MB / 0.8698 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.44e-05/8.459, allocations: 188.4 kB / 3.235 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/8.459, allocations: 119.1 kB / 3.235 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/8.459, allocations: 118.6 kB / 3.235 GB, free: 264.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-05/8.459, allocations: 184.4 kB / 3.235 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.698e-05/8.459, allocations: 183.2 kB / 3.235 GB, free: 264.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/8.46, allocations: 186.6 kB / 3.235 GB, free: 263.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/8.46, allocations: 446.1 kB / 3.236 GB, free: 263.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/8.46, allocations: 106.3 kB / 3.236 GB, free: 263.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/8.46, allocations: 106.9 kB / 3.236 GB, free: 263.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.469e-05/8.46, allocations: 183.9 kB / 3.236 GB, free: 263 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/8.46, allocations: 179.9 kB / 3.236 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.371e-05/8.46, allocations: 185.8 kB / 3.237 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.29e-05/8.46, allocations: 177.1 kB / 3.237 GB, free: 262.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/8.46, allocations: 330.9 kB / 3.237 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/8.46, allocations: 190.9 kB / 3.237 GB, free: 262 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/8.46, allocations: 183.7 kB / 3.237 GB, free: 261.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/8.46, allocations: 111.6 kB / 3.237 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/8.461, allocations: 177.7 kB / 3.238 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/8.461, allocations: 104.6 kB / 3.238 GB, free: 261.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002598/8.461, allocations: 179.9 kB / 3.238 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-07/8.461, allocations: 0 / 3.238 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006592/8.462, allocations: 94.5 kB / 3.238 GB, free: 261.3 MB / 0.8698 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.001892/8.463, allocations: 1.667 MB / 3.24 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001647/8.464, allocations: 19.77 kB / 3.24 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/8.464, allocations: 4.281 kB / 3.24 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-06/8.464, allocations: 5.688 kB / 3.24 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/8.464, allocations: 0.5769 MB / 3.24 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/8.465, allocations: 281.8 kB / 3.24 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/8.465, allocations: 0.726 MB / 3.241 GB, free: 259 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001358/8.466, allocations: 19.75 kB / 3.241 GB, free: 259 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/8.466, allocations: 42.12 kB / 3.241 GB, free: 259 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/8.466, allocations: 1.438 kB / 3.241 GB, free: 259 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0743/8.54, allocations: 22.01 MB / 3.263 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/8.54, allocations: 153.6 kB / 3.263 GB, free: 258 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/11.69, allocations: 0 / 3.263 GB, free: 258 MB / 0.8698 GB