Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IBPSA_latest_IBPSA_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.001174/0.001174, allocations: 99.62 kB / 16.4 MB, free: 6.484 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.001168/0.001168, allocations: 188 kB / 17.34 MB, free: 5.734 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7405/0.7405, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.86 kB / 0.5679 GB, free: 28.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 77.93 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.4609/0.5832, allocations: 166.1 MB / 0.8062 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00433/0.5875, allocations: 5.708 MB / 0.8118 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.5877, allocations: 9.938 kB / 0.8118 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.5881, allocations: 101.1 kB / 0.8119 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.5883, allocations: 54.83 kB / 0.812 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.5884, allocations: 35.86 kB / 0.812 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.5887, allocations: 214.8 kB / 0.8122 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.5889, allocations: 93.25 kB / 0.8123 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.5891, allocations: 106.4 kB / 0.8124 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.5892, allocations: 77.69 kB / 0.8125 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.5892, allocations: 7.688 kB / 0.8125 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.5893, allocations: 9.594 kB / 0.8125 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.5893, allocations: 26.73 kB / 0.8125 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.5894, allocations: 71.83 kB / 0.8126 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.5896, allocations: 159.8 kB / 0.8127 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5896, allocations: 0 / 0.8127 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5896, allocations: 4 kB / 0.8127 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5896, allocations: 0 / 0.8127 GB, free: 10.56 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.0005378/0.5901, allocations: 448.2 kB / 0.8132 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5902, allocations: 11.19 kB / 0.8132 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.5902, allocations: 45.36 kB / 0.8132 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.5903, allocations: 17.75 kB / 0.8132 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.5906, allocations: 257.7 kB / 0.8135 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.5906, allocations: 8.172 kB / 0.8135 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.5906, allocations: 13.97 kB / 0.8135 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.5908, allocations: 171.8 kB / 0.8137 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5908, allocations: 0 / 0.8137 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.5909, allocations: 5.875 kB / 0.8137 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5909, allocations: 2.906 kB / 0.8137 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.591, allocations: 75.25 kB / 0.8137 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.5918, allocations: 1.153 MB / 0.8149 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.5918, allocations: 169.1 kB / 0.815 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.5919, allocations: 80.14 kB / 0.8151 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.5919, allocations: 89.12 kB / 0.8152 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.5919, allocations: 105.8 kB / 0.8153 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.592, allocations: 0 / 0.8153 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.448e-05/0.592, allocations: 46.03 kB / 0.8153 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.5921, allocations: 183.5 kB / 0.8155 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.5923, allocations: 251 kB / 0.8157 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.5924, allocations: 29.64 kB / 0.8158 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.5924, allocations: 130.5 kB / 0.8159 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.5924, allocations: 0 / 0.8159 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.5925, allocations: 24.44 kB / 0.8159 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.5926, allocations: 324.8 kB / 0.8162 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.5926, allocations: 7.984 kB / 0.8162 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.354e-05/0.5927, allocations: 73.06 kB / 0.8163 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.5927, allocations: 52.45 kB / 0.8164 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5927, allocations: 2.125 kB / 0.8164 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001437/0.5929, allocations: 95.72 kB / 0.8164 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5929, allocations: 4.344 kB / 0.8165 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5929, allocations: 0 / 0.8165 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.5929, allocations: 3 kB / 0.8165 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.593, allocations: 7.781 kB / 0.8165 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.593, allocations: 160 / 0.8165 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.5931, allocations: 27.25 kB / 0.8165 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5931, allocations: 5.844 kB / 0.8165 GB, free: 7.215 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.0001104/0.5932, allocations: 199.3 kB / 0.8167 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.5933, allocations: 128.1 kB / 0.8168 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.5934, allocations: 116.8 kB / 0.8169 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.342e-05/0.5934, allocations: 187.8 kB / 0.8171 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.258e-05/0.5935, allocations: 190.3 kB / 0.8173 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.924e-05/0.5935, allocations: 176.3 kB / 0.8174 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.5938, allocations: 454.8 kB / 0.8179 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/0.5938, allocations: 104.9 kB / 0.818 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.5939, allocations: 107.6 kB / 0.8181 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.261e-05/0.5939, allocations: 184.2 kB / 0.8183 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.594, allocations: 177.1 kB / 0.8184 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.062e-05/0.594, allocations: 183.5 kB / 0.8186 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.525e-05/0.5941, allocations: 183.9 kB / 0.8188 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.5942, allocations: 317.2 kB / 0.8191 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/0.5943, allocations: 202.2 kB / 0.8193 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.5944, allocations: 183.2 kB / 0.8194 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.5945, allocations: 109.6 kB / 0.8196 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.5946, allocations: 182.8 kB / 0.8197 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.5946, allocations: 105 kB / 0.8198 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001416/0.5948, allocations: 183.9 kB / 0.82 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5948, allocations: 2.312 kB / 0.82 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002476/0.595, allocations: 22.27 kB / 0.82 GB, free: 3.594 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.0003283/0.5954, allocations: 0.8305 MB / 0.8208 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.5954, allocations: 27.52 kB / 0.8209 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5955, allocations: 0 / 0.8209 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.5955, allocations: 0 / 0.8209 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.596, allocations: 0.501 MB / 0.8214 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.5978, allocations: 2.051 MB / 0.8234 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.5981, allocations: 0.7172 MB / 0.8241 GB, free: 8 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.498e-05/0.5982, allocations: 22.58 kB / 0.8241 GB, free: 0 / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.5983, allocations: 42.19 kB / 0.8241 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.5983, allocations: 0 / 0.8241 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.6178, allocations: 3.867 MB / 0.8279 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/8.176, allocations: 6.094 kB / 0.8279 GB, free: 14.02 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)