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.001133/0.001134, allocations: 105.4 kB / 15.7 MB, free: 24 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.001105/0.001105, allocations: 196.1 kB / 16.64 MB, free: 6.445 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.742/1.742, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001441/0.001441, allocations: 73.48 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2344, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6499/0.8844, allocations: 166.1 MB / 0.9458 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005658/0.8901, allocations: 5.698 MB / 0.9514 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.8905, allocations: 9.188 kB / 0.9514 GB, free: 1.828 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.0004684/0.891, allocations: 94.27 kB / 0.9515 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.8912, allocations: 54.17 kB / 0.9516 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.8914, allocations: 34.2 kB / 0.9516 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.8918, allocations: 216.3 kB / 0.9518 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.8921, allocations: 95.05 kB / 0.9519 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.8924, allocations: 102.5 kB / 0.952 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.8926, allocations: 76.11 kB / 0.9521 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.8927, allocations: 10.09 kB / 0.9521 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-05/0.8927, allocations: 9.562 kB / 0.9521 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.8928, allocations: 29.69 kB / 0.9521 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.8929, allocations: 70.34 kB / 0.9522 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.8932, allocations: 154.4 kB / 0.9523 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8932, allocations: 0.5 kB / 0.9523 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8932, allocations: 1.203 kB / 0.9523 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.8933, allocations: 4.562 kB / 0.9523 GB, free: 1.676 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.0008424/0.8941, allocations: 447.1 kB / 0.9528 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.8942, allocations: 9.344 kB / 0.9528 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.8942, allocations: 48.64 kB / 0.9528 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.8943, allocations: 16.66 kB / 0.9528 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.8947, allocations: 252.5 kB / 0.9531 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.8947, allocations: 13.78 kB / 0.9531 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.8947, allocations: 11.75 kB / 0.9531 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.895, allocations: 164.2 kB / 0.9532 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.895, allocations: 8.469 kB / 0.9533 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.8951, allocations: 9.156 kB / 0.9533 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.8951, allocations: 3.594 kB / 0.9533 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.8952, allocations: 64.36 kB / 0.9533 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009312/0.8962, allocations: 1.15 MB / 0.9545 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.994e-05/0.8962, allocations: 174 kB / 0.9546 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.8963, allocations: 88.48 kB / 0.9547 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.8963, allocations: 79.22 kB / 0.9548 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.8964, allocations: 108.1 kB / 0.9549 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.8964, allocations: 0.875 kB / 0.9549 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.237e-05/0.8965, allocations: 43.7 kB / 0.9549 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.8966, allocations: 183.2 kB / 0.9551 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.8969, allocations: 258.3 kB / 0.9553 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.8969, allocations: 26.98 kB / 0.9554 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.241e-05/0.897, allocations: 128.8 kB / 0.9555 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-06/0.897, allocations: 2.484 kB / 0.9555 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.897, allocations: 23.97 kB / 0.9555 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8972, allocations: 325.4 kB / 0.9558 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.8972, allocations: 9.422 kB / 0.9558 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.8973, allocations: 69.72 kB / 0.9559 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.8973, allocations: 52.3 kB / 0.956 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8973, allocations: 0 / 0.956 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001602/0.8975, allocations: 88.11 kB / 0.956 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.8975, allocations: 4.781 kB / 0.956 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8975, allocations: 2.719 kB / 0.956 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.8976, allocations: 2.625 kB / 0.956 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.8976, allocations: 9.047 kB / 0.9561 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.8977, allocations: 1.031 kB / 0.9561 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.8977, allocations: 21.3 kB / 0.9561 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.8978, allocations: 10.56 kB / 0.9561 GB, free: 14.42 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.0001381/0.8979, allocations: 201.3 kB / 0.9563 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.898, allocations: 120.7 kB / 0.9564 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-05/0.8981, allocations: 123.8 kB / 0.9565 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.367e-05/0.8982, allocations: 184.8 kB / 0.9567 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.66e-05/0.8982, allocations: 181.5 kB / 0.9569 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.81e-05/0.8983, allocations: 183.5 kB / 0.957 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.8987, allocations: 452 kB / 0.9575 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.8987, allocations: 114.2 kB / 0.9576 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.8988, allocations: 104.1 kB / 0.9577 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.311e-05/0.8989, allocations: 180.6 kB / 0.9578 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/0.8989, allocations: 185.5 kB / 0.958 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.712e-05/0.899, allocations: 179.6 kB / 0.9582 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.697e-05/0.8991, allocations: 184.2 kB / 0.9584 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.8993, allocations: 315.8 kB / 0.9587 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.8994, allocations: 204.8 kB / 0.9589 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8995, allocations: 178.5 kB / 0.959 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.8996, allocations: 111.8 kB / 0.9591 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.8997, allocations: 177.4 kB / 0.9593 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.8997, allocations: 102.1 kB / 0.9594 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001729/0.8999, allocations: 187.5 kB / 0.9596 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8999, allocations: 1.094 kB / 0.9596 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002796/0.9002, allocations: 23.47 kB / 0.9596 GB, free: 10.86 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.0004274/0.9006, allocations: 0.8198 MB / 0.9604 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.356e-05/0.9007, allocations: 26.69 kB / 0.9604 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.9008, allocations: 4.062 kB / 0.9604 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.9008, allocations: 1.219 kB / 0.9604 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.9014, allocations: 0.5029 MB / 0.9609 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.9034, allocations: 2.055 MB / 0.9629 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.9038, allocations: 0.7199 MB / 0.9636 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.951e-05/0.9038, allocations: 29.41 kB / 0.9637 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.9039, allocations: 38.31 kB / 0.9637 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9039, allocations: 0 / 0.9637 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.9247, allocations: 3.834 MB / 0.9675 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.692, allocations: 8 kB / 0.9675 GB, free: 6.871 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 & 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)