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.005187/0.005187, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001262/0.001262, allocations: 201.3 kB / 16.68 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 293.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.982/0.982, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 104.3 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3761, allocations: 86.96 MB / 0.7659 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1847/0.5609, allocations: 166.1 MB / 0.9281 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005942/0.5669, allocations: 5.704 MB / 0.9337 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.567, allocations: 4 kB / 0.9337 GB, free: 7.504 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.0003541/0.5674, allocations: 95.31 kB / 0.9338 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.5676, allocations: 63.59 kB / 0.9338 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.5677, allocations: 31.91 kB / 0.9339 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.568, allocations: 215.1 kB / 0.9341 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.5682, allocations: 98.56 kB / 0.9342 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.5684, allocations: 99.64 kB / 0.9342 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.5686, allocations: 71.69 kB / 0.9343 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.5686, allocations: 8 kB / 0.9343 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.51e-05/0.5686, allocations: 8 kB / 0.9343 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.5687, allocations: 35.8 kB / 0.9344 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.5688, allocations: 67.67 kB / 0.9344 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.569, allocations: 160.6 kB / 0.9346 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.569, allocations: 0 / 0.9346 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.216e-06/0.569, allocations: 0 / 0.9346 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5e-06/0.569, allocations: 3.938 kB / 0.9346 GB, free: 6.566 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.0005748/0.5696, allocations: 446.8 kB / 0.935 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5696, allocations: 12.03 kB / 0.935 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/0.5697, allocations: 46.55 kB / 0.9351 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.5698, allocations: 15.91 kB / 0.9351 GB, free: 6 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.5701, allocations: 261.3 kB / 0.9353 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5701, allocations: 8.234 kB / 0.9353 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.5701, allocations: 12 kB / 0.9354 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.5704, allocations: 168.7 kB / 0.9355 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5704, allocations: 4 kB / 0.9355 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.5704, allocations: 4 kB / 0.9355 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5704, allocations: 4 kB / 0.9355 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.5706, allocations: 75.83 kB / 0.9356 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.5715, allocations: 1.145 MB / 0.9367 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.5716, allocations: 173.1 kB / 0.9369 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.5717, allocations: 92.08 kB / 0.937 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.5717, allocations: 75.28 kB / 0.937 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.5717, allocations: 105.8 kB / 0.9371 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 3.116e-06/0.5718, allocations: 3.984 kB / 0.9371 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 7.961e-05/0.5718, allocations: 41.61 kB / 0.9372 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5719, allocations: 186.1 kB / 0.9374 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.5722, allocations: 249 kB / 0.9376 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.5722, allocations: 29.7 kB / 0.9376 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5724, allocations: 135.9 kB / 0.9378 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.5724, allocations: 4.078 kB / 0.9378 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.5724, allocations: 17.72 kB / 0.9378 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5726, allocations: 326.8 kB / 0.9381 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.5726, allocations: 11.98 kB / 0.9381 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.5727, allocations: 67.84 kB / 0.9382 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.5727, allocations: 52.23 kB / 0.9382 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5727, allocations: 4 kB / 0.9382 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001628/0.5729, allocations: 101.3 kB / 0.9383 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5729, allocations: 7.938 kB / 0.9383 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.5729, allocations: 4 kB / 0.9383 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.573, allocations: 0 / 0.9383 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.573, allocations: 8 kB / 0.9383 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.573, allocations: 0 / 0.9383 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.5731, allocations: 15.89 kB / 0.9383 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.5731, allocations: 4.156 kB / 0.9384 GB, free: 2.371 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.0001377/0.5733, allocations: 209 kB / 0.9386 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.5733, allocations: 120.8 kB / 0.9387 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/0.5734, allocations: 121.8 kB / 0.9388 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.329e-05/0.5735, allocations: 184.2 kB / 0.939 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.596e-05/0.5736, allocations: 180.2 kB / 0.9391 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.571e-05/0.5737, allocations: 188.2 kB / 0.9393 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.574, allocations: 453.1 kB / 0.9397 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.393e-05/0.574, allocations: 109 kB / 0.9398 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.5741, allocations: 104.9 kB / 0.9399 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-05/0.5742, allocations: 176.3 kB / 0.9401 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.5742, allocations: 184.2 kB / 0.9403 GB, free: 260 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.541e-05/0.5743, allocations: 184.5 kB / 0.9405 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.061e-05/0.5744, allocations: 188.2 kB / 0.9406 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.5746, allocations: 311.7 kB / 0.9409 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.5747, allocations: 209.9 kB / 0.9411 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/0.5748, allocations: 176.3 kB / 0.9413 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.5749, allocations: 101 kB / 0.9414 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.575, allocations: 188.2 kB / 0.9416 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.5751, allocations: 101 kB / 0.9417 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001861/0.5753, allocations: 180.5 kB / 0.9419 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5753, allocations: 4 kB / 0.9419 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002431/0.5755, allocations: 24 kB / 0.9419 GB, free: 14.53 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.000469/0.576, allocations: 0.832 MB / 0.9427 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.811e-05/0.5761, allocations: 15.94 kB / 0.9427 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5761, allocations: 8.312 kB / 0.9427 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.5761, allocations: 4 kB / 0.9427 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/0.5767, allocations: 0.5039 MB / 0.9432 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.5789, allocations: 2.037 MB / 0.9452 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.5792, allocations: 0.724 MB / 0.9459 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.89e-05/0.5793, allocations: 29.52 kB / 0.9459 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.5794, allocations: 43.42 kB / 0.946 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.5794, allocations: 0 / 0.946 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.6021, allocations: 3.878 MB / 0.9498 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.293, allocations: 15.94 kB / 0.9498 GB, free: 6.41 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)