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.001261/0.001261, 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.001276/0.001277, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 290.9 kB / 290.7 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5073 GB, free: 4.535 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 97.23 kB / 0.6065 GB, free: 24.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1522, allocations: 89.14 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.43/0.5822, allocations: 166.1 MB / 0.8558 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005971/0.5883, allocations: 5.71 MB / 0.8614 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.5884, allocations: 9.125 kB / 0.8614 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.5888, allocations: 96 kB / 0.8615 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.589, allocations: 51.31 kB / 0.8615 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.5892, allocations: 35.45 kB / 0.8615 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.5894, allocations: 213.1 kB / 0.8618 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.5896, allocations: 97.58 kB / 0.8618 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.5898, allocations: 97.14 kB / 0.8619 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.59, allocations: 80.41 kB / 0.862 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.59, allocations: 10.41 kB / 0.862 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.59, allocations: 10.06 kB / 0.862 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.5901, allocations: 23.23 kB / 0.8621 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.5902, allocations: 73.11 kB / 0.8621 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.5904, allocations: 157.8 kB / 0.8623 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5904, allocations: 0 / 0.8623 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5904, allocations: 4 kB / 0.8623 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5904, allocations: 0 / 0.8623 GB, free: 9.523 MB / 0.5919 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.0005811/0.591, allocations: 445.5 kB / 0.8627 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.591, allocations: 7.562 kB / 0.8627 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.5911, allocations: 47.23 kB / 0.8628 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.5911, allocations: 18 kB / 0.8628 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.5914, allocations: 235.7 kB / 0.863 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.5914, allocations: 9.047 kB / 0.863 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.5915, allocations: 16 kB / 0.863 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.5917, allocations: 175 kB / 0.8632 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5917, allocations: 3.938 kB / 0.8632 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.5918, allocations: 6.281 kB / 0.8632 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5918, allocations: 2.5 kB / 0.8632 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.5919, allocations: 79.02 kB / 0.8633 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.5929, allocations: 1.146 MB / 0.8644 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.593, allocations: 177.1 kB / 0.8646 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.593, allocations: 80.14 kB / 0.8646 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.5931, allocations: 81.72 kB / 0.8647 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.5931, allocations: 109.8 kB / 0.8648 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5931, allocations: 0 / 0.8648 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.15e-05/0.5932, allocations: 41.23 kB / 0.8649 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.5933, allocations: 180.4 kB / 0.865 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.5936, allocations: 253.5 kB / 0.8653 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.5936, allocations: 25.7 kB / 0.8653 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.5937, allocations: 134 kB / 0.8654 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/0.5937, allocations: 4 kB / 0.8654 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.5938, allocations: 28.48 kB / 0.8655 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5939, allocations: 324.4 kB / 0.8658 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.594, allocations: 8.906 kB / 0.8658 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.594, allocations: 61.69 kB / 0.8658 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.341e-05/0.5941, allocations: 57 kB / 0.8659 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5941, allocations: 0 / 0.8659 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001582/0.5943, allocations: 91.81 kB / 0.866 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.5943, allocations: 4.719 kB / 0.866 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5943, allocations: 2.031 kB / 0.866 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5943, allocations: 0 / 0.866 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-05/0.5944, allocations: 12.23 kB / 0.866 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.5944, allocations: 2.438 kB / 0.866 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.5945, allocations: 13.19 kB / 0.866 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.5945, allocations: 2.531 kB / 0.866 GB, free: 5.82 MB / 0.5919 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.0001483/0.5946, allocations: 212.1 kB / 0.8662 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.5947, allocations: 126.3 kB / 0.8663 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.47e-05/0.5948, allocations: 120 kB / 0.8665 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-05/0.5949, allocations: 186.8 kB / 0.8666 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.007e-05/0.595, allocations: 176.3 kB / 0.8668 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-05/0.5951, allocations: 184.3 kB / 0.867 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.5954, allocations: 457.9 kB / 0.8674 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/0.5954, allocations: 104.9 kB / 0.8675 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.5955, allocations: 107.2 kB / 0.8676 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.446e-05/0.5956, allocations: 184.2 kB / 0.8678 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/0.5957, allocations: 182.6 kB / 0.868 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.971e-05/0.5958, allocations: 181.8 kB / 0.8681 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.522e-05/0.5958, allocations: 182.4 kB / 0.8683 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.596, allocations: 321.6 kB / 0.8686 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.5962, allocations: 199.5 kB / 0.8688 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5963, allocations: 176.3 kB / 0.869 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.5964, allocations: 115.1 kB / 0.8691 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.5965, allocations: 184.2 kB / 0.8693 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.5965, allocations: 103.9 kB / 0.8694 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001754/0.5967, allocations: 185.1 kB / 0.8695 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5967, allocations: 0 / 0.8695 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002578/0.597, allocations: 19.66 kB / 0.8696 GB, free: 2.125 MB / 0.5919 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.000469/0.5975, allocations: 0.8245 MB / 0.8704 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.788e-05/0.5976, allocations: 28.2 kB / 0.8704 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5976, allocations: 0 / 0.8704 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.5976, allocations: 0 / 0.8704 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.5982, allocations: 0.5 MB / 0.8709 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.6002, allocations: 2.047 MB / 0.8729 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.6006, allocations: 0.7169 MB / 0.8736 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.301e-05/0.6007, allocations: 18.05 kB / 0.8736 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.6007, allocations: 39.45 kB / 0.8736 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2.084e-06/0.6007, allocations: 4 kB / 0.8736 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.6248, allocations: 3.845 MB / 0.8774 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.384, allocations: 8.5 kB / 0.8774 GB, free: 12.38 MB / 0.6075 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)