Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 174.6 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 89.22 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.667e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.68/5.899, allocations: 2.18 GB / 3.072 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/5.899, allocations: 87.89 kB / 3.072 GB, free: 189.5 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.2895/6.189, allocations: 163.6 MB / 3.232 GB, free: 22.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.914e-06/6.189, allocations: 0 / 3.232 GB, free: 22.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.162e-05/6.189, allocations: 4 kB / 3.232 GB, free: 22.06 MB / 0.8698 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.0003434/6.189, allocations: 402.5 kB / 3.233 GB, free: 21.62 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/6.189, allocations: 12.03 kB / 3.233 GB, free: 21.61 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/6.189, allocations: 42.55 kB / 3.233 GB, free: 21.55 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/6.189, allocations: 19.81 kB / 3.233 GB, free: 21.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/6.19, allocations: 264.5 kB / 3.233 GB, free: 21.24 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/6.19, allocations: 8.234 kB / 3.233 GB, free: 21.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/6.19, allocations: 12 kB / 3.233 GB, free: 21.22 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/6.19, allocations: 181.4 kB / 3.233 GB, free: 21.01 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/6.19, allocations: 3.938 kB / 3.233 GB, free: 21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/6.19, allocations: 8 kB / 3.233 GB, free: 21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/6.19, allocations: 4 kB / 3.233 GB, free: 20.99 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/6.19, allocations: 59.92 kB / 3.233 GB, free: 20.93 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/6.191, allocations: 1.168 MB / 3.234 GB, free: 19.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.681e-05/6.191, allocations: 165.1 kB / 3.234 GB, free: 19.52 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/6.191, allocations: 80.14 kB / 3.234 GB, free: 19.43 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/6.191, allocations: 75.28 kB / 3.235 GB, free: 19.36 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/6.191, allocations: 121.8 kB / 3.235 GB, free: 19.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/6.191, allocations: 0 / 3.235 GB, free: 19.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.576e-05/6.191, allocations: 45.45 kB / 3.235 GB, free: 19.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/6.191, allocations: 182 kB / 3.235 GB, free: 18.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/6.191, allocations: 217.1 kB / 3.235 GB, free: 18.76 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/6.191, allocations: 25.7 kB / 3.235 GB, free: 18.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/6.191, allocations: 139.9 kB / 3.235 GB, free: 18.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/6.191, allocations: 0 / 3.235 GB, free: 18.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/6.191, allocations: 4 kB / 3.235 GB, free: 18.58 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.018e-05/6.192, allocations: 326.8 kB / 3.236 GB, free: 18.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/6.192, allocations: 4 kB / 3.236 GB, free: 18.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/6.192, allocations: 71.66 kB / 3.236 GB, free: 18.15 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/6.192, allocations: 19.98 kB / 3.236 GB, free: 18.13 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/6.192, allocations: 4 kB / 3.236 GB, free: 18.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001299/6.192, allocations: 81.38 kB / 3.236 GB, free: 18.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/6.192, allocations: 8.156 kB / 3.236 GB, free: 18.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/6.192, allocations: 4 kB / 3.236 GB, free: 18.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/6.192, allocations: 3.938 kB / 3.236 GB, free: 18.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/6.192, allocations: 11.98 kB / 3.236 GB, free: 18.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/6.192, allocations: 4 kB / 3.236 GB, free: 18.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/6.192, allocations: 19.7 kB / 3.236 GB, free: 17.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/6.192, allocations: 4 kB / 3.236 GB, free: 17.99 MB / 0.8698 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 6.236e-05/6.192, allocations: 180.2 kB / 3.236 GB, free: 17.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/6.192, allocations: 120.8 kB / 3.236 GB, free: 17.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/6.192, allocations: 121.8 kB / 3.236 GB, free: 17.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/6.192, allocations: 184.2 kB / 3.236 GB, free: 17.37 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.187e-05/6.192, allocations: 180.3 kB / 3.237 GB, free: 17.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/6.192, allocations: 184.2 kB / 3.237 GB, free: 17 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/6.192, allocations: 453.1 kB / 3.237 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/6.192, allocations: 105 kB / 3.237 GB, free: 16.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/6.193, allocations: 109 kB / 3.237 GB, free: 16.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-05/6.193, allocations: 184.3 kB / 3.238 GB, free: 16.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/6.193, allocations: 188.1 kB / 3.238 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.214e-05/6.193, allocations: 176.3 kB / 3.238 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.118e-05/6.193, allocations: 176.3 kB / 3.238 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.556e-05/6.193, allocations: 332.5 kB / 3.238 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/6.193, allocations: 193.8 kB / 3.239 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/6.193, allocations: 184.2 kB / 3.239 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/6.193, allocations: 105 kB / 3.239 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/6.193, allocations: 184.2 kB / 3.239 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/6.193, allocations: 101 kB / 3.239 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001313/6.193, allocations: 185.4 kB / 3.239 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.193, allocations: 0 / 3.239 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004811/6.194, allocations: 91.98 kB / 3.239 GB, free: 14.11 MB / 0.8698 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.001128/6.195, allocations: 1.67 MB / 3.241 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.464e-05/6.195, allocations: 23.92 kB / 3.241 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/6.195, allocations: 0 / 3.241 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/6.195, allocations: 0 / 3.241 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/6.195, allocations: 0.5816 MB / 3.242 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/6.196, allocations: 283.8 kB / 3.242 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/6.196, allocations: 0.7205 MB / 3.243 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.056e-05/6.196, allocations: 25.53 kB / 3.243 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/6.196, allocations: 39.42 kB / 3.243 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of SimCode: time 3.1e-07/6.196, allocations: 0 / 3.243 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.558/6.754, allocations: 22.01 MB / 3.264 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/6.754, allocations: 159.9 kB / 3.264 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/9.258, allocations: 2.656 kB / 3.264 GB, free: 260.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)