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.386/1.386, allocations: 249.5 MB / 257 MB, free: 6.875 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.0009849/0.0009849, allocations: 188.3 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009109/0.0009107, allocations: 84.56 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.509e-05/1.51e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1955, allocations: 106.4 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/5.75, allocations: 2.181 GB / 3.066 GB, free: 184 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/5.75, allocations: 78.33 kB / 3.066 GB, free: 183.9 MB / 0.8698 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 0.2718/6.022, allocations: 161.6 MB / 3.224 GB, free: 26.85 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/6.022, allocations: 0 / 3.224 GB, free: 26.85 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.661e-05/6.022, allocations: 0 / 3.224 GB, free: 26.85 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.0003389/6.023, allocations: 402.6 kB / 3.224 GB, free: 26.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/6.023, allocations: 11.97 kB / 3.224 GB, free: 26.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/6.023, allocations: 15.81 kB / 3.224 GB, free: 26.38 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/6.023, allocations: 258.5 kB / 3.225 GB, free: 26.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/6.023, allocations: 4 kB / 3.225 GB, free: 26.08 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/6.023, allocations: 8 kB / 3.225 GB, free: 26.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/6.023, allocations: 48.45 kB / 3.225 GB, free: 26.03 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/6.023, allocations: 157.2 kB / 3.225 GB, free: 25.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/6.023, allocations: 7.938 kB / 3.225 GB, free: 25.83 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/6.023, allocations: 3.938 kB / 3.225 GB, free: 25.83 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/6.023, allocations: 4 kB / 3.225 GB, free: 25.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/6.024, allocations: 1.11 MB / 3.226 GB, free: 24.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/6.024, allocations: 165.1 kB / 3.226 GB, free: 24.48 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/6.024, allocations: 84.08 kB / 3.226 GB, free: 24.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/6.024, allocations: 79.27 kB / 3.226 GB, free: 24.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/6.024, allocations: 109.8 kB / 3.226 GB, free: 24.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/6.024, allocations: 4 kB / 3.226 GB, free: 24.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.508e-05/6.024, allocations: 37.61 kB / 3.226 GB, free: 24.15 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/6.024, allocations: 102.8 kB / 3.226 GB, free: 24.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/6.024, allocations: 150.4 kB / 3.227 GB, free: 23.87 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/6.024, allocations: 29.7 kB / 3.227 GB, free: 23.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/6.025, allocations: 139.6 kB / 3.227 GB, free: 23.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/6.025, allocations: 0 / 3.227 GB, free: 23.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/6.025, allocations: 0 / 3.227 GB, free: 23.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.056e-05/6.025, allocations: 330.8 kB / 3.227 GB, free: 23.36 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/6.025, allocations: 8 kB / 3.227 GB, free: 23.36 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/6.025, allocations: 63.66 kB / 3.227 GB, free: 23.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/6.025, allocations: 23.98 kB / 3.227 GB, free: 23.24 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/6.025, allocations: 0 / 3.227 GB, free: 23.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001134/6.025, allocations: 77.38 kB / 3.227 GB, free: 23.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/6.025, allocations: 4 kB / 3.227 GB, free: 23.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/6.025, allocations: 4 kB / 3.227 GB, free: 23.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/6.025, allocations: 0 / 3.227 GB, free: 23.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/6.025, allocations: 8.047 kB / 3.227 GB, free: 23.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/6.025, allocations: 4.156 kB / 3.227 GB, free: 23.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/6.025, allocations: 19.84 kB / 3.227 GB, free: 23.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/6.025, allocations: 4 kB / 3.227 GB, free: 23.12 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.735e-05/6.025, allocations: 180.2 kB / 3.227 GB, free: 22.93 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.308e-05/6.025, allocations: 142.7 kB / 3.228 GB, free: 22.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/6.025, allocations: 113.5 kB / 3.228 GB, free: 22.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/6.025, allocations: 126.1 kB / 3.228 GB, free: 22.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/6.025, allocations: 180.3 kB / 3.228 GB, free: 22.35 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.988e-05/6.025, allocations: 180.3 kB / 3.228 GB, free: 22.17 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.048e-05/6.025, allocations: 184.2 kB / 3.228 GB, free: 21.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/6.026, allocations: 425.7 kB / 3.229 GB, free: 21.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/6.026, allocations: 101 kB / 3.229 GB, free: 21.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/6.026, allocations: 112.9 kB / 3.229 GB, free: 21.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.22e-05/6.026, allocations: 176.3 kB / 3.229 GB, free: 21.12 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/6.026, allocations: 176.3 kB / 3.229 GB, free: 20.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.949e-05/6.026, allocations: 184.2 kB / 3.229 GB, free: 20.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.443e-05/6.026, allocations: 180.2 kB / 3.23 GB, free: 20.57 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/6.026, allocations: 320.6 kB / 3.23 GB, free: 20.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/6.026, allocations: 193.9 kB / 3.23 GB, free: 20.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/6.026, allocations: 180.3 kB / 3.23 GB, free: 19.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/6.026, allocations: 104.9 kB / 3.23 GB, free: 19.72 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/6.026, allocations: 176.3 kB / 3.231 GB, free: 19.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/6.026, allocations: 109 kB / 3.231 GB, free: 19.43 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.003e-05/6.026, allocations: 128.3 kB / 3.231 GB, free: 19.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.026, allocations: 0 / 3.231 GB, free: 19.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003742/6.027, allocations: 79.83 kB / 3.231 GB, free: 19.23 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.001252/6.028, allocations: 1.805 MB / 3.233 GB, free: 17.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.654e-05/6.028, allocations: 19.94 kB / 3.233 GB, free: 17.38 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/6.028, allocations: 0 / 3.233 GB, free: 17.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/6.028, allocations: 0 / 3.233 GB, free: 17.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/6.028, allocations: 0.5305 MB / 3.233 GB, free: 16.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/6.029, allocations: 270.6 kB / 3.233 GB, free: 16.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/6.029, allocations: 0.7236 MB / 3.234 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.667e-05/6.029, allocations: 8.438 kB / 3.234 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/6.029, allocations: 39.42 kB / 3.234 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/6.029, allocations: 0 / 3.234 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/6.059, allocations: 9.756 MB / 3.244 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/6.06, allocations: 142.9 kB / 3.244 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/8.014, allocations: 0 / 3.244 GB, free: 5.809 MB / 0.8698 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)