Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8877/0.8877, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001502, allocations: 185 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.739/1.739, allocations: 223.2 MB / 447.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 92.27 kB / 0.5187 GB, free: 2.855 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002272/0.002272, allocations: 270.8 kB / 0.6005 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.000478, allocations: 12 kB / 0.6929 GB, free: 2.195 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5487, allocations: 82.77 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.268/4.817, allocations: 1.678 GB / 2.452 GB, free: 79.08 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/4.817, allocations: 83.89 kB / 2.452 GB, free: 79 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.685/5.502, allocations: 159.7 MB / 2.608 GB, free: 199.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/5.502, allocations: 0 / 2.608 GB, free: 199.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.982e-05/5.502, allocations: 4 kB / 2.608 GB, free: 199.6 MB / 0.698 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.0004091/5.503, allocations: 431.2 kB / 2.608 GB, free: 199.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/5.503, allocations: 8.031 kB / 2.608 GB, free: 199.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/5.503, allocations: 42.55 kB / 2.608 GB, free: 199 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/5.503, allocations: 19.81 kB / 2.608 GB, free: 199 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/5.503, allocations: 253.7 kB / 2.609 GB, free: 198.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/5.503, allocations: 12.23 kB / 2.609 GB, free: 198.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/5.503, allocations: 12 kB / 2.609 GB, free: 198.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/5.503, allocations: 182.8 kB / 2.609 GB, free: 198.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/5.504, allocations: 0 / 2.609 GB, free: 198.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/5.504, allocations: 4 kB / 2.609 GB, free: 198.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/5.504, allocations: 4 kB / 2.609 GB, free: 198.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/5.504, allocations: 71.8 kB / 2.609 GB, free: 198.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/5.504, allocations: 1.164 MB / 2.61 GB, free: 197.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/5.504, allocations: 173.1 kB / 2.61 GB, free: 197 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/5.504, allocations: 79.28 kB / 2.61 GB, free: 196.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/5.504, allocations: 113.8 kB / 2.61 GB, free: 196.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/5.504, allocations: 0 / 2.61 GB, free: 196.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.064e-05/5.505, allocations: 45.47 kB / 2.61 GB, free: 196.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/5.505, allocations: 186 kB / 2.611 GB, free: 196.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/5.505, allocations: 220.2 kB / 2.611 GB, free: 196.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/5.505, allocations: 25.7 kB / 2.611 GB, free: 196.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/5.505, allocations: 139.9 kB / 2.611 GB, free: 196.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/5.505, allocations: 0 / 2.611 GB, free: 196.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/5.505, allocations: 0 / 2.611 GB, free: 196.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/5.505, allocations: 326.8 kB / 2.611 GB, free: 195.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/5.505, allocations: 11.98 kB / 2.611 GB, free: 195.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/5.505, allocations: 67.72 kB / 2.611 GB, free: 195.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/5.505, allocations: 19.94 kB / 2.611 GB, free: 195.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/5.505, allocations: 3.938 kB / 2.611 GB, free: 195.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001251/5.505, allocations: 81.55 kB / 2.611 GB, free: 195.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/5.505, allocations: 12.03 kB / 2.611 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/5.505, allocations: 0 / 2.611 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/5.505, allocations: 3.953 kB / 2.611 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/5.505, allocations: 11.94 kB / 2.611 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/5.505, allocations: 7.984 kB / 2.611 GB, free: 195.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/5.505, allocations: 15.75 kB / 2.611 GB, free: 195.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/5.505, allocations: 4 kB / 2.611 GB, free: 195.5 MB / 0.698 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 8.786e-05/5.505, allocations: 201.6 kB / 2.612 GB, free: 195.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/5.506, allocations: 132.8 kB / 2.612 GB, free: 195.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/5.506, allocations: 121.8 kB / 2.612 GB, free: 195.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/5.506, allocations: 176.3 kB / 2.612 GB, free: 194.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-05/5.506, allocations: 184.2 kB / 2.612 GB, free: 194.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/5.506, allocations: 184.2 kB / 2.612 GB, free: 194.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/5.506, allocations: 453.1 kB / 2.613 GB, free: 194 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/5.506, allocations: 101 kB / 2.613 GB, free: 193.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/5.506, allocations: 105.1 kB / 2.613 GB, free: 193.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.69e-05/5.506, allocations: 180.2 kB / 2.613 GB, free: 193.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/5.506, allocations: 192.2 kB / 2.613 GB, free: 193.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.488e-05/5.506, allocations: 180.2 kB / 2.614 GB, free: 193.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.027e-05/5.506, allocations: 184.3 kB / 2.614 GB, free: 193 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.944e-05/5.506, allocations: 327.5 kB / 2.614 GB, free: 192.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/5.506, allocations: 189.9 kB / 2.614 GB, free: 192.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/5.506, allocations: 184.2 kB / 2.614 GB, free: 192.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/5.506, allocations: 109 kB / 2.614 GB, free: 192.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/5.506, allocations: 180.3 kB / 2.615 GB, free: 192 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/5.506, allocations: 104.9 kB / 2.615 GB, free: 191.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001225/5.506, allocations: 188.4 kB / 2.615 GB, free: 191.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.506, allocations: 0 / 2.615 GB, free: 191.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004905/5.507, allocations: 95.98 kB / 2.615 GB, free: 191.6 MB / 0.698 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.001088/5.508, allocations: 1.656 MB / 2.617 GB, free: 190 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.337e-05/5.508, allocations: 23.92 kB / 2.617 GB, free: 189.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/5.508, allocations: 4.312 kB / 2.617 GB, free: 189.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-06/5.508, allocations: 3.938 kB / 2.617 GB, free: 189.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/5.509, allocations: 0.5735 MB / 2.617 GB, free: 189.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/5.51, allocations: 1.555 MB / 2.619 GB, free: 187.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/5.51, allocations: 0.7282 MB / 2.619 GB, free: 187 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.396e-05/5.51, allocations: 21.53 kB / 2.619 GB, free: 186.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/5.51, allocations: 43.42 kB / 2.62 GB, free: 186.9 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/5.51, allocations: 0 / 2.62 GB, free: 186.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/5.545, allocations: 19.28 MB / 2.638 GB, free: 167.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/5.545, allocations: 185.8 kB / 2.639 GB, free: 167.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/7.751, allocations: 3.938 kB / 2.639 GB, free: 167.5 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)