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.153/2.153, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001133/0.001133, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.424/1.424, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009699, allocations: 106.9 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.708e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2797, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/4.761, allocations: 1.717 GB / 2.923 GB, free: 139.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/4.761, allocations: 80.52 kB / 2.923 GB, free: 139.6 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.072/5.833, allocations: 157.4 MB / 3.077 GB, free: 389.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.094e-06/5.833, allocations: 2.672 kB / 3.077 GB, free: 389.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.985e-05/5.833, allocations: 5.062 kB / 3.077 GB, free: 389.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.0003978/5.833, allocations: 400.8 kB / 3.077 GB, free: 389.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/5.833, allocations: 9.375 kB / 3.077 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/5.833, allocations: 19.53 kB / 3.077 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/5.833, allocations: 255.2 kB / 3.077 GB, free: 389.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/5.834, allocations: 6.5 kB / 3.077 GB, free: 389.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/5.834, allocations: 7.656 kB / 3.077 GB, free: 389.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001374/5.834, allocations: 50.34 kB / 3.077 GB, free: 389.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/5.834, allocations: 157.1 kB / 3.078 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/5.834, allocations: 6.281 kB / 3.078 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/5.834, allocations: 1.703 kB / 3.078 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/5.834, allocations: 4.984 kB / 3.078 GB, free: 389.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/5.835, allocations: 1.108 MB / 3.079 GB, free: 388.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/5.835, allocations: 171.2 kB / 3.079 GB, free: 388.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/5.835, allocations: 80.84 kB / 3.079 GB, free: 388 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/5.835, allocations: 82.06 kB / 3.079 GB, free: 387.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/5.835, allocations: 107.7 kB / 3.079 GB, free: 387.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/5.835, allocations: 0 / 3.079 GB, free: 387.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 7.706e-05/5.835, allocations: 36.45 kB / 3.079 GB, free: 387.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/5.835, allocations: 105 kB / 3.079 GB, free: 387.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/5.835, allocations: 160.8 kB / 3.079 GB, free: 387.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/5.835, allocations: 26.83 kB / 3.079 GB, free: 387.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/5.835, allocations: 142.1 kB / 3.08 GB, free: 387.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/5.835, allocations: 2.469 kB / 3.08 GB, free: 387.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/5.835, allocations: 0.9688 kB / 3.08 GB, free: 387.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/5.835, allocations: 323.3 kB / 3.08 GB, free: 387.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/5.835, allocations: 8.484 kB / 3.08 GB, free: 387.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/5.835, allocations: 69.27 kB / 3.08 GB, free: 387.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/5.835, allocations: 16.05 kB / 3.08 GB, free: 387.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/5.835, allocations: 1.719 kB / 3.08 GB, free: 387.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001438/5.836, allocations: 73.08 kB / 3.08 GB, free: 387 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/5.836, allocations: 5.547 kB / 3.08 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/5.836, allocations: 1.969 kB / 3.08 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/5.836, allocations: 1.375 kB / 3.08 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/5.836, allocations: 9.359 kB / 3.08 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/5.836, allocations: 5.453 kB / 3.08 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/5.836, allocations: 5.281 kB / 3.08 GB, free: 387 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/5.836, allocations: 6.875 kB / 3.08 GB, free: 387 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 7.135e-05/5.836, allocations: 187.2 kB / 3.08 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.229e-05/5.836, allocations: 143.7 kB / 3.08 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/5.836, allocations: 114.4 kB / 3.081 GB, free: 386.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/5.836, allocations: 118.6 kB / 3.081 GB, free: 386.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/5.836, allocations: 183.2 kB / 3.081 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.241e-05/5.836, allocations: 190.4 kB / 3.081 GB, free: 386.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.101e-05/5.836, allocations: 182.4 kB / 3.081 GB, free: 385.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/5.836, allocations: 425.2 kB / 3.082 GB, free: 385.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/5.836, allocations: 105.6 kB / 3.082 GB, free: 385.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/5.836, allocations: 101.6 kB / 3.082 GB, free: 385.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.089e-05/5.837, allocations: 184.5 kB / 3.082 GB, free: 385.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/5.837, allocations: 180.3 kB / 3.082 GB, free: 384.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.948e-05/5.837, allocations: 177.4 kB / 3.082 GB, free: 384.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.273e-05/5.837, allocations: 183.1 kB / 3.082 GB, free: 384.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/5.837, allocations: 319.3 kB / 3.083 GB, free: 384.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/5.837, allocations: 190.8 kB / 3.083 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/5.837, allocations: 181.7 kB / 3.083 GB, free: 383.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/5.837, allocations: 104.2 kB / 3.083 GB, free: 383.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/5.837, allocations: 180.5 kB / 3.083 GB, free: 383.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/5.837, allocations: 111.2 kB / 3.083 GB, free: 383.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 8.993e-05/5.837, allocations: 126.2 kB / 3.084 GB, free: 383.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/5.837, allocations: 0 / 3.084 GB, free: 383.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003769/5.837, allocations: 79.92 kB / 3.084 GB, free: 383.4 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.001684/5.839, allocations: 1.799 MB / 3.085 GB, free: 382.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 9.618e-05/5.839, allocations: 16.47 kB / 3.085 GB, free: 382.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/5.839, allocations: 0 / 3.085 GB, free: 382.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/5.839, allocations: 1.938 kB / 3.085 GB, free: 382.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/5.84, allocations: 0.5374 MB / 3.086 GB, free: 382 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/5.84, allocations: 274.5 kB / 3.086 GB, free: 381.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/5.84, allocations: 0.7208 MB / 3.087 GB, free: 381.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.475e-05/5.84, allocations: 13.72 kB / 3.087 GB, free: 381.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/5.84, allocations: 40.48 kB / 3.087 GB, free: 381 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/5.84, allocations: 2.375 kB / 3.087 GB, free: 381 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/5.878, allocations: 9.757 MB / 3.097 GB, free: 380.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/5.878, allocations: 134.5 kB / 3.097 GB, free: 380.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/8.005, allocations: 0 / 3.097 GB, free: 380.4 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