Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001023/0.001022, allocations: 169 kB / 492.3 MB, free: 0.6328 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.428/1.428, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009359/0.0009359, allocations: 97.98 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.097e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.262, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.408/4.67, allocations: 1.718 GB / 2.93 GB, free: 148.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/4.67, allocations: 76.48 kB / 2.93 GB, free: 148.8 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 1.163/5.833, allocations: 159.4 MB / 3.086 GB, free: 382.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.164e-06/5.833, allocations: 0 / 3.086 GB, free: 382.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.323e-05/5.833, allocations: 10.2 kB / 3.086 GB, free: 382.9 MB / 1.151 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.0005404/5.834, allocations: 397.9 kB / 3.086 GB, free: 382.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/5.834, allocations: 9.375 kB / 3.086 GB, free: 382.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.79e-05/5.834, allocations: 42.67 kB / 3.086 GB, free: 382.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/5.834, allocations: 17.56 kB / 3.086 GB, free: 382.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/5.835, allocations: 256.3 kB / 3.087 GB, free: 382.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/5.835, allocations: 9.672 kB / 3.087 GB, free: 382.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/5.835, allocations: 12.22 kB / 3.087 GB, free: 382.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/5.835, allocations: 178.2 kB / 3.087 GB, free: 382.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/5.835, allocations: 5.469 kB / 3.087 GB, free: 382.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/5.835, allocations: 7 kB / 3.087 GB, free: 382.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/5.835, allocations: 3.031 kB / 3.087 GB, free: 382.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/5.835, allocations: 67.56 kB / 3.087 GB, free: 382.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/5.836, allocations: 1.164 MB / 3.088 GB, free: 381.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.334e-05/5.836, allocations: 169.7 kB / 3.088 GB, free: 381 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/5.836, allocations: 83.98 kB / 3.088 GB, free: 380.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/5.836, allocations: 76.28 kB / 3.088 GB, free: 380.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/5.836, allocations: 112.7 kB / 3.088 GB, free: 380.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/5.836, allocations: 0 / 3.088 GB, free: 380.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0001161/5.836, allocations: 47 kB / 3.088 GB, free: 380.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/5.837, allocations: 179.8 kB / 3.089 GB, free: 380.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/5.837, allocations: 222.6 kB / 3.089 GB, free: 380.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/5.837, allocations: 26.86 kB / 3.089 GB, free: 380.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/5.837, allocations: 135.2 kB / 3.089 GB, free: 380.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-06/5.837, allocations: 7.109 kB / 3.089 GB, free: 380.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/5.837, allocations: 0.9375 kB / 3.089 GB, free: 380.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/5.837, allocations: 329 kB / 3.089 GB, free: 380 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/5.837, allocations: 11.95 kB / 3.089 GB, free: 380 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/5.837, allocations: 66.55 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/5.837, allocations: 19.3 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/5.837, allocations: 0 / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002014/5.838, allocations: 83.12 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/5.838, allocations: 10.03 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/5.838, allocations: 0.9688 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/5.838, allocations: 2.219 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/5.838, allocations: 9.031 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/5.838, allocations: 8.953 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/5.838, allocations: 24.38 kB / 3.089 GB, free: 379.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/5.838, allocations: 3.688 kB / 3.089 GB, free: 379.9 MB / 1.151 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.103e-05/5.838, allocations: 190.2 kB / 3.09 GB, free: 379.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/5.838, allocations: 118.2 kB / 3.09 GB, free: 379.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/5.838, allocations: 127 kB / 3.09 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/5.838, allocations: 180.6 kB / 3.09 GB, free: 379.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-05/5.838, allocations: 185 kB / 3.09 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-05/5.838, allocations: 182.5 kB / 3.09 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/5.838, allocations: 450.8 kB / 3.091 GB, free: 378.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/5.838, allocations: 106.5 kB / 3.091 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/5.839, allocations: 106 kB / 3.091 GB, free: 378.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.945e-05/5.839, allocations: 181.9 kB / 3.091 GB, free: 378.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/5.839, allocations: 180.7 kB / 3.091 GB, free: 377.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.914e-05/5.839, allocations: 181.8 kB / 3.092 GB, free: 377.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.653e-05/5.839, allocations: 177.4 kB / 3.092 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/5.839, allocations: 328.4 kB / 3.092 GB, free: 377.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/5.839, allocations: 196.3 kB / 3.092 GB, free: 377 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/5.839, allocations: 189.6 kB / 3.092 GB, free: 376.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/5.839, allocations: 102.7 kB / 3.093 GB, free: 376.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/5.839, allocations: 181.9 kB / 3.093 GB, free: 376.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/5.839, allocations: 102.8 kB / 3.093 GB, free: 376.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000215/5.839, allocations: 183.5 kB / 3.093 GB, free: 376.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/5.839, allocations: 0 / 3.093 GB, free: 376.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006314/5.84, allocations: 98.16 kB / 3.093 GB, free: 376.3 MB / 1.151 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.002015/5.842, allocations: 1.682 MB / 3.095 GB, free: 375.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001001/5.842, allocations: 19.22 kB / 3.095 GB, free: 375.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/5.842, allocations: 1.375 kB / 3.095 GB, free: 375.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/5.842, allocations: 0 / 3.095 GB, free: 375.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/5.843, allocations: 0.5705 MB / 3.095 GB, free: 374.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/5.843, allocations: 284.6 kB / 3.096 GB, free: 374.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/5.844, allocations: 0.7232 MB / 3.096 GB, free: 374 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001132/5.844, allocations: 23.47 kB / 3.096 GB, free: 374 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/5.844, allocations: 39.22 kB / 3.096 GB, free: 374 MB / 1.151 GB Notification: Performance of SimCode: time 7.01e-07/5.844, allocations: 1.031 kB / 3.096 GB, free: 374 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/5.904, allocations: 22.02 MB / 3.118 GB, free: 373.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/5.904, allocations: 147 kB / 3.118 GB, free: 372.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/8.265, allocations: 6.016 kB / 3.118 GB, free: 372.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat does not exist to compare? outputFormat=mat