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.001156/0.001156, allocations: 108 kB / 15.6 MB, free: 132 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.001174/0.001174, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.522/1.522, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.831/1.831, allocations: 292.3 MB / 0.5489 GB, free: 13.49 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.001469/0.001469, allocations: 70.14 kB / 0.6716 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.7791/1.019, allocations: 166.1 MB / 0.9457 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005536/1.025, allocations: 5.691 MB / 0.9512 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003583/1.025, allocations: 8.438 kB / 0.9512 GB, free: 5.602 MB / 0.7325 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.0005002/1.025, allocations: 93.59 kB / 0.9513 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002609/1.026, allocations: 57.58 kB / 0.9514 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/1.026, allocations: 31.22 kB / 0.9514 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/1.026, allocations: 216 kB / 0.9516 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/1.027, allocations: 96.8 kB / 0.9517 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/1.027, allocations: 102.6 kB / 0.9518 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/1.027, allocations: 74.67 kB / 0.9519 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/1.027, allocations: 13.44 kB / 0.9519 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.817e-05/1.027, allocations: 10.31 kB / 0.9519 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/1.027, allocations: 28.28 kB / 0.9519 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.617e-05/1.027, allocations: 69.33 kB / 0.952 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/1.027, allocations: 151.2 kB / 0.9521 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.027, allocations: 2 kB / 0.9521 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.694e-06/1.027, allocations: 0 / 0.9521 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.892e-06/1.027, allocations: 0 / 0.9521 GB, free: 5.562 MB / 0.7325 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.00102/1.028, allocations: 444.3 kB / 0.9526 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.029, allocations: 14.22 kB / 0.9526 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/1.029, allocations: 43.75 kB / 0.9526 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/1.029, allocations: 16.95 kB / 0.9526 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/1.029, allocations: 245.3 kB / 0.9529 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.029, allocations: 12.14 kB / 0.9529 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/1.029, allocations: 14.56 kB / 0.9529 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/1.029, allocations: 172.4 kB / 0.9531 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.029, allocations: 1.203 kB / 0.9531 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/1.029, allocations: 6.531 kB / 0.9531 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/1.029, allocations: 6.188 kB / 0.9531 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/1.029, allocations: 67.36 kB / 0.9531 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009425/1.03, allocations: 1.155 MB / 0.9543 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/1.03, allocations: 173.1 kB / 0.9544 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/1.031, allocations: 84.17 kB / 0.9545 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/1.031, allocations: 79.22 kB / 0.9546 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/1.031, allocations: 110.3 kB / 0.9547 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/1.031, allocations: 0 / 0.9547 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 9.246e-05/1.031, allocations: 44.17 kB / 0.9547 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/1.031, allocations: 184.5 kB / 0.9549 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/1.031, allocations: 253.7 kB / 0.9552 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/1.031, allocations: 26.89 kB / 0.9552 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.031, allocations: 137.7 kB / 0.9553 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-06/1.031, allocations: 0 / 0.9553 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/1.031, allocations: 19.58 kB / 0.9553 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.031, allocations: 326.8 kB / 0.9556 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/1.031, allocations: 13.39 kB / 0.9557 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/1.031, allocations: 62.28 kB / 0.9557 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/1.032, allocations: 55.7 kB / 0.9558 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.032, allocations: 0 / 0.9558 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001649/1.032, allocations: 88.56 kB / 0.9559 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.032, allocations: 6.812 kB / 0.9559 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.032, allocations: 3.938 kB / 0.9559 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.032, allocations: 0.8906 kB / 0.9559 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/1.032, allocations: 16.47 kB / 0.9559 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.032, allocations: 0.7031 kB / 0.9559 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/1.032, allocations: 17.45 kB / 0.9559 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/1.032, allocations: 3.828 kB / 0.9559 GB, free: 18.35 MB / 0.7481 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.0001412/1.032, allocations: 204.4 kB / 0.9561 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/1.032, allocations: 124.4 kB / 0.9562 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/1.032, allocations: 119.2 kB / 0.9563 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-05/1.032, allocations: 188.9 kB / 0.9565 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.95e-05/1.033, allocations: 180.3 kB / 0.9567 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.379e-05/1.033, allocations: 177.7 kB / 0.9569 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/1.033, allocations: 452.6 kB / 0.9573 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.597e-05/1.033, allocations: 109.8 kB / 0.9574 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/1.033, allocations: 106.9 kB / 0.9575 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.723e-05/1.033, allocations: 180.9 kB / 0.9577 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/1.033, allocations: 183.4 kB / 0.9578 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.062e-05/1.033, allocations: 186.1 kB / 0.958 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.04e-05/1.033, allocations: 180.1 kB / 0.9582 GB, free: 16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/1.034, allocations: 322.1 kB / 0.9585 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.034, allocations: 202.2 kB / 0.9587 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/1.034, allocations: 180.2 kB / 0.9589 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.034, allocations: 105.4 kB / 0.959 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/1.034, allocations: 183.1 kB / 0.9591 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/1.034, allocations: 105.7 kB / 0.9592 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002/1.034, allocations: 183.3 kB / 0.9594 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.034, allocations: 5.188 kB / 0.9594 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002878/1.035, allocations: 19.94 kB / 0.9594 GB, free: 14.82 MB / 0.7481 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.0005086/1.035, allocations: 0.8223 MB / 0.9602 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001172/1.035, allocations: 20.89 kB / 0.9603 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.035, allocations: 1.203 kB / 0.9603 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/1.035, allocations: 3.188 kB / 0.9603 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/1.036, allocations: 0.5083 MB / 0.9608 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/1.039, allocations: 2.054 MB / 0.9628 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.039, allocations: 0.7194 MB / 0.9635 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001003/1.039, allocations: 26.14 kB / 0.9635 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/1.039, allocations: 39.34 kB / 0.9635 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of SimCode: time 7.92e-07/1.039, allocations: 0 / 0.9635 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/1.062, allocations: 3.815 MB / 0.9673 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.829, allocations: 12.08 kB / 0.9673 GB, free: 10.84 MB / 0.7481 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)