Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_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.006322/0.006322, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.001454/0.001454, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7107/0.7107, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.75 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.148, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.5152/0.6633, allocations: 166.1 MB / 0.8214 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005239/0.6686, allocations: 5.707 MB / 0.8269 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.6688, allocations: 9.25 kB / 0.827 GB, free: 2.469 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/IDEAS 3.0.0/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/IDEAS 3.0.0/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.0004172/0.6692, allocations: 91.38 kB / 0.827 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.6694, allocations: 58.59 kB / 0.8271 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.6695, allocations: 42.41 kB / 0.8271 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000265/0.6698, allocations: 209.1 kB / 0.8273 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.67, allocations: 93.03 kB / 0.8274 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.6702, allocations: 102.8 kB / 0.8275 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.6703, allocations: 70.27 kB / 0.8276 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.6703, allocations: 9.688 kB / 0.8276 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.6704, allocations: 11.88 kB / 0.8276 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.6704, allocations: 28.27 kB / 0.8276 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.6705, allocations: 72.34 kB / 0.8277 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.6707, allocations: 162.3 kB / 0.8279 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6708, allocations: 1.031 kB / 0.8279 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6708, allocations: 0 / 0.8279 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6708, allocations: 1.062 kB / 0.8279 GB, free: 2.457 MB / 0.6387 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.0005039/0.6713, allocations: 448.3 kB / 0.8283 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6713, allocations: 10.38 kB / 0.8283 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.6714, allocations: 43.97 kB / 0.8283 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.6714, allocations: 25.64 kB / 0.8284 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.6717, allocations: 251.7 kB / 0.8286 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.6717, allocations: 12.08 kB / 0.8286 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.6717, allocations: 12.16 kB / 0.8286 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.672, allocations: 175.2 kB / 0.8288 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.672, allocations: 3.062 kB / 0.8288 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.672, allocations: 5.953 kB / 0.8288 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.672, allocations: 4.094 kB / 0.8288 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.6721, allocations: 68.8 kB / 0.8289 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.673, allocations: 1.155 MB / 0.83 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.6731, allocations: 169.7 kB / 0.8302 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.6731, allocations: 81.11 kB / 0.8302 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.6731, allocations: 75.98 kB / 0.8303 GB, free: 16.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.6732, allocations: 111.6 kB / 0.8304 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.6732, allocations: 1.938 kB / 0.8304 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.655e-05/0.6733, allocations: 47.94 kB / 0.8305 GB, free: 16.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.6733, allocations: 183.5 kB / 0.8306 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.6736, allocations: 249.6 kB / 0.8309 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.6736, allocations: 25.7 kB / 0.8309 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.6737, allocations: 133.2 kB / 0.831 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/0.6737, allocations: 4.328 kB / 0.831 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.6738, allocations: 21.11 kB / 0.8311 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.6739, allocations: 326.6 kB / 0.8314 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.6739, allocations: 11.38 kB / 0.8314 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-05/0.6739, allocations: 70.8 kB / 0.8314 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.674, allocations: 49.8 kB / 0.8315 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.674, allocations: 0 / 0.8315 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001448/0.6742, allocations: 88.19 kB / 0.8316 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6742, allocations: 9.672 kB / 0.8316 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6742, allocations: 2.156 kB / 0.8316 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.6742, allocations: 2.125 kB / 0.8316 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.6743, allocations: 12.95 kB / 0.8316 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.6743, allocations: 2.109 kB / 0.8316 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.6744, allocations: 20.27 kB / 0.8316 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.6744, allocations: 2.406 kB / 0.8316 GB, free: 15.27 MB / 0.6544 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.0001101/0.6745, allocations: 207.6 kB / 0.8318 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.6746, allocations: 125.9 kB / 0.8319 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.6746, allocations: 120.1 kB / 0.8321 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/0.6747, allocations: 185.3 kB / 0.8322 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/0.6747, allocations: 179.1 kB / 0.8324 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-05/0.6748, allocations: 186.7 kB / 0.8326 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.675, allocations: 453.2 kB / 0.833 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/0.6751, allocations: 103.4 kB / 0.8331 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.6751, allocations: 106.7 kB / 0.8332 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.519e-05/0.6752, allocations: 185.5 kB / 0.8334 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.6752, allocations: 188.3 kB / 0.8336 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.954e-05/0.6753, allocations: 182.1 kB / 0.8337 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-05/0.6753, allocations: 183.4 kB / 0.8339 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.6755, allocations: 324.1 kB / 0.8342 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.6756, allocations: 198.3 kB / 0.8344 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.6756, allocations: 181.4 kB / 0.8346 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.6757, allocations: 109.4 kB / 0.8347 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.6758, allocations: 181.9 kB / 0.8349 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.6758, allocations: 104.9 kB / 0.835 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000165/0.676, allocations: 184.7 kB / 0.8352 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.676, allocations: 0.75 kB / 0.8352 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002521/0.6763, allocations: 19.81 kB / 0.8352 GB, free: 11.76 MB / 0.6544 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.0003326/0.6766, allocations: 0.8249 MB / 0.836 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.038e-05/0.6767, allocations: 20.92 kB / 0.836 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6767, allocations: 0.875 kB / 0.836 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.6767, allocations: 2.172 kB / 0.836 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.6773, allocations: 0.5032 MB / 0.8365 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.6791, allocations: 2.044 MB / 0.8385 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.6793, allocations: 0.7185 MB / 0.8392 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.229e-05/0.6794, allocations: 28.55 kB / 0.8392 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.6795, allocations: 40.39 kB / 0.8393 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6795, allocations: 0 / 0.8393 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.6974, allocations: 3.874 MB / 0.843 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.808, allocations: 3.391 kB / 0.843 GB, free: 7.93 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)