Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.421/2.421, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 187.9 kB / 0.4901 GB, free: 2.219 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 223.1 MB / 0.7992 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 100.9 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 10.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3601, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.097/5.457, allocations: 1.718 GB / 2.948 GB, free: 229.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/5.457, allocations: 82.56 kB / 2.948 GB, free: 229.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.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/Buildings 10.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.2918/5.749, allocations: 159.7 MB / 3.104 GB, free: 83.99 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.138e-06/5.749, allocations: 0 / 3.104 GB, free: 83.99 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.74e-05/5.749, allocations: 4 kB / 3.104 GB, free: 83.99 MB / 1.167 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.0005786/5.75, allocations: 419 kB / 3.104 GB, free: 83.53 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.068e-05/5.75, allocations: 16.56 kB / 3.104 GB, free: 83.51 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/5.75, allocations: 46.55 kB / 3.104 GB, free: 83.46 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/5.75, allocations: 19.77 kB / 3.104 GB, free: 83.44 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/5.75, allocations: 254.6 kB / 3.104 GB, free: 83.15 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/5.75, allocations: 8.234 kB / 3.104 GB, free: 83.14 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/5.75, allocations: 12 kB / 3.104 GB, free: 83.13 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/5.751, allocations: 181.4 kB / 3.105 GB, free: 82.92 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/5.751, allocations: 0 / 3.105 GB, free: 82.92 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/5.751, allocations: 8 kB / 3.105 GB, free: 82.91 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/5.751, allocations: 4 kB / 3.105 GB, free: 82.91 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/5.751, allocations: 63.84 kB / 3.105 GB, free: 82.84 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/5.752, allocations: 1.164 MB / 3.106 GB, free: 81.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.534e-05/5.752, allocations: 173.3 kB / 3.106 GB, free: 81.42 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/5.752, allocations: 75.28 kB / 3.106 GB, free: 81.35 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/5.752, allocations: 121.8 kB / 3.106 GB, free: 81.22 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.953e-06/5.752, allocations: 3.984 kB / 3.106 GB, free: 81.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 8.678e-05/5.752, allocations: 45.47 kB / 3.106 GB, free: 81.16 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/5.752, allocations: 178.1 kB / 3.106 GB, free: 80.96 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/5.752, allocations: 228.1 kB / 3.107 GB, free: 80.73 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/5.752, allocations: 25.7 kB / 3.107 GB, free: 80.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/5.752, allocations: 131.9 kB / 3.107 GB, free: 80.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/5.752, allocations: 8 kB / 3.107 GB, free: 80.56 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/5.752, allocations: 0 / 3.107 GB, free: 80.56 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/5.753, allocations: 326.8 kB / 3.107 GB, free: 80.23 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/5.753, allocations: 11.98 kB / 3.107 GB, free: 80.22 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/5.753, allocations: 63.72 kB / 3.107 GB, free: 80.13 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/5.753, allocations: 19.94 kB / 3.107 GB, free: 80.11 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/5.753, allocations: 0 / 3.107 GB, free: 80.11 MB / 1.167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001848/5.753, allocations: 81.42 kB / 3.107 GB, free: 80.03 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/5.753, allocations: 8 kB / 3.107 GB, free: 80.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/5.753, allocations: 4.156 kB / 3.107 GB, free: 80.02 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/5.753, allocations: 4 kB / 3.107 GB, free: 80.01 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/5.753, allocations: 11.94 kB / 3.107 GB, free: 80 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/5.753, allocations: 3.953 kB / 3.107 GB, free: 80 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/5.753, allocations: 19.75 kB / 3.107 GB, free: 79.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/5.753, allocations: 4 kB / 3.107 GB, free: 79.97 MB / 1.167 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 0.0001251/5.753, allocations: 205.1 kB / 3.107 GB, free: 79.76 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/5.753, allocations: 116.8 kB / 3.108 GB, free: 79.64 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/5.753, allocations: 129.6 kB / 3.108 GB, free: 79.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.417e-05/5.753, allocations: 180.3 kB / 3.108 GB, free: 79.32 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.186e-05/5.753, allocations: 180.2 kB / 3.108 GB, free: 79.13 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.734e-05/5.754, allocations: 188.2 kB / 3.108 GB, free: 78.94 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/5.754, allocations: 449.3 kB / 3.109 GB, free: 78.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/5.754, allocations: 112.9 kB / 3.109 GB, free: 78.33 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/5.754, allocations: 105 kB / 3.109 GB, free: 78.22 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.994e-05/5.754, allocations: 184.2 kB / 3.109 GB, free: 78.03 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/5.754, allocations: 176.3 kB / 3.109 GB, free: 77.85 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.051e-05/5.754, allocations: 180.2 kB / 3.109 GB, free: 77.67 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-05/5.754, allocations: 180.3 kB / 3.11 GB, free: 77.48 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/5.754, allocations: 332.5 kB / 3.11 GB, free: 77.14 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/5.754, allocations: 197.8 kB / 3.11 GB, free: 76.92 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/5.754, allocations: 188.2 kB / 3.11 GB, free: 76.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/5.754, allocations: 101 kB / 3.11 GB, free: 76.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/5.754, allocations: 180.3 kB / 3.111 GB, free: 76.44 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/5.755, allocations: 108.9 kB / 3.111 GB, free: 76.32 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001356/5.755, allocations: 184.5 kB / 3.111 GB, free: 76.14 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.755, allocations: 0 / 3.111 GB, free: 76.14 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006063/5.755, allocations: 95.98 kB / 3.111 GB, free: 76.05 MB / 1.167 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.001568/5.757, allocations: 1.66 MB / 3.113 GB, free: 74.38 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001198/5.757, allocations: 27.92 kB / 3.113 GB, free: 74.36 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/5.757, allocations: 3.938 kB / 3.113 GB, free: 74.35 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/5.757, allocations: 0 / 3.113 GB, free: 74.35 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/5.758, allocations: 0.5799 MB / 3.113 GB, free: 73.77 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/5.759, allocations: 1.554 MB / 3.115 GB, free: 72.14 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/5.759, allocations: 0.7244 MB / 3.115 GB, free: 71.39 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 9.289e-05/5.759, allocations: 25.52 kB / 3.115 GB, free: 71.36 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/5.759, allocations: 39.42 kB / 3.115 GB, free: 71.32 MB / 1.167 GB Notification: Performance of SimCode: time 5.41e-07/5.759, allocations: 0 / 3.115 GB, free: 71.32 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/5.79, allocations: 19.26 MB / 3.134 GB, free: 52.19 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/5.79, allocations: 177 kB / 3.134 GB, free: 51.95 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/8.221, allocations: 0 / 3.134 GB, free: 51.95 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat does not exist to compare? outputFormat=mat