Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.235/1.235, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009096/0.0009097, allocations: 173.6 kB / 325.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006545/0.0006546, allocations: 90.3 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003169, allocations: 11.34 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.4426/0.5815, allocations: 163.6 MB / 1.056 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004022/0.5856, allocations: 5.712 MB / 1.062 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.5857, allocations: 5.875 kB / 1.062 GB, free: 1.883 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal 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 7.0.3-maint.7.0.x/Fluid/FMI/FlowSplitter_u.mo:47:3-49:60:writable] Warning: Connector 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 7.0.3-maint.7.0.x/Fluid/FMI/FlowSplitter_u.mo:50:3-51:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.5861, allocations: 76.19 kB / 1.062 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.5862, allocations: 49.11 kB / 1.062 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.861e-05/0.5863, allocations: 34.06 kB / 1.062 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.5866, allocations: 259.9 kB / 1.062 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.5868, allocations: 86.06 kB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.5869, allocations: 84.31 kB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.587, allocations: 62.34 kB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.587, allocations: 2.875 kB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.5871, allocations: 0 / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.5871, allocations: 20.38 kB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.5872, allocations: 58.38 kB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.5873, allocations: 144.6 kB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5873, allocations: 10.62 kB / 1.062 GB, free: 1.863 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.093e-06/0.5873, allocations: 2.734 kB / 1.062 GB, free: 1.863 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5873, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.698 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.0005103/0.5879, allocations: 414.3 kB / 1.063 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5879, allocations: 9.906 kB / 1.063 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.5879, allocations: 47.42 kB / 1.063 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.588, allocations: 16.16 kB / 1.063 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.5882, allocations: 241.8 kB / 1.063 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.5882, allocations: 12.39 kB / 1.063 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.5882, allocations: 13.38 kB / 1.063 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.5884, allocations: 165.9 kB / 1.063 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.5885, allocations: 0 / 1.063 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5885, allocations: 6 kB / 1.063 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5885, allocations: 6.844 kB / 1.063 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/0.5886, allocations: 69.75 kB / 1.063 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.5893, allocations: 1.153 MB / 1.064 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.854e-05/0.5893, allocations: 166.7 kB / 1.065 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.5894, allocations: 86.98 kB / 1.065 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.5894, allocations: 82.12 kB / 1.065 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5894, allocations: 106.5 kB / 1.065 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.5895, allocations: 0 / 1.065 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.49e-05/0.5895, allocations: 46.86 kB / 1.065 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5896, allocations: 184.5 kB / 1.065 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.5898, allocations: 250.2 kB / 1.065 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.5898, allocations: 25.7 kB / 1.065 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.5899, allocations: 136.8 kB / 1.066 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.5899, allocations: 3.438 kB / 1.066 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.5899, allocations: 12.5 kB / 1.066 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.59, allocations: 325.5 kB / 1.066 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.5901, allocations: 10.98 kB / 1.066 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.5901, allocations: 70.39 kB / 1.066 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.5901, allocations: 51.44 kB / 1.066 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5902, allocations: 0 / 1.066 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001202/0.5903, allocations: 88.89 kB / 1.066 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.5903, allocations: 9.562 kB / 1.066 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5903, allocations: 0 / 1.066 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.5903, allocations: 3.391 kB / 1.066 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.5904, allocations: 10.48 kB / 1.066 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5904, allocations: 2.812 kB / 1.066 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.5905, allocations: 25.17 kB / 1.066 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.5905, allocations: 3.703 kB / 1.066 GB, free: 14.68 MB / 0.7136 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.5906, allocations: 205.8 kB / 1.066 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.5907, allocations: 125 kB / 1.066 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.5907, allocations: 125.3 kB / 1.067 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-05/0.5908, allocations: 182.6 kB / 1.067 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.871e-05/0.5908, allocations: 177.9 kB / 1.067 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.691e-05/0.5909, allocations: 183.2 kB / 1.067 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.5911, allocations: 461.2 kB / 1.068 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-05/0.5911, allocations: 107.2 kB / 1.068 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.5912, allocations: 103 kB / 1.068 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.574e-05/0.5912, allocations: 180 kB / 1.068 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.5913, allocations: 182.7 kB / 1.068 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.744e-05/0.5913, allocations: 184.3 kB / 1.068 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-05/0.5914, allocations: 180.8 kB / 1.068 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.5915, allocations: 323.7 kB / 1.069 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.5916, allocations: 193.9 kB / 1.069 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.5916, allocations: 183.5 kB / 1.069 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.5917, allocations: 111.6 kB / 1.069 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.5918, allocations: 182.7 kB / 1.069 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.5918, allocations: 101.5 kB / 1.069 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001406/0.592, allocations: 185.2 kB / 1.07 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.12e-07/0.592, allocations: 0 / 1.07 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002043/0.5922, allocations: 22.31 kB / 1.07 GB, free: 11.16 MB / 0.7136 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002956/0.5925, allocations: 0.8247 MB / 1.07 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.431e-05/0.5926, allocations: 20.36 kB / 1.07 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5926, allocations: 0 / 1.07 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.5926, allocations: 2.906 kB / 1.07 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.5931, allocations: 0.5718 MB / 1.071 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.5948, allocations: 2.056 MB / 1.073 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.595, allocations: 0.7199 MB / 1.074 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.342e-05/0.5951, allocations: 19.39 kB / 1.074 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.5951, allocations: 46.33 kB / 1.074 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5951, allocations: 0 / 1.074 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2764/0.8716, allocations: 3.565 MB / 1.077 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/0.8717, allocations: 208.6 kB / 1.077 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.617, allocations: 0 / 1.077 GB, free: 7.078 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)