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: translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8255/0.8255, allocations: 143.4 MB / 158.3 MB, free: 5.75 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.001295/0.001295, allocations: 182 kB / 191.5 MB, free: 5.754 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.413/1.413, allocations: 223.2 MB / 447.7 MB, free: 6.52 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.0008453/0.0008453, allocations: 100.2 kB / 0.5188 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 281.4 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.000501, allocations: 12 kB / 0.6929 GB, free: 2.332 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3885, allocations: 82.78 MB / 0.7737 GB, free: 26.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.777/4.166, allocations: 1.678 GB / 2.452 GB, free: 79.61 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/4.166, allocations: 87.83 kB / 2.452 GB, free: 79.52 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.754/4.92, allocations: 159.7 MB / 2.608 GB, free: 200.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/4.92, allocations: 0 / 2.608 GB, free: 200.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.103e-05/4.92, allocations: 4 kB / 2.608 GB, free: 200.1 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.0004226/4.921, allocations: 431.2 kB / 2.608 GB, free: 199.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/4.921, allocations: 8.031 kB / 2.608 GB, free: 199.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/4.921, allocations: 15.81 kB / 2.608 GB, free: 199.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/4.921, allocations: 250.7 kB / 2.608 GB, free: 199.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/4.921, allocations: 6.641 kB / 2.608 GB, free: 199.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/4.921, allocations: 12 kB / 2.608 GB, free: 199.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/4.921, allocations: 179.8 kB / 2.609 GB, free: 199.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/4.921, allocations: 0 / 2.609 GB, free: 199.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/4.921, allocations: 8 kB / 2.609 GB, free: 199.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/4.921, allocations: 4 kB / 2.609 GB, free: 199.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/4.922, allocations: 71.83 kB / 2.609 GB, free: 199 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/4.922, allocations: 1.168 MB / 2.61 GB, free: 197.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/4.922, allocations: 169.1 kB / 2.61 GB, free: 197.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/4.922, allocations: 75.28 kB / 2.61 GB, free: 197.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/4.922, allocations: 117.8 kB / 2.61 GB, free: 197.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/4.922, allocations: 0 / 2.61 GB, free: 197.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.435e-05/4.922, allocations: 53.45 kB / 2.61 GB, free: 197.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/4.923, allocations: 178.1 kB / 2.61 GB, free: 197.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/4.923, allocations: 224.2 kB / 2.611 GB, free: 196.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/4.923, allocations: 25.7 kB / 2.611 GB, free: 196.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/4.923, allocations: 135.9 kB / 2.611 GB, free: 196.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/4.923, allocations: 7.984 kB / 2.611 GB, free: 196.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/4.923, allocations: 0 / 2.611 GB, free: 196.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.949e-05/4.923, allocations: 322.8 kB / 2.611 GB, free: 196.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/4.923, allocations: 8 kB / 2.611 GB, free: 196.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/4.923, allocations: 71.59 kB / 2.611 GB, free: 196.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/4.923, allocations: 23.98 kB / 2.611 GB, free: 196.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/4.923, allocations: 0 / 2.611 GB, free: 196.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001332/4.923, allocations: 85.38 kB / 2.611 GB, free: 196.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/4.923, allocations: 4.156 kB / 2.611 GB, free: 196.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/4.923, allocations: 4 kB / 2.611 GB, free: 196.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/4.923, allocations: 4 kB / 2.611 GB, free: 196.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/4.923, allocations: 19.88 kB / 2.611 GB, free: 196.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/4.923, allocations: 0 / 2.611 GB, free: 196.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/4.923, allocations: 15.75 kB / 2.611 GB, free: 196.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/4.923, allocations: 4 kB / 2.611 GB, free: 196.1 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 9.171e-05/4.923, allocations: 209.6 kB / 2.612 GB, free: 195.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/4.923, allocations: 116.8 kB / 2.612 GB, free: 195.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/4.924, allocations: 121.8 kB / 2.612 GB, free: 195.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/4.924, allocations: 184.3 kB / 2.612 GB, free: 195.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/4.924, allocations: 188.2 kB / 2.612 GB, free: 195.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/4.924, allocations: 180.2 kB / 2.612 GB, free: 195.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/4.924, allocations: 449.2 kB / 2.613 GB, free: 194.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/4.924, allocations: 105 kB / 2.613 GB, free: 194.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/4.924, allocations: 108.9 kB / 2.613 GB, free: 194.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.93e-05/4.924, allocations: 176.3 kB / 2.613 GB, free: 194.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/4.924, allocations: 184.2 kB / 2.613 GB, free: 194 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.133e-05/4.924, allocations: 180.3 kB / 2.613 GB, free: 193.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.1e-05/4.924, allocations: 188.2 kB / 2.614 GB, free: 193.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.907e-05/4.924, allocations: 315.6 kB / 2.614 GB, free: 193.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.073e-05/4.924, allocations: 201.8 kB / 2.614 GB, free: 193.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/4.924, allocations: 180.3 kB / 2.614 GB, free: 192.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/4.924, allocations: 105 kB / 2.614 GB, free: 192.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/4.924, allocations: 192.2 kB / 2.615 GB, free: 192.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/4.924, allocations: 101 kB / 2.615 GB, free: 192.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001201/4.924, allocations: 180.5 kB / 2.615 GB, free: 192.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/4.925, allocations: 0 / 2.615 GB, free: 192.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004906/4.925, allocations: 99.94 kB / 2.615 GB, free: 192.2 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.000989/4.926, allocations: 1.018 MB / 2.616 GB, free: 191.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.87e-05/4.926, allocations: 19.94 kB / 2.616 GB, free: 191.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/4.926, allocations: 0 / 2.616 GB, free: 191.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/4.926, allocations: 7.938 kB / 2.616 GB, free: 191.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/4.927, allocations: 0.5779 MB / 2.616 GB, free: 190.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/4.927, allocations: 351.4 kB / 2.617 GB, free: 190.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/4.927, allocations: 0.7282 MB / 2.618 GB, free: 189.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.514e-05/4.927, allocations: 25.52 kB / 2.618 GB, free: 189.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/4.927, allocations: 15.44 kB / 2.618 GB, free: 189.4 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/4.927, allocations: 4 kB / 2.618 GB, free: 189.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01641/4.944, allocations: 14.19 MB / 2.631 GB, free: 175.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)