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.8743/0.8743, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.00121/0.00121, allocations: 176.8 kB / 182.2 MB, free: 9.449 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.492/1.492, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0008398/0.0008399, allocations: 80.17 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 278.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.76e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4683, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.328/4.797, allocations: 1.677 GB / 2.435 GB, free: 110.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/4.797, allocations: 82.64 kB / 2.435 GB, free: 110.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.7087/5.506, allocations: 157.5 MB / 2.588 GB, free: 233 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.845e-06/5.506, allocations: 3.281 kB / 2.588 GB, free: 233 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.079e-05/5.506, allocations: 7.906 kB / 2.588 GB, free: 233 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.000516/5.506, allocations: 395 kB / 2.589 GB, free: 232.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.855e-05/5.506, allocations: 7.312 kB / 2.589 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/5.506, allocations: 18.88 kB / 2.589 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/5.507, allocations: 251.8 kB / 2.589 GB, free: 232.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/5.507, allocations: 6 kB / 2.589 GB, free: 232.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/5.507, allocations: 13.81 kB / 2.589 GB, free: 232.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000142/5.507, allocations: 46.52 kB / 2.589 GB, free: 232.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/5.507, allocations: 158.8 kB / 2.589 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/5.507, allocations: 4 kB / 2.589 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/5.507, allocations: 3.875 kB / 2.589 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/5.507, allocations: 0 / 2.589 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/5.508, allocations: 1.107 MB / 2.59 GB, free: 231.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/5.508, allocations: 173 kB / 2.591 GB, free: 230.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/5.508, allocations: 80.14 kB / 2.591 GB, free: 230.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/5.508, allocations: 75.28 kB / 2.591 GB, free: 230.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/5.508, allocations: 117.7 kB / 2.591 GB, free: 230.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/5.508, allocations: 0 / 2.591 GB, free: 230.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.43e-05/5.508, allocations: 45.3 kB / 2.591 GB, free: 230.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/5.509, allocations: 102.8 kB / 2.591 GB, free: 230.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/5.509, allocations: 155.1 kB / 2.591 GB, free: 230.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/5.509, allocations: 25.7 kB / 2.591 GB, free: 230.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/5.509, allocations: 142.5 kB / 2.591 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/5.509, allocations: 2.188 kB / 2.591 GB, free: 230.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/5.509, allocations: 0 / 2.591 GB, free: 230.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/5.509, allocations: 326.7 kB / 2.592 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/5.509, allocations: 3.219 kB / 2.592 GB, free: 229.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/5.509, allocations: 74.94 kB / 2.592 GB, free: 229.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/5.509, allocations: 23.73 kB / 2.592 GB, free: 229.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/5.509, allocations: 0 / 2.592 GB, free: 229.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001323/5.509, allocations: 68.41 kB / 2.592 GB, free: 229.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/5.509, allocations: 3.906 kB / 2.592 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/5.509, allocations: 0 / 2.592 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/5.509, allocations: 3.906 kB / 2.592 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/5.509, allocations: 7.75 kB / 2.592 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/5.509, allocations: 0 / 2.592 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/5.509, allocations: 23.38 kB / 2.592 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/5.509, allocations: 3.438 kB / 2.592 GB, free: 229.7 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 8.22e-05/5.509, allocations: 180.2 kB / 2.592 GB, free: 229.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/5.51, allocations: 112.2 kB / 2.592 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/5.51, allocations: 114.1 kB / 2.592 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.173e-05/5.51, allocations: 184.2 kB / 2.592 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.125e-05/5.51, allocations: 180.3 kB / 2.593 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.691e-05/5.51, allocations: 180.6 kB / 2.593 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/5.51, allocations: 428.9 kB / 2.593 GB, free: 228.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/5.51, allocations: 105.1 kB / 2.593 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/5.51, allocations: 105 kB / 2.593 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.358e-05/5.51, allocations: 184.1 kB / 2.593 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/5.51, allocations: 184 kB / 2.594 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-05/5.51, allocations: 176.3 kB / 2.594 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.733e-05/5.51, allocations: 182 kB / 2.594 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.68e-05/5.51, allocations: 315 kB / 2.594 GB, free: 227 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/5.51, allocations: 197.8 kB / 2.595 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/5.51, allocations: 180.2 kB / 2.595 GB, free: 226.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/5.51, allocations: 104.4 kB / 2.595 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/5.511, allocations: 184.2 kB / 2.595 GB, free: 226.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/5.511, allocations: 101 kB / 2.595 GB, free: 226.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.464e-05/5.511, allocations: 122 kB / 2.595 GB, free: 226.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.511, allocations: 0 / 2.595 GB, free: 226.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004023/5.511, allocations: 77.66 kB / 2.595 GB, free: 226.1 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.001312/5.512, allocations: 1.166 MB / 2.596 GB, free: 225.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.971e-05/5.512, allocations: 17.78 kB / 2.596 GB, free: 225.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/5.512, allocations: 0 / 2.596 GB, free: 225.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/5.512, allocations: 3.312 kB / 2.596 GB, free: 225.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/5.513, allocations: 0.537 MB / 2.597 GB, free: 225 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/5.513, allocations: 217.3 kB / 2.597 GB, free: 224.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/5.513, allocations: 0.7225 MB / 2.598 GB, free: 224.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.161e-05/5.513, allocations: 8.172 kB / 2.598 GB, free: 224.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/5.513, allocations: 11.25 kB / 2.598 GB, free: 224.1 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/5.513, allocations: 0 / 2.598 GB, free: 224.1 MB / 0.698 GB Notification: Performance of Templates: time 0.01008/5.523, allocations: 6.625 MB / 2.604 GB, free: 218.5 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)