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.216/2.216, allocations: 390.5 MB / 398 MB, free: 10.92 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.0009892/0.0009891, allocations: 182.9 kB / 491.2 MB, free: 1.59 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.446/1.446, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009222/0.0009222, allocations: 95.83 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.979e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2733, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.444/4.717, allocations: 1.718 GB / 2.93 GB, free: 120.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/4.717, allocations: 78.77 kB / 2.93 GB, free: 120.2 MB / 1.151 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.116/5.833, allocations: 157.4 MB / 3.084 GB, free: 389.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.435e-06/5.833, allocations: 3.062 kB / 3.084 GB, free: 389.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.16e-05/5.833, allocations: 3.344 kB / 3.084 GB, free: 389.8 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.0006535/5.834, allocations: 398.6 kB / 3.084 GB, free: 389.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/5.834, allocations: 12.05 kB / 3.084 GB, free: 389.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/5.834, allocations: 17 kB / 3.084 GB, free: 389.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/5.835, allocations: 254.5 kB / 3.085 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/5.835, allocations: 9 kB / 3.085 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/5.835, allocations: 7.562 kB / 3.085 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001583/5.835, allocations: 46.86 kB / 3.085 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/5.835, allocations: 159.2 kB / 3.085 GB, free: 389.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/5.835, allocations: 2.344 kB / 3.085 GB, free: 389.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/5.835, allocations: 2.062 kB / 3.085 GB, free: 389.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/5.835, allocations: 7.125 kB / 3.085 GB, free: 389.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/5.836, allocations: 1.107 MB / 3.086 GB, free: 388.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/5.836, allocations: 174.2 kB / 3.086 GB, free: 387.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/5.836, allocations: 82.45 kB / 3.086 GB, free: 387.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/5.836, allocations: 79.22 kB / 3.086 GB, free: 387.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/5.836, allocations: 111.9 kB / 3.086 GB, free: 387.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/5.836, allocations: 3.656 kB / 3.086 GB, free: 387.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0001112/5.836, allocations: 43.16 kB / 3.086 GB, free: 387.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/5.836, allocations: 102.8 kB / 3.086 GB, free: 387.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/5.837, allocations: 159.5 kB / 3.087 GB, free: 387.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/5.837, allocations: 26.89 kB / 3.087 GB, free: 387.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/5.837, allocations: 137.6 kB / 3.087 GB, free: 387.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/5.837, allocations: 0 / 3.087 GB, free: 387.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/5.837, allocations: 0.9688 kB / 3.087 GB, free: 387.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/5.837, allocations: 329.6 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/5.837, allocations: 9.062 kB / 3.087 GB, free: 387 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/5.837, allocations: 64.28 kB / 3.087 GB, free: 386.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/5.837, allocations: 19.75 kB / 3.087 GB, free: 386.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/5.837, allocations: 0.75 kB / 3.087 GB, free: 386.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00016/5.837, allocations: 73.45 kB / 3.087 GB, free: 386.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/5.837, allocations: 5.656 kB / 3.087 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/5.837, allocations: 4.656 kB / 3.087 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/5.837, allocations: 2.031 kB / 3.087 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/5.837, allocations: 12.95 kB / 3.087 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/5.837, allocations: 5.422 kB / 3.087 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/5.837, allocations: 3.656 kB / 3.087 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/5.837, allocations: 2 kB / 3.087 GB, free: 386.8 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.34e-05/5.838, allocations: 185.6 kB / 3.087 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.437e-05/5.838, allocations: 143.7 kB / 3.088 GB, free: 386.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/5.838, allocations: 114.2 kB / 3.088 GB, free: 386.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/5.838, allocations: 119.1 kB / 3.088 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/5.838, allocations: 186.3 kB / 3.088 GB, free: 386.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-05/5.838, allocations: 182.1 kB / 3.088 GB, free: 385.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/5.838, allocations: 177.3 kB / 3.088 GB, free: 385.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/5.838, allocations: 420.4 kB / 3.089 GB, free: 385.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/5.838, allocations: 105.9 kB / 3.089 GB, free: 385.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/5.838, allocations: 105.3 kB / 3.089 GB, free: 385.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.785e-05/5.838, allocations: 180.5 kB / 3.089 GB, free: 385 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/5.838, allocations: 181.2 kB / 3.089 GB, free: 384.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.511e-05/5.838, allocations: 180.4 kB / 3.089 GB, free: 384.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.784e-05/5.838, allocations: 182.8 kB / 3.09 GB, free: 384.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/5.838, allocations: 323.4 kB / 3.09 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/5.839, allocations: 189.9 kB / 3.09 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/5.839, allocations: 182.9 kB / 3.09 GB, free: 383.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/5.839, allocations: 107.6 kB / 3.09 GB, free: 383.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/5.839, allocations: 179.6 kB / 3.091 GB, free: 383.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/5.839, allocations: 105.9 kB / 3.091 GB, free: 383.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001126/5.839, allocations: 135.3 kB / 3.091 GB, free: 383.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/5.839, allocations: 0 / 3.091 GB, free: 383.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005027/5.839, allocations: 74.45 kB / 3.091 GB, free: 383.2 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.002123/5.842, allocations: 1.804 MB / 3.093 GB, free: 382.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001129/5.842, allocations: 19.59 kB / 3.093 GB, free: 382.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/5.842, allocations: 0.9688 kB / 3.093 GB, free: 382.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/5.842, allocations: 0 / 3.093 GB, free: 382.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/5.842, allocations: 0.5334 MB / 3.093 GB, free: 381.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/5.843, allocations: 270.5 kB / 3.093 GB, free: 381.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/5.843, allocations: 0.7238 MB / 3.094 GB, free: 380.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 6.608e-05/5.843, allocations: 13.62 kB / 3.094 GB, free: 380.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/5.843, allocations: 37.83 kB / 3.094 GB, free: 380.9 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/5.843, allocations: 0 / 3.094 GB, free: 380.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/5.881, allocations: 9.762 MB / 3.104 GB, free: 379.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/5.881, allocations: 143.5 kB / 3.104 GB, free: 379.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/7.938, allocations: 3.281 kB / 3.104 GB, free: 379.7 MB / 1.151 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