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.6805/0.6805, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000946/0.000946, allocations: 182.1 kB / 187.3 MB, free: 11.89 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.215/1.215, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.000838/0.0008381, allocations: 90.53 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 275.9 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.168e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3222, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.959/3.281, allocations: 1.678 GB / 2.442 GB, free: 101.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/3.282, allocations: 79.89 kB / 2.442 GB, free: 101.4 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.5586/3.84, allocations: 159.5 MB / 2.598 GB, free: 221.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.203e-06/3.84, allocations: 0 / 2.598 GB, free: 221.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.658e-05/3.84, allocations: 4 kB / 2.598 GB, free: 221.8 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.0002765/3.841, allocations: 397.4 kB / 2.598 GB, free: 221.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/3.841, allocations: 16.03 kB / 2.598 GB, free: 221.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/3.841, allocations: 42.55 kB / 2.599 GB, free: 221.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/3.841, allocations: 15.81 kB / 2.599 GB, free: 221.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/3.841, allocations: 256.4 kB / 2.599 GB, free: 221 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/3.841, allocations: 8.234 kB / 2.599 GB, free: 221 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/3.841, allocations: 12 kB / 2.599 GB, free: 221 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/3.841, allocations: 175.8 kB / 2.599 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/3.841, allocations: 0 / 2.599 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/3.841, allocations: 4 kB / 2.599 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/3.841, allocations: 4 kB / 2.599 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.747e-05/3.841, allocations: 71.94 kB / 2.599 GB, free: 220.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/3.842, allocations: 1.166 MB / 2.6 GB, free: 219.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/3.842, allocations: 165.1 kB / 2.6 GB, free: 219.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/3.842, allocations: 84.14 kB / 2.6 GB, free: 219.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/3.842, allocations: 83.22 kB / 2.601 GB, free: 219.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/3.842, allocations: 117.8 kB / 2.601 GB, free: 219 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/3.842, allocations: 0 / 2.601 GB, free: 219 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.237e-05/3.842, allocations: 49.41 kB / 2.601 GB, free: 218.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/3.842, allocations: 178.1 kB / 2.601 GB, free: 218.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/3.842, allocations: 217.1 kB / 2.601 GB, free: 218.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/3.842, allocations: 25.7 kB / 2.601 GB, free: 218.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/3.842, allocations: 147.6 kB / 2.601 GB, free: 218.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/3.842, allocations: 0 / 2.601 GB, free: 218.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/3.842, allocations: 0 / 2.601 GB, free: 218.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.244e-05/3.842, allocations: 326.8 kB / 2.602 GB, free: 218 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/3.842, allocations: 4 kB / 2.602 GB, free: 218 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/3.843, allocations: 71.72 kB / 2.602 GB, free: 217.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/3.843, allocations: 19.92 kB / 2.602 GB, free: 217.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/3.843, allocations: 4 kB / 2.602 GB, free: 217.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001108/3.843, allocations: 81.44 kB / 2.602 GB, free: 217.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/3.843, allocations: 8 kB / 2.602 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/3.843, allocations: 48 / 2.602 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/3.843, allocations: 3.984 kB / 2.602 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/3.843, allocations: 15.98 kB / 2.602 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/3.843, allocations: 7.953 kB / 2.602 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/3.843, allocations: 10.86 kB / 2.602 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/3.843, allocations: 4 kB / 2.602 GB, free: 217.8 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 4.965e-05/3.843, allocations: 183.5 kB / 2.602 GB, free: 217.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/3.843, allocations: 120.7 kB / 2.602 GB, free: 217.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/3.843, allocations: 121.8 kB / 2.602 GB, free: 217.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/3.843, allocations: 184.2 kB / 2.602 GB, free: 217.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/3.843, allocations: 180.7 kB / 2.603 GB, free: 216.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/3.843, allocations: 188.2 kB / 2.603 GB, free: 216.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/3.843, allocations: 453.1 kB / 2.603 GB, free: 216.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/3.843, allocations: 101 kB / 2.603 GB, free: 216.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/3.843, allocations: 112.8 kB / 2.603 GB, free: 216 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/3.843, allocations: 180.3 kB / 2.603 GB, free: 215.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/3.843, allocations: 176.3 kB / 2.604 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-05/3.843, allocations: 185.9 kB / 2.604 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-05/3.843, allocations: 180.3 kB / 2.604 GB, free: 215.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.756e-05/3.843, allocations: 327.5 kB / 2.604 GB, free: 215 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/3.844, allocations: 189.9 kB / 2.605 GB, free: 214.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/3.844, allocations: 188.2 kB / 2.605 GB, free: 214.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/3.844, allocations: 105 kB / 2.605 GB, free: 214.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/3.844, allocations: 184.2 kB / 2.605 GB, free: 214.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/3.844, allocations: 104.9 kB / 2.605 GB, free: 214.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001108/3.844, allocations: 181.4 kB / 2.605 GB, free: 214 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/3.844, allocations: 0 / 2.605 GB, free: 214 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003958/3.844, allocations: 95.98 kB / 2.605 GB, free: 213.9 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.0008985/3.845, allocations: 1.675 MB / 2.607 GB, free: 212.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/3.845, allocations: 27.92 kB / 2.607 GB, free: 212.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/3.845, allocations: 0 / 2.607 GB, free: 212.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/3.845, allocations: 4 kB / 2.607 GB, free: 212.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/3.846, allocations: 0.5739 MB / 2.608 GB, free: 211.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/3.846, allocations: 281.6 kB / 2.608 GB, free: 211.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/3.846, allocations: 0.7244 MB / 2.609 GB, free: 210.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.432e-05/3.846, allocations: 25.52 kB / 2.609 GB, free: 210.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/3.846, allocations: 39.42 kB / 2.609 GB, free: 210.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/3.846, allocations: 4 kB / 2.609 GB, free: 210.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/3.874, allocations: 22.05 MB / 2.63 GB, free: 188.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001203/3.874, allocations: 156.4 kB / 2.63 GB, free: 188.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/6.093, allocations: 0 / 2.63 GB, free: 188.2 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)