Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 176.1 kB / 326.5 MB, free: 2.277 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.239/2.239, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.001172/0.001171, allocations: 93.66 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004614, allocations: 8.906 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.316, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.307/6.624, allocations: 2.18 GB / 3.081 GB, free: 42.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/6.624, allocations: 87.95 kB / 3.081 GB, free: 42.2 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 1.061/7.685, allocations: 163.9 MB / 3.241 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.505e-06/7.685, allocations: 4 kB / 3.241 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.657e-05/7.685, allocations: 4 kB / 3.241 GB, free: 240.1 MB / 0.8855 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.0005599/7.686, allocations: 423.2 kB / 3.241 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/7.686, allocations: 12.03 kB / 3.241 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/7.686, allocations: 46.5 kB / 3.241 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/7.686, allocations: 15.81 kB / 3.241 GB, free: 239.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/7.686, allocations: 260.1 kB / 3.242 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/7.686, allocations: 8.234 kB / 3.242 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/7.686, allocations: 16 kB / 3.242 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/7.687, allocations: 175.8 kB / 3.242 GB, free: 239 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/7.687, allocations: 0 / 3.242 GB, free: 239 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/7.687, allocations: 12 kB / 3.242 GB, free: 239 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/7.687, allocations: 4 kB / 3.242 GB, free: 239 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/7.687, allocations: 63.84 kB / 3.242 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/7.687, allocations: 1.168 MB / 3.243 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.888e-05/7.688, allocations: 169.1 kB / 3.243 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/7.688, allocations: 75.28 kB / 3.243 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/7.688, allocations: 109.8 kB / 3.243 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/7.688, allocations: 0 / 3.243 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/7.688, allocations: 45.7 kB / 3.243 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/7.688, allocations: 182.1 kB / 3.243 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/7.688, allocations: 228.2 kB / 3.244 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/7.688, allocations: 25.7 kB / 3.244 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/7.688, allocations: 131.9 kB / 3.244 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/7.688, allocations: 4 kB / 3.244 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/7.688, allocations: 0 / 3.244 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/7.688, allocations: 334.8 kB / 3.244 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/7.688, allocations: 8 kB / 3.244 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/7.688, allocations: 67.72 kB / 3.244 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/7.688, allocations: 19.92 kB / 3.244 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/7.688, allocations: 3.953 kB / 3.244 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001554/7.689, allocations: 89.38 kB / 3.244 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/7.689, allocations: 4 kB / 3.244 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/7.689, allocations: 0 / 3.244 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/7.689, allocations: 4 kB / 3.244 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/7.689, allocations: 12 kB / 3.244 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/7.689, allocations: 0 / 3.244 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/7.689, allocations: 15.83 kB / 3.244 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/7.689, allocations: 8.094 kB / 3.244 GB, free: 236.1 MB / 0.8855 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 () * Number of clocked 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 0.0001337/7.689, allocations: 205.1 kB / 3.245 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/7.689, allocations: 128.7 kB / 3.245 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/7.689, allocations: 113.9 kB / 3.245 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/7.689, allocations: 192.2 kB / 3.245 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.091e-05/7.689, allocations: 180.3 kB / 3.245 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/7.689, allocations: 188.3 kB / 3.245 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/7.689, allocations: 453.1 kB / 3.246 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/7.689, allocations: 101 kB / 3.246 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/7.689, allocations: 108.9 kB / 3.246 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.383e-05/7.689, allocations: 180.3 kB / 3.246 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/7.689, allocations: 180.3 kB / 3.246 GB, free: 234 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.962e-05/7.69, allocations: 184.2 kB / 3.246 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.776e-05/7.69, allocations: 178 kB / 3.247 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/7.69, allocations: 323.6 kB / 3.247 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/7.69, allocations: 197.9 kB / 3.247 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/7.69, allocations: 192.2 kB / 3.247 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/7.69, allocations: 101 kB / 3.247 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/7.69, allocations: 184.2 kB / 3.248 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/7.69, allocations: 105 kB / 3.248 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001439/7.69, allocations: 180.5 kB / 3.248 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/7.69, allocations: 0 / 3.248 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005441/7.691, allocations: 99.97 kB / 3.248 GB, free: 232.2 MB / 0.8855 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 () * Number of clocked 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.001482/7.692, allocations: 1.669 MB / 3.25 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001107/7.692, allocations: 16 kB / 3.25 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/7.692, allocations: 0 / 3.25 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/7.692, allocations: 7.938 kB / 3.25 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/7.693, allocations: 0.5739 MB / 3.25 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/7.694, allocations: 1.563 MB / 3.252 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/7.694, allocations: 0.7205 MB / 3.252 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.518e-05/7.694, allocations: 21.55 kB / 3.252 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/7.695, allocations: 39.42 kB / 3.252 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of SimCode: time 6.62e-07/7.695, allocations: 0 / 3.252 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/7.734, allocations: 19.25 MB / 3.271 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/7.734, allocations: 188.8 kB / 3.271 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/10, allocations: 0 / 3.271 GB, free: 208.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)