Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009669/0.000967, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4893/0.4893, allocations: 90.91 MB / 99.34 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 343.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009023/0.000902, allocations: 97.84 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.903e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.036/4.169, allocations: 1.67 GB / 2.224 GB, free: 184 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/4.169, allocations: 79.19 kB / 2.224 GB, free: 184 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.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/IBPSA 4.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.2702/4.439, allocations: 157.4 MB / 2.378 GB, free: 78.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/4.439, allocations: 0 / 2.378 GB, free: 78.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.854e-05/4.439, allocations: 8 kB / 2.378 GB, free: 78.3 MB / 0.6042 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.0003058/4.44, allocations: 402.4 kB / 2.378 GB, free: 77.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/4.44, allocations: 8.031 kB / 2.378 GB, free: 77.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/4.44, allocations: 31.67 kB / 2.378 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/4.44, allocations: 250.5 kB / 2.378 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/4.44, allocations: 4 kB / 2.378 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/4.44, allocations: 4 kB / 2.378 GB, free: 77.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.953e-05/4.44, allocations: 44.47 kB / 2.378 GB, free: 77.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/4.44, allocations: 173.2 kB / 2.379 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/4.441, allocations: 0 / 2.379 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/4.441, allocations: 0 / 2.379 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/4.441, allocations: 7.953 kB / 2.379 GB, free: 77.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/4.441, allocations: 1.106 MB / 2.38 GB, free: 76.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/4.441, allocations: 169.1 kB / 2.38 GB, free: 75.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/4.441, allocations: 88.14 kB / 2.38 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/4.441, allocations: 75.28 kB / 2.38 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/4.441, allocations: 109.8 kB / 2.38 GB, free: 75.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/4.441, allocations: 0 / 2.38 GB, free: 75.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.38e-05/4.441, allocations: 41.59 kB / 2.38 GB, free: 75.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/4.441, allocations: 106.8 kB / 2.38 GB, free: 75.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/4.441, allocations: 154 kB / 2.38 GB, free: 75.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/4.442, allocations: 29.92 kB / 2.38 GB, free: 75.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/4.442, allocations: 139.5 kB / 2.381 GB, free: 75.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/4.442, allocations: 11.94 kB / 2.381 GB, free: 75.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/4.442, allocations: 0 / 2.381 GB, free: 75.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/4.442, allocations: 322.8 kB / 2.381 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/4.442, allocations: 4 kB / 2.381 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/4.442, allocations: 67.73 kB / 2.381 GB, free: 74.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/4.442, allocations: 11.98 kB / 2.381 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/4.442, allocations: 0 / 2.381 GB, free: 74.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001348/4.442, allocations: 77.47 kB / 2.381 GB, free: 74.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/4.442, allocations: 8 kB / 2.381 GB, free: 74.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/4.442, allocations: 7.969 kB / 2.381 GB, free: 74.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/4.442, allocations: 0 / 2.381 GB, free: 74.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/4.442, allocations: 11.95 kB / 2.381 GB, free: 74.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/4.442, allocations: 4 kB / 2.381 GB, free: 74.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/4.442, allocations: 7.844 kB / 2.381 GB, free: 74.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-06/4.442, allocations: 4 kB / 2.381 GB, free: 74.57 MB / 0.6042 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 5.724e-05/4.442, allocations: 188.4 kB / 2.381 GB, free: 74.38 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5e-05/4.442, allocations: 142.6 kB / 2.381 GB, free: 74.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/4.442, allocations: 112.8 kB / 2.381 GB, free: 74.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/4.442, allocations: 118.1 kB / 2.382 GB, free: 73.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/4.442, allocations: 180.2 kB / 2.382 GB, free: 73.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/4.442, allocations: 176.3 kB / 2.382 GB, free: 73.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/4.442, allocations: 188.2 kB / 2.382 GB, free: 73.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/4.442, allocations: 417.8 kB / 2.383 GB, free: 72.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/4.443, allocations: 105 kB / 2.383 GB, free: 72.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/4.443, allocations: 108.9 kB / 2.383 GB, free: 72.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/4.443, allocations: 176.3 kB / 2.383 GB, free: 72.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/4.443, allocations: 176.3 kB / 2.383 GB, free: 72.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-05/4.443, allocations: 188.2 kB / 2.383 GB, free: 72.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.777e-05/4.443, allocations: 185.3 kB / 2.383 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.564e-05/4.443, allocations: 319.7 kB / 2.384 GB, free: 71.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/4.443, allocations: 182 kB / 2.384 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/4.443, allocations: 188.2 kB / 2.384 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/4.443, allocations: 105 kB / 2.384 GB, free: 71.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/4.443, allocations: 188.2 kB / 2.384 GB, free: 70.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/4.443, allocations: 108.9 kB / 2.384 GB, free: 70.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.607e-05/4.443, allocations: 128.2 kB / 2.385 GB, free: 70.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/4.443, allocations: 3.938 kB / 2.385 GB, free: 70.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003308/4.443, allocations: 75.83 kB / 2.385 GB, free: 70.68 MB / 0.6042 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.001123/4.444, allocations: 1.791 MB / 2.386 GB, free: 68.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.186e-05/4.445, allocations: 19.94 kB / 2.386 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/4.445, allocations: 0 / 2.386 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/4.445, allocations: 3.984 kB / 2.386 GB, free: 68.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/4.445, allocations: 0.5305 MB / 2.387 GB, free: 68.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/4.445, allocations: 274.6 kB / 2.387 GB, free: 68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/4.445, allocations: 0.7197 MB / 2.388 GB, free: 67.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.625e-05/4.445, allocations: 12.42 kB / 2.388 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/4.446, allocations: 39.42 kB / 2.388 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/4.446, allocations: 0 / 2.388 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/4.473, allocations: 9.767 MB / 2.397 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/4.473, allocations: 124.8 kB / 2.398 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/6.51, allocations: 0 / 2.398 GB, free: 57.25 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)