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.201/2.201, allocations: 248.7 MB / 256.2 MB, free: 7.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: 186.3 kB / 315.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 90.52 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.432e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1881, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.999/7.187, allocations: 2.18 GB / 3.065 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/7.187, allocations: 87.83 kB / 3.065 GB, free: 173.3 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 0.513/7.7, allocations: 161.6 MB / 3.222 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.393e-06/7.7, allocations: 0 / 3.222 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.177e-05/7.7, allocations: 4.219 kB / 3.222 GB, free: 15.68 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.000398/7.701, allocations: 406.3 kB / 3.223 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/7.701, allocations: 8.031 kB / 3.223 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/7.701, allocations: 19.81 kB / 3.223 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/7.701, allocations: 254.5 kB / 3.223 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/7.701, allocations: 8 kB / 3.223 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/7.701, allocations: 4 kB / 3.223 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001451/7.702, allocations: 44.47 kB / 3.223 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/7.702, allocations: 165.2 kB / 3.223 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/7.702, allocations: 3.938 kB / 3.223 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/7.702, allocations: 0 / 3.223 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/7.702, allocations: 4 kB / 3.223 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/7.703, allocations: 1.114 MB / 3.224 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.624e-05/7.703, allocations: 165.1 kB / 3.225 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/7.703, allocations: 88.14 kB / 3.225 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/7.703, allocations: 75.28 kB / 3.225 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/7.703, allocations: 109.8 kB / 3.225 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 2.715e-06/7.703, allocations: 4 kB / 3.225 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.863e-05/7.703, allocations: 33.61 kB / 3.225 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/7.703, allocations: 106.8 kB / 3.225 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/7.703, allocations: 162.4 kB / 3.225 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/7.703, allocations: 25.7 kB / 3.225 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/7.703, allocations: 139.6 kB / 3.225 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-06/7.703, allocations: 4 kB / 3.225 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/7.703, allocations: 0 / 3.225 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.162e-05/7.703, allocations: 314.8 kB / 3.226 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.314e-05/7.703, allocations: 11.98 kB / 3.226 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/7.704, allocations: 71.61 kB / 3.226 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/7.704, allocations: 19.98 kB / 3.226 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/7.704, allocations: 0 / 3.226 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001611/7.704, allocations: 69.44 kB / 3.226 GB, free: 12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/7.704, allocations: 9.875 kB / 3.226 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/7.704, allocations: 0 / 3.226 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/7.704, allocations: 7.922 kB / 3.226 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/7.704, allocations: 11.94 kB / 3.226 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/7.704, allocations: 4.156 kB / 3.226 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/7.704, allocations: 7.938 kB / 3.226 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/7.704, allocations: 7.953 kB / 3.226 GB, free: 11.95 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 6.881e-05/7.704, allocations: 180.3 kB / 3.226 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.072e-05/7.704, allocations: 146.5 kB / 3.226 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/7.704, allocations: 113.5 kB / 3.226 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/7.704, allocations: 110.2 kB / 3.226 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/7.704, allocations: 188.2 kB / 3.227 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/7.704, allocations: 184.2 kB / 3.227 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.439e-05/7.704, allocations: 184.4 kB / 3.227 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/7.705, allocations: 421.7 kB / 3.227 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/7.705, allocations: 105 kB / 3.227 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/7.705, allocations: 105 kB / 3.227 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-05/7.705, allocations: 184.2 kB / 3.228 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/7.705, allocations: 176.3 kB / 3.228 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.271e-05/7.705, allocations: 180.3 kB / 3.228 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-05/7.705, allocations: 184.2 kB / 3.228 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.025e-05/7.705, allocations: 320.6 kB / 3.228 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/7.705, allocations: 185.9 kB / 3.229 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/7.705, allocations: 184.3 kB / 3.229 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/7.705, allocations: 105 kB / 3.229 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/7.705, allocations: 180.2 kB / 3.229 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/7.705, allocations: 109 kB / 3.229 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001081/7.705, allocations: 128.2 kB / 3.229 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/7.705, allocations: 0 / 3.229 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004731/7.706, allocations: 71.92 kB / 3.229 GB, free: 8.066 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.001592/7.708, allocations: 1.811 MB / 3.231 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001086/7.708, allocations: 16 kB / 3.231 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/7.708, allocations: 0 / 3.231 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/7.708, allocations: 3.938 kB / 3.231 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/7.708, allocations: 0.5344 MB / 3.232 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/7.709, allocations: 270.6 kB / 3.232 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/7.709, allocations: 0.7236 MB / 3.233 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.974e-05/7.709, allocations: 12.42 kB / 3.233 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/7.709, allocations: 35.42 kB / 3.233 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/7.709, allocations: 0 / 3.233 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6561/8.365, allocations: 9.734 MB / 3.242 GB, free: 263.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/8.365, allocations: 137.9 kB / 3.242 GB, free: 263.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/11, allocations: 0 / 3.242 GB, free: 263.5 MB / 0.8698 GB