Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7944/0.7944, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 183.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 404.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 94.45 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.875e-05/4.9e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1741, allocations: 76.76 MB / 0.6282 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.712/5.887, allocations: 2.138 GB / 2.766 GB, free: 191.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/5.887, allocations: 86.67 kB / 2.766 GB, free: 191.4 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:61:5-61:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:61:5-61:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Performance of FrontEnd - DAE generated: time 0.2837/6.171, allocations: 166.7 MB / 2.929 GB, free: 20.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.254e-06/6.171, allocations: 0 / 2.929 GB, free: 20.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.97e-05/6.171, allocations: 7.938 kB / 2.929 GB, free: 20.93 MB / 0.6511 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.0003351/6.171, allocations: 411.3 kB / 2.929 GB, free: 20.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/6.171, allocations: 8.031 kB / 2.929 GB, free: 20.47 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/6.171, allocations: 42.55 kB / 2.929 GB, free: 20.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/6.171, allocations: 19.77 kB / 2.929 GB, free: 20.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/6.171, allocations: 246.7 kB / 2.929 GB, free: 20.12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/6.171, allocations: 12.23 kB / 2.929 GB, free: 20.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/6.171, allocations: 12 kB / 2.929 GB, free: 20.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/6.172, allocations: 179.8 kB / 2.93 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/6.172, allocations: 0 / 2.93 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/6.172, allocations: 3.984 kB / 2.93 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/6.172, allocations: 4 kB / 2.93 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.724e-05/6.172, allocations: 75.81 kB / 2.93 GB, free: 19.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/6.172, allocations: 1.16 MB / 2.931 GB, free: 18.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.909e-05/6.173, allocations: 177.1 kB / 2.931 GB, free: 18.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/6.173, allocations: 80.14 kB / 2.931 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/6.173, allocations: 75.28 kB / 2.931 GB, free: 18.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/6.173, allocations: 113.8 kB / 2.931 GB, free: 18.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/6.173, allocations: 0 / 2.931 GB, free: 18.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.41e-05/6.173, allocations: 41.52 kB / 2.931 GB, free: 18.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/6.173, allocations: 190.1 kB / 2.931 GB, free: 17.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/6.173, allocations: 221 kB / 2.932 GB, free: 17.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/6.173, allocations: 25.7 kB / 2.932 GB, free: 17.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/6.173, allocations: 135.9 kB / 2.932 GB, free: 17.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/6.173, allocations: 0 / 2.932 GB, free: 17.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/6.173, allocations: 4 kB / 2.932 GB, free: 17.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.105e-05/6.173, allocations: 326.8 kB / 2.932 GB, free: 17.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/6.173, allocations: 4 kB / 2.932 GB, free: 17.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/6.173, allocations: 71.72 kB / 2.932 GB, free: 17.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/6.173, allocations: 19.94 kB / 2.932 GB, free: 17 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/6.173, allocations: 3.984 kB / 2.932 GB, free: 17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001217/6.173, allocations: 77.44 kB / 2.932 GB, free: 16.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/6.173, allocations: 4 kB / 2.932 GB, free: 16.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/6.173, allocations: 0 / 2.932 GB, free: 16.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/6.173, allocations: 7.953 kB / 2.932 GB, free: 16.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/6.173, allocations: 15.88 kB / 2.932 GB, free: 16.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/6.173, allocations: 3.938 kB / 2.932 GB, free: 16.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/6.174, allocations: 27.89 kB / 2.932 GB, free: 16.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/6.174, allocations: 4 kB / 2.932 GB, free: 16.85 MB / 0.6511 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 5.52e-05/6.174, allocations: 180.3 kB / 2.932 GB, free: 16.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/6.174, allocations: 116.8 kB / 2.933 GB, free: 16.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/6.174, allocations: 125.8 kB / 2.933 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/6.174, allocations: 180.2 kB / 2.933 GB, free: 16.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.948e-05/6.174, allocations: 188.4 kB / 2.933 GB, free: 16.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/6.174, allocations: 180.3 kB / 2.933 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/6.174, allocations: 453.2 kB / 2.934 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/6.174, allocations: 108.9 kB / 2.934 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/6.174, allocations: 101 kB / 2.934 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-05/6.174, allocations: 180.2 kB / 2.934 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/6.174, allocations: 184.2 kB / 2.934 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.717e-05/6.174, allocations: 184.3 kB / 2.934 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.641e-05/6.174, allocations: 184.2 kB / 2.935 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.035e-05/6.174, allocations: 320.5 kB / 2.935 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/6.174, allocations: 197.9 kB / 2.935 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/6.174, allocations: 180.2 kB / 2.935 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/6.174, allocations: 105 kB / 2.935 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/6.174, allocations: 184.3 kB / 2.936 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/6.175, allocations: 108.9 kB / 2.936 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001181/6.175, allocations: 177.4 kB / 2.936 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/6.175, allocations: 0 / 2.936 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004647/6.175, allocations: 99.97 kB / 2.936 GB, free: 12.98 MB / 0.6511 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.001092/6.176, allocations: 1.678 MB / 2.938 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.919e-05/6.176, allocations: 19.94 kB / 2.938 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/6.176, allocations: 0 / 2.938 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/6.176, allocations: 0 / 2.938 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/6.177, allocations: 0.5855 MB / 2.938 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/6.177, allocations: 283.8 kB / 2.938 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/6.177, allocations: 0.7205 MB / 2.939 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.159e-05/6.177, allocations: 21.53 kB / 2.939 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/6.178, allocations: 39.44 kB / 2.939 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/6.178, allocations: 4 kB / 2.939 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.41/6.588, allocations: 22.22 MB / 2.961 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/6.588, allocations: 150 kB / 2.961 GB, free: 184.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/8.956, allocations: 6 kB / 2.961 GB, free: 184.3 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)