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.223/2.223, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001239/0.001239, allocations: 184.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.001013/0.001013, allocations: 91.95 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.384e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2856, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.502/4.788, allocations: 1.718 GB / 2.937 GB, free: 95.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/4.788, allocations: 77.45 kB / 2.937 GB, free: 95.66 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 1.213/6.001, allocations: 159.5 MB / 3.093 GB, free: 397.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.465e-06/6.001, allocations: 0 / 3.093 GB, free: 397.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.718e-05/6.001, allocations: 11.7 kB / 3.093 GB, free: 397.5 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.0004247/6.001, allocations: 394.3 kB / 3.093 GB, free: 397.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/6.001, allocations: 11.75 kB / 3.093 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/6.001, allocations: 46.25 kB / 3.093 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/6.002, allocations: 16.8 kB / 3.093 GB, free: 397 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/6.002, allocations: 254.8 kB / 3.094 GB, free: 396.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/6.002, allocations: 12.05 kB / 3.094 GB, free: 396.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/6.002, allocations: 11.69 kB / 3.094 GB, free: 396.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/6.002, allocations: 176.4 kB / 3.094 GB, free: 396.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/6.002, allocations: 3.781 kB / 3.094 GB, free: 396.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/6.002, allocations: 8.438 kB / 3.094 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/6.002, allocations: 7.859 kB / 3.094 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/6.002, allocations: 65.14 kB / 3.094 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/6.003, allocations: 1.169 MB / 3.095 GB, free: 395.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/6.003, allocations: 169.1 kB / 3.095 GB, free: 395.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/6.003, allocations: 88.09 kB / 3.095 GB, free: 395.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/6.003, allocations: 75.28 kB / 3.095 GB, free: 395.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/6.003, allocations: 109.5 kB / 3.096 GB, free: 395 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/6.003, allocations: 0 / 3.096 GB, free: 395 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 8.803e-05/6.004, allocations: 45.02 kB / 3.096 GB, free: 395 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/6.004, allocations: 182.1 kB / 3.096 GB, free: 394.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/6.004, allocations: 228.3 kB / 3.096 GB, free: 394.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/6.004, allocations: 25.7 kB / 3.096 GB, free: 394.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/6.004, allocations: 131.3 kB / 3.096 GB, free: 394.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/6.004, allocations: 0 / 3.096 GB, free: 394.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/6.004, allocations: 7.938 kB / 3.096 GB, free: 394.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/6.004, allocations: 322.7 kB / 3.096 GB, free: 394.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/6.004, allocations: 11.92 kB / 3.096 GB, free: 394.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/6.004, allocations: 63.2 kB / 3.096 GB, free: 394.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/6.004, allocations: 20.3 kB / 3.097 GB, free: 394.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/6.004, allocations: 0 / 3.097 GB, free: 394.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000149/6.005, allocations: 87.59 kB / 3.097 GB, free: 394 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/6.005, allocations: 15.75 kB / 3.097 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/6.005, allocations: 0 / 3.097 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/6.005, allocations: 0 / 3.097 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/6.005, allocations: 7.656 kB / 3.097 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/6.005, allocations: 3.938 kB / 3.097 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/6.005, allocations: 11.16 kB / 3.097 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/6.005, allocations: 3.5 kB / 3.097 GB, free: 394 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 () * 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.755e-05/6.005, allocations: 188.9 kB / 3.097 GB, free: 393.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/6.005, allocations: 123.4 kB / 3.097 GB, free: 393.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/6.005, allocations: 128.2 kB / 3.097 GB, free: 393.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.455e-05/6.005, allocations: 188.1 kB / 3.097 GB, free: 393.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.443e-05/6.005, allocations: 176.3 kB / 3.097 GB, free: 393.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.037e-05/6.005, allocations: 184.3 kB / 3.098 GB, free: 393 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/6.005, allocations: 453.8 kB / 3.098 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/6.005, allocations: 101 kB / 3.098 GB, free: 392.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/6.005, allocations: 104.9 kB / 3.098 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.955e-05/6.006, allocations: 183.5 kB / 3.098 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/6.006, allocations: 176.3 kB / 3.099 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.104e-05/6.006, allocations: 192.1 kB / 3.099 GB, free: 391.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.451e-05/6.006, allocations: 183.6 kB / 3.099 GB, free: 391.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/6.006, allocations: 319.7 kB / 3.099 GB, free: 391.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/6.006, allocations: 197.4 kB / 3.099 GB, free: 391 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/6.006, allocations: 184.2 kB / 3.1 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/6.006, allocations: 108.8 kB / 3.1 GB, free: 390.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/6.006, allocations: 184.3 kB / 3.1 GB, free: 390.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/6.006, allocations: 105 kB / 3.1 GB, free: 390.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001383/6.006, allocations: 184 kB / 3.1 GB, free: 390.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/6.006, allocations: 0 / 3.1 GB, free: 390.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006548/6.007, allocations: 96.58 kB / 3.1 GB, free: 390.2 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 () * 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.001626/6.009, allocations: 1.672 MB / 3.102 GB, free: 388.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001049/6.009, allocations: 21.03 kB / 3.102 GB, free: 388.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.009, allocations: 4.312 kB / 3.102 GB, free: 388.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/6.009, allocations: 3.938 kB / 3.102 GB, free: 388.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/6.009, allocations: 0.5724 MB / 3.102 GB, free: 388.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/6.01, allocations: 278.7 kB / 3.103 GB, free: 388.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/6.01, allocations: 0.7215 MB / 3.103 GB, free: 387.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 8.154e-05/6.01, allocations: 23.7 kB / 3.103 GB, free: 387.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/6.01, allocations: 45.83 kB / 3.103 GB, free: 387.3 MB / 1.167 GB Notification: Performance of SimCode: time 4.7e-07/6.01, allocations: 0 / 3.103 GB, free: 387.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/6.057, allocations: 22.03 MB / 3.125 GB, free: 376.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/6.057, allocations: 152.6 kB / 3.125 GB, free: 376.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/8.473, allocations: 0 / 3.125 GB, free: 376.1 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