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.004308/0.004308, allocations: 105.3 kB / 15.74 MB, free: 6 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.001036/0.001036, allocations: 184.1 kB / 16.67 MB, free: 5.926 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 281.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 87.86 kB / 0.6809 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3821, allocations: 86.98 MB / 0.7659 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1653/0.5474, allocations: 166.1 MB / 0.9281 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.5529, allocations: 5.711 MB / 0.9337 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.5532, allocations: 8 kB / 0.9337 GB, free: 7.508 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.0003956/0.5536, allocations: 99.31 kB / 0.9338 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.5539, allocations: 55.61 kB / 0.9338 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.554, allocations: 35.89 kB / 0.9339 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.5543, allocations: 211.2 kB / 0.9341 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.5545, allocations: 90.62 kB / 0.9341 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.5548, allocations: 107.6 kB / 0.9342 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.5549, allocations: 67.64 kB / 0.9343 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.5549, allocations: 12 kB / 0.9343 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.555, allocations: 8 kB / 0.9343 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.555, allocations: 31.86 kB / 0.9344 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.5551, allocations: 67.67 kB / 0.9344 GB, free: 6.734 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.5553, allocations: 168.5 kB / 0.9346 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5553, allocations: 0 / 0.9346 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5553, allocations: 0 / 0.9346 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5553, allocations: 4 kB / 0.9346 GB, free: 6.57 MB / 0.7012 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.0005863/0.5559, allocations: 446.8 kB / 0.935 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.556, allocations: 8.031 kB / 0.935 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.556, allocations: 38.56 kB / 0.9351 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.5561, allocations: 23.84 kB / 0.9351 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.5564, allocations: 261.5 kB / 0.9353 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.5564, allocations: 8.234 kB / 0.9353 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.5564, allocations: 12 kB / 0.9354 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.5567, allocations: 168.4 kB / 0.9355 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5567, allocations: 4 kB / 0.9355 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.5567, allocations: 8 kB / 0.9355 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5567, allocations: 4 kB / 0.9355 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.5568, allocations: 67.83 kB / 0.9356 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008364/0.5577, allocations: 1.156 MB / 0.9367 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.5578, allocations: 165.1 kB / 0.9369 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.5578, allocations: 95.95 kB / 0.937 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.5578, allocations: 75.28 kB / 0.937 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.5579, allocations: 113.8 kB / 0.9371 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 2.895e-06/0.5579, allocations: 3.984 kB / 0.9372 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 7.634e-05/0.558, allocations: 45.59 kB / 0.9372 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.558, allocations: 178.1 kB / 0.9374 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.5583, allocations: 253 kB / 0.9376 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.5583, allocations: 33.69 kB / 0.9376 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.5584, allocations: 128 kB / 0.9378 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.5584, allocations: 0 / 0.9378 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.5584, allocations: 21.72 kB / 0.9378 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5585, allocations: 330.8 kB / 0.9381 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.5586, allocations: 7.938 kB / 0.9381 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.5586, allocations: 71.72 kB / 0.9382 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.5587, allocations: 52.22 kB / 0.9382 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5587, allocations: 0 / 0.9382 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001469/0.5588, allocations: 89.36 kB / 0.9383 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5589, allocations: 8 kB / 0.9383 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5589, allocations: 0 / 0.9383 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5589, allocations: 4 kB / 0.9383 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.5589, allocations: 8 kB / 0.9383 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.559, allocations: 7.984 kB / 0.9383 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.559, allocations: 12.05 kB / 0.9383 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.5591, allocations: 8 kB / 0.9384 GB, free: 2.379 MB / 0.7012 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.0001087/0.5592, allocations: 205 kB / 0.9386 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.5593, allocations: 128.9 kB / 0.9387 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.5593, allocations: 117.8 kB / 0.9388 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-05/0.5594, allocations: 184.2 kB / 0.939 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-05/0.5594, allocations: 184.3 kB / 0.9391 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.083e-05/0.5595, allocations: 188.2 kB / 0.9393 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.5597, allocations: 453.1 kB / 0.9397 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/0.5598, allocations: 101 kB / 0.9398 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.5598, allocations: 104.9 kB / 0.9399 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-05/0.5599, allocations: 180.3 kB / 0.9401 GB, free: 460 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.5599, allocations: 184.2 kB / 0.9403 GB, free: 268 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.183e-05/0.56, allocations: 180.4 kB / 0.9405 GB, free: 80 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.027e-05/0.5601, allocations: 180.3 kB / 0.9406 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.5602, allocations: 323.6 kB / 0.9409 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.5603, allocations: 205.9 kB / 0.9411 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.5604, allocations: 180.3 kB / 0.9413 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5605, allocations: 101 kB / 0.9414 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.5606, allocations: 188.1 kB / 0.9416 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.5606, allocations: 105 kB / 0.9417 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001658/0.5608, allocations: 180.5 kB / 0.9419 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5608, allocations: 0 / 0.9419 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002448/0.5611, allocations: 24 kB / 0.9419 GB, free: 14.54 MB / 0.7169 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.0003707/0.5614, allocations: 0.832 MB / 0.9427 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.148e-05/0.5615, allocations: 24.17 kB / 0.9427 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5615, allocations: 4.062 kB / 0.9427 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.5615, allocations: 0 / 0.9427 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.5621, allocations: 0.5102 MB / 0.9432 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.5639, allocations: 2.045 MB / 0.9452 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.5642, allocations: 0.7201 MB / 0.9459 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.87e-05/0.5643, allocations: 25.58 kB / 0.9459 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.5643, allocations: 39.42 kB / 0.946 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.5643, allocations: 0 / 0.946 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.583, allocations: 3.881 MB / 0.9498 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.927, allocations: 7.938 kB / 0.9498 GB, free: 6.418 MB / 0.7169 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)