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.8347/0.8347, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001049/0.00105, allocations: 176.8 kB / 182.2 MB, free: 9.445 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.504/1.504, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009334/0.0009334, allocations: 91.81 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 285.1 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.389e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5317, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.492/5.024, allocations: 1.677 GB / 2.435 GB, free: 109.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/5.024, allocations: 75.06 kB / 2.435 GB, free: 109.8 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.7312/5.755, allocations: 157.5 MB / 2.589 GB, free: 232.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/5.755, allocations: 0 / 2.589 GB, free: 232.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.38e-05/5.755, allocations: 3.938 kB / 2.589 GB, free: 232.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.0004302/5.756, allocations: 394.9 kB / 2.589 GB, free: 232.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/5.756, allocations: 7.844 kB / 2.589 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/5.756, allocations: 17.78 kB / 2.589 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/5.756, allocations: 254.1 kB / 2.589 GB, free: 231.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/5.756, allocations: 10.25 kB / 2.589 GB, free: 231.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/5.756, allocations: 7.219 kB / 2.589 GB, free: 231.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/5.757, allocations: 49.77 kB / 2.589 GB, free: 231.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/5.757, allocations: 165.2 kB / 2.589 GB, free: 231.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/5.757, allocations: 0 / 2.589 GB, free: 231.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/5.757, allocations: 0 / 2.589 GB, free: 231.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/5.757, allocations: 3.906 kB / 2.589 GB, free: 231.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007678/5.758, allocations: 1.105 MB / 2.591 GB, free: 230.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/5.758, allocations: 173.1 kB / 2.591 GB, free: 230.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/5.758, allocations: 80.14 kB / 2.591 GB, free: 230.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/5.758, allocations: 75.28 kB / 2.591 GB, free: 230.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/5.758, allocations: 113.6 kB / 2.591 GB, free: 230.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.475e-06/5.758, allocations: 3.938 kB / 2.591 GB, free: 230.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.273e-05/5.758, allocations: 41.02 kB / 2.591 GB, free: 230.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/5.758, allocations: 102.8 kB / 2.591 GB, free: 230 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/5.758, allocations: 157 kB / 2.591 GB, free: 229.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/5.758, allocations: 25.7 kB / 2.591 GB, free: 229.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/5.758, allocations: 142.8 kB / 2.591 GB, free: 229.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/5.758, allocations: 0 / 2.591 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/5.758, allocations: 0 / 2.591 GB, free: 229.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/5.758, allocations: 330.5 kB / 2.592 GB, free: 229.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/5.758, allocations: 11.69 kB / 2.592 GB, free: 229.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.716e-05/5.758, allocations: 67.03 kB / 2.592 GB, free: 229.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/5.758, allocations: 18.11 kB / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/5.758, allocations: 0 / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001418/5.759, allocations: 74.06 kB / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/5.759, allocations: 3.969 kB / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/5.759, allocations: 3.938 kB / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/5.759, allocations: 3.812 kB / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/5.759, allocations: 7.562 kB / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/5.759, allocations: 160 / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/5.759, allocations: 18.08 kB / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/5.759, allocations: 7.969 kB / 2.592 GB, free: 229.3 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 () * 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 9.061e-05/5.759, allocations: 184.2 kB / 2.592 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.645e-05/5.759, allocations: 138.1 kB / 2.592 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/5.759, allocations: 116.2 kB / 2.592 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/5.759, allocations: 117.5 kB / 2.592 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/5.759, allocations: 180.3 kB / 2.593 GB, free: 228.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.936e-05/5.759, allocations: 176.3 kB / 2.593 GB, free: 228.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/5.759, allocations: 188.2 kB / 2.593 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/5.759, allocations: 424.3 kB / 2.593 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/5.759, allocations: 101 kB / 2.593 GB, free: 227.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/5.759, allocations: 108.9 kB / 2.594 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.694e-05/5.759, allocations: 180.3 kB / 2.594 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/5.76, allocations: 181.6 kB / 2.594 GB, free: 227.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.731e-05/5.76, allocations: 184.2 kB / 2.594 GB, free: 227 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.056e-05/5.76, allocations: 176.3 kB / 2.594 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/5.76, allocations: 323.3 kB / 2.595 GB, free: 226.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/5.76, allocations: 189.5 kB / 2.595 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/5.76, allocations: 180.2 kB / 2.595 GB, free: 226.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/5.76, allocations: 104.8 kB / 2.595 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/5.76, allocations: 176.3 kB / 2.595 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/5.76, allocations: 104.9 kB / 2.595 GB, free: 225.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001084/5.76, allocations: 130.1 kB / 2.595 GB, free: 225.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.76, allocations: 0 / 2.595 GB, free: 225.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004179/5.761, allocations: 77.47 kB / 2.595 GB, free: 225.5 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 () * 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.001553/5.762, allocations: 1.801 MB / 2.597 GB, free: 224.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/5.762, allocations: 22.83 kB / 2.597 GB, free: 224.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/5.762, allocations: 3.938 kB / 2.597 GB, free: 224.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/5.762, allocations: 7.75 kB / 2.597 GB, free: 224.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/5.763, allocations: 0.5266 MB / 2.598 GB, free: 223.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/5.763, allocations: 282.6 kB / 2.598 GB, free: 223.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/5.763, allocations: 0.7228 MB / 2.599 GB, free: 222.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.791e-05/5.763, allocations: 8.094 kB / 2.599 GB, free: 222.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/5.763, allocations: 43.23 kB / 2.599 GB, free: 222.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/5.763, allocations: 0 / 2.599 GB, free: 222.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/5.792, allocations: 9.774 MB / 2.608 GB, free: 213.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/5.793, allocations: 141.2 kB / 2.608 GB, free: 213.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/7.941, allocations: 0 / 2.608 GB, free: 213.3 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)