Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_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.001079/0.001078, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 194.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 69.59 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1914, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.4804/0.6718, allocations: 166.1 MB / 0.9457 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004253/0.6761, allocations: 5.699 MB / 0.9512 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.6763, allocations: 9.25 kB / 0.9513 GB, free: 1.367 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.0003241/0.6767, allocations: 93.05 kB / 0.9513 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.6768, allocations: 59.03 kB / 0.9514 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.6769, allocations: 35.27 kB / 0.9514 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.6773, allocations: 213.2 kB / 0.9516 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.6775, allocations: 97.06 kB / 0.9517 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.6778, allocations: 103.2 kB / 0.9518 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.6779, allocations: 72.75 kB / 0.9519 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.678, allocations: 9.781 kB / 0.9519 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.143e-05/0.678, allocations: 13.59 kB / 0.9519 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.6781, allocations: 27.41 kB / 0.9519 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.6782, allocations: 72.78 kB / 0.952 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.6784, allocations: 151.9 kB / 0.9522 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6784, allocations: 0.5625 kB / 0.9522 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6784, allocations: 1.203 kB / 0.9522 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.6784, allocations: 2.188 kB / 0.9522 GB, free: 1.215 MB / 0.7169 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.0006509/0.6791, allocations: 443.4 kB / 0.9526 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.6791, allocations: 10 kB / 0.9526 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.6792, allocations: 47.81 kB / 0.9526 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.6792, allocations: 17.16 kB / 0.9527 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.6795, allocations: 243 kB / 0.9529 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.6795, allocations: 16.81 kB / 0.9529 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.6795, allocations: 7.719 kB / 0.9529 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.6798, allocations: 171.9 kB / 0.9531 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.6798, allocations: 0.625 kB / 0.9531 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.6798, allocations: 5.312 kB / 0.9531 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.6799, allocations: 3.438 kB / 0.9531 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.68, allocations: 68.7 kB / 0.9532 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.6808, allocations: 1.152 MB / 0.9543 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.6809, allocations: 173.7 kB / 0.9544 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.681, allocations: 80.77 kB / 0.9545 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.681, allocations: 80.06 kB / 0.9546 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.681, allocations: 111.8 kB / 0.9547 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6811, allocations: 0 / 0.9547 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.812e-05/0.6811, allocations: 43.05 kB / 0.9547 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.6812, allocations: 188.2 kB / 0.9549 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.6814, allocations: 248.4 kB / 0.9552 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.6815, allocations: 29.23 kB / 0.9552 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.6815, allocations: 132.4 kB / 0.9553 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.6816, allocations: 0 / 0.9553 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.6816, allocations: 22.25 kB / 0.9553 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.6817, allocations: 326.7 kB / 0.9556 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.6817, allocations: 11.39 kB / 0.9557 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.6818, allocations: 70.95 kB / 0.9557 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.6818, allocations: 54.17 kB / 0.9558 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6818, allocations: 0 / 0.9558 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001321/0.6819, allocations: 84.7 kB / 0.9559 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.682, allocations: 5.875 kB / 0.9559 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.682, allocations: 5.125 kB / 0.9559 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.682, allocations: 1.312 kB / 0.9559 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.682, allocations: 12.8 kB / 0.9559 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6821, allocations: 2.719 kB / 0.9559 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.6821, allocations: 17.03 kB / 0.9559 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.6821, allocations: 3.859 kB / 0.9559 GB, free: 13.96 MB / 0.7325 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.0001124/0.6823, allocations: 200.3 kB / 0.9561 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.6823, allocations: 130.3 kB / 0.9562 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.6824, allocations: 118.1 kB / 0.9563 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.627e-05/0.6824, allocations: 183.8 kB / 0.9565 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-05/0.6825, allocations: 185.4 kB / 0.9567 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/0.6826, allocations: 181.7 kB / 0.9569 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.6828, allocations: 452.3 kB / 0.9573 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/0.6829, allocations: 110.8 kB / 0.9574 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.6829, allocations: 104.1 kB / 0.9575 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.624e-05/0.683, allocations: 191.6 kB / 0.9577 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/0.683, allocations: 178.5 kB / 0.9578 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-05/0.6831, allocations: 181.3 kB / 0.958 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.918e-05/0.6831, allocations: 177.8 kB / 0.9582 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.6833, allocations: 323.2 kB / 0.9585 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.901e-05/0.6834, allocations: 200.3 kB / 0.9587 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.6835, allocations: 183.6 kB / 0.9589 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.6836, allocations: 103.2 kB / 0.959 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.6837, allocations: 181.4 kB / 0.9591 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.6837, allocations: 104.1 kB / 0.9592 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001718/0.6839, allocations: 186.4 kB / 0.9594 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6839, allocations: 2.188 kB / 0.9594 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002615/0.6842, allocations: 22.44 kB / 0.9594 GB, free: 10.41 MB / 0.7325 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.0004063/0.6846, allocations: 0.8262 MB / 0.9602 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.609e-05/0.6847, allocations: 26.06 kB / 0.9603 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6847, allocations: 0 / 0.9603 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.6847, allocations: 5.094 kB / 0.9603 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.6853, allocations: 0.5023 MB / 0.9608 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.6873, allocations: 2.051 MB / 0.9628 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.6877, allocations: 0.7164 MB / 0.9635 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.6878, allocations: 22.41 kB / 0.9635 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.6878, allocations: 44.06 kB / 0.9635 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.6878, allocations: 0 / 0.9635 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.012/1.7, allocations: 3.816 MB / 0.9673 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/12.34, allocations: 15.73 kB / 0.9673 GB, free: 6.395 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)