Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004617/0.004617, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 193.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00251/0.00251, allocations: 292.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002927/0.002927, allocations: 95.86 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3892, allocations: 86.98 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1865/0.5758, allocations: 166.1 MB / 0.9281 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006221/0.582, allocations: 5.7 MB / 0.9337 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.5823, allocations: 7.938 kB / 0.9337 GB, free: 7.418 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.000416/0.5827, allocations: 95.31 kB / 0.9338 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.5829, allocations: 59.55 kB / 0.9338 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.583, allocations: 35.95 kB / 0.9339 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.000302/0.5833, allocations: 211.1 kB / 0.9341 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.5835, allocations: 94.62 kB / 0.9341 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.5838, allocations: 107.6 kB / 0.9343 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.5839, allocations: 67.64 kB / 0.9343 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.5839, allocations: 12 kB / 0.9343 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.584, allocations: 8 kB / 0.9343 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.584, allocations: 35.84 kB / 0.9344 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.5841, allocations: 67.67 kB / 0.9344 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.5843, allocations: 160.5 kB / 0.9346 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5843, allocations: 3.938 kB / 0.9346 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5843, allocations: 0 / 0.9346 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.5843, allocations: 0 / 0.9346 GB, free: 6.48 MB / 0.7012 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.0006293/0.585, allocations: 450.8 kB / 0.935 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.585, allocations: 11.97 kB / 0.935 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.5851, allocations: 42.55 kB / 0.9351 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.5851, allocations: 19.91 kB / 0.9351 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.5854, allocations: 251.5 kB / 0.9353 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.5855, allocations: 16.17 kB / 0.9353 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.5855, allocations: 12 kB / 0.9354 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.5858, allocations: 172.4 kB / 0.9355 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.5858, allocations: 0 / 0.9355 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.5858, allocations: 12 kB / 0.9355 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5858, allocations: 4 kB / 0.9355 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.5859, allocations: 63.84 kB / 0.9356 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.5869, allocations: 1.152 MB / 0.9367 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.372e-05/0.587, allocations: 165.1 kB / 0.9369 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.5871, allocations: 88.06 kB / 0.937 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.5871, allocations: 79.28 kB / 0.937 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.5872, allocations: 113.8 kB / 0.9372 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5872, allocations: 0 / 0.9372 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 8.315e-05/0.5872, allocations: 45.55 kB / 0.9372 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/0.5873, allocations: 178.1 kB / 0.9374 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.5876, allocations: 253 kB / 0.9376 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5876, allocations: 29.7 kB / 0.9376 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.5877, allocations: 132 kB / 0.9378 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.5878, allocations: 0 / 0.9378 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.5878, allocations: 21.72 kB / 0.9378 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5879, allocations: 330.8 kB / 0.9381 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.588, allocations: 4 kB / 0.9381 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.588, allocations: 75.66 kB / 0.9382 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.299e-05/0.5881, allocations: 48.22 kB / 0.9382 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5881, allocations: 0 / 0.9382 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001535/0.5883, allocations: 93.36 kB / 0.9383 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5883, allocations: 8 kB / 0.9383 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.5883, allocations: 0 / 0.9383 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5883, allocations: 4 kB / 0.9383 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.5884, allocations: 15.92 kB / 0.9383 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5884, allocations: 4 kB / 0.9383 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.5885, allocations: 15.83 kB / 0.9384 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.5885, allocations: 4 kB / 0.9384 GB, free: 2.289 MB / 0.7012 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.0001306/0.5886, allocations: 205.3 kB / 0.9386 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.5887, allocations: 125 kB / 0.9387 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.5888, allocations: 125.8 kB / 0.9388 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.085e-05/0.5889, allocations: 180.3 kB / 0.939 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.498e-05/0.589, allocations: 184.2 kB / 0.9391 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-05/0.5891, allocations: 188.3 kB / 0.9393 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.5894, allocations: 453.1 kB / 0.9397 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-05/0.5894, allocations: 104.9 kB / 0.9398 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.5895, allocations: 101 kB / 0.9399 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.579e-05/0.5896, allocations: 184.2 kB / 0.9401 GB, free: 364 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/0.5896, allocations: 180.2 kB / 0.9403 GB, free: 176 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.178e-05/0.5897, allocations: 180.5 kB / 0.9405 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.667e-05/0.5898, allocations: 188.2 kB / 0.9406 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.59, allocations: 319.6 kB / 0.941 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.5901, allocations: 198 kB / 0.9411 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.579e-05/0.5902, allocations: 184.3 kB / 0.9413 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.5903, allocations: 108.9 kB / 0.9414 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.5904, allocations: 176.3 kB / 0.9416 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.5905, allocations: 108.9 kB / 0.9417 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001802/0.5907, allocations: 184.5 kB / 0.9419 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5907, allocations: 0 / 0.9419 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003401/0.591, allocations: 20 kB / 0.9419 GB, free: 14.45 MB / 0.7169 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.0004577/0.5915, allocations: 0.8281 MB / 0.9427 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.5916, allocations: 23.92 kB / 0.9427 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5916, allocations: 0 / 0.9427 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-06/0.5916, allocations: 4.312 kB / 0.9427 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.5923, allocations: 0.5078 MB / 0.9432 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.5945, allocations: 2.045 MB / 0.9452 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.5949, allocations: 0.7162 MB / 0.9459 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.76e-05/0.5949, allocations: 25.53 kB / 0.9459 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.595, allocations: 35.62 kB / 0.946 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.595, allocations: 0 / 0.946 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2318/0.8268, allocations: 3.895 MB / 0.9498 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/9.35, allocations: 7.922 kB / 0.9498 GB, free: 6.332 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)