Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 405.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 188.9 kB / 498.1 MB, free: 5.766 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.736/1.736, allocations: 223.2 MB / 0.7948 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 98.84 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004806, allocations: 9.312 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.374, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.802/5.176, allocations: 1.718 GB / 2.941 GB, free: 227.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/5.177, allocations: 81.7 kB / 2.941 GB, free: 227.8 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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.2754/5.452, allocations: 159.7 MB / 3.097 GB, free: 83.42 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.094e-06/5.452, allocations: 0 / 3.097 GB, free: 83.42 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.878e-05/5.452, allocations: 15.98 kB / 3.097 GB, free: 83.4 MB / 1.167 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.0005131/5.453, allocations: 415.8 kB / 3.097 GB, free: 82.95 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/5.453, allocations: 12.03 kB / 3.097 GB, free: 82.93 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/5.453, allocations: 46.55 kB / 3.097 GB, free: 82.88 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/5.453, allocations: 19.77 kB / 3.097 GB, free: 82.86 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/5.453, allocations: 250.7 kB / 3.097 GB, free: 82.57 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/5.453, allocations: 8.234 kB / 3.097 GB, free: 82.57 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/5.453, allocations: 8 kB / 3.097 GB, free: 82.56 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/5.454, allocations: 178.6 kB / 3.097 GB, free: 82.35 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/5.454, allocations: 0 / 3.097 GB, free: 82.35 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/5.454, allocations: 8 kB / 3.097 GB, free: 82.34 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/5.454, allocations: 8 kB / 3.097 GB, free: 82.34 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/5.454, allocations: 75.83 kB / 3.098 GB, free: 82.26 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/5.455, allocations: 1.16 MB / 3.099 GB, free: 81.02 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/5.455, allocations: 177.1 kB / 3.099 GB, free: 80.84 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/5.455, allocations: 75.28 kB / 3.099 GB, free: 80.77 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/5.455, allocations: 113.8 kB / 3.099 GB, free: 80.64 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/5.455, allocations: 0 / 3.099 GB, free: 80.64 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 9.098e-05/5.455, allocations: 53.39 kB / 3.099 GB, free: 80.59 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/5.455, allocations: 178.1 kB / 3.099 GB, free: 80.39 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/5.455, allocations: 224.2 kB / 3.099 GB, free: 80.16 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/5.455, allocations: 25.7 kB / 3.1 GB, free: 80.13 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/5.455, allocations: 147.7 kB / 3.1 GB, free: 79.98 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/5.455, allocations: 3.938 kB / 3.1 GB, free: 79.98 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/5.455, allocations: 0 / 3.1 GB, free: 79.98 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/5.455, allocations: 326.8 kB / 3.1 GB, free: 79.65 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/5.455, allocations: 4 kB / 3.1 GB, free: 79.65 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/5.455, allocations: 71.72 kB / 3.1 GB, free: 79.55 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/5.455, allocations: 15.98 kB / 3.1 GB, free: 79.54 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/5.455, allocations: 3.938 kB / 3.1 GB, free: 79.53 MB / 1.167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001319/5.455, allocations: 85.44 kB / 3.1 GB, free: 79.44 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/5.455, allocations: 4 kB / 3.1 GB, free: 79.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/5.455, allocations: 0 / 3.1 GB, free: 79.44 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/5.455, allocations: 7.984 kB / 3.1 GB, free: 79.43 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/5.456, allocations: 11.94 kB / 3.1 GB, free: 79.42 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/5.456, allocations: 3.953 kB / 3.1 GB, free: 79.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/5.456, allocations: 11.84 kB / 3.1 GB, free: 79.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/5.456, allocations: 4 kB / 3.1 GB, free: 79.4 MB / 1.167 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.0001082/5.456, allocations: 209.3 kB / 3.1 GB, free: 79.18 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/5.456, allocations: 120.8 kB / 3.1 GB, free: 79.06 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/5.456, allocations: 125.6 kB / 3.101 GB, free: 78.93 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/5.456, allocations: 184.3 kB / 3.101 GB, free: 78.74 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/5.456, allocations: 180.2 kB / 3.101 GB, free: 78.55 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/5.456, allocations: 184.2 kB / 3.101 GB, free: 78.37 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/5.456, allocations: 449.2 kB / 3.102 GB, free: 77.87 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/5.456, allocations: 104.9 kB / 3.102 GB, free: 77.76 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/5.456, allocations: 105 kB / 3.102 GB, free: 77.65 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/5.456, allocations: 184.2 kB / 3.102 GB, free: 77.46 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/5.456, allocations: 180.3 kB / 3.102 GB, free: 77.28 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.662e-05/5.456, allocations: 184.2 kB / 3.102 GB, free: 77.09 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-05/5.456, allocations: 188.2 kB / 3.102 GB, free: 76.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.811e-05/5.456, allocations: 324.5 kB / 3.103 GB, free: 76.56 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/5.456, allocations: 189.9 kB / 3.103 GB, free: 76.35 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/5.457, allocations: 188.2 kB / 3.103 GB, free: 76.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/5.457, allocations: 108.9 kB / 3.103 GB, free: 76.05 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/5.457, allocations: 180.3 kB / 3.103 GB, free: 75.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/5.457, allocations: 104.9 kB / 3.104 GB, free: 75.75 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001311/5.457, allocations: 184.5 kB / 3.104 GB, free: 75.57 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.82e-07/5.457, allocations: 0 / 3.104 GB, free: 75.57 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004613/5.457, allocations: 99.86 kB / 3.104 GB, free: 75.47 MB / 1.167 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.001393/5.459, allocations: 1.662 MB / 3.105 GB, free: 73.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 8.966e-05/5.459, allocations: 23.92 kB / 3.105 GB, free: 73.78 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/5.459, allocations: 4 kB / 3.105 GB, free: 73.77 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/5.459, allocations: 0 / 3.105 GB, free: 73.77 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/5.459, allocations: 0.5784 MB / 3.106 GB, free: 73.19 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/5.46, allocations: 1.557 MB / 3.108 GB, free: 71.56 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/5.461, allocations: 0.7205 MB / 3.108 GB, free: 70.81 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 8.389e-05/5.461, allocations: 29.47 kB / 3.108 GB, free: 70.79 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/5.461, allocations: 43.42 kB / 3.108 GB, free: 70.74 MB / 1.167 GB Notification: Performance of SimCode: time 3.51e-07/5.461, allocations: 0 / 3.108 GB, free: 70.74 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/5.491, allocations: 19.25 MB / 3.127 GB, free: 51.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/5.491, allocations: 169.2 kB / 3.127 GB, free: 51.36 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/7.766, allocations: 3.938 kB / 3.127 GB, free: 51.36 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat does not exist to compare? outputFormat=mat