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.00158/0.00158, allocations: 108 kB / 15.61 MB, free: 152 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.001799/0.001799, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 286.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8546/0.8546, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 98.31 kB / 0.5953 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1163, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.3725/0.4889, allocations: 166.1 MB / 0.8425 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.4928, allocations: 5.707 MB / 0.848 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4929, allocations: 7.938 kB / 0.848 GB, free: 15.06 MB / 0.5762 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.0003133/0.4933, allocations: 96.47 kB / 0.8481 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.4934, allocations: 61.67 kB / 0.8482 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.725e-05/0.4935, allocations: 29.72 kB / 0.8482 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.4938, allocations: 219.3 kB / 0.8484 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.494, allocations: 84.08 kB / 0.8485 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.4941, allocations: 101.5 kB / 0.8486 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.4943, allocations: 77.75 kB / 0.8487 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.4943, allocations: 9.625 kB / 0.8487 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.4943, allocations: 9.625 kB / 0.8487 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.4944, allocations: 30.73 kB / 0.8487 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.4944, allocations: 68.36 kB / 0.8488 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.4946, allocations: 158.1 kB / 0.849 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.4946, allocations: 1.375 kB / 0.849 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4946, allocations: 0 / 0.849 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.4946, allocations: 0 / 0.849 GB, free: 14.46 MB / 0.5762 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.0004515/0.4951, allocations: 445.8 kB / 0.8494 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.4951, allocations: 9.594 kB / 0.8494 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.4951, allocations: 46.33 kB / 0.8494 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.4952, allocations: 16.44 kB / 0.8494 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4954, allocations: 242.1 kB / 0.8497 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4954, allocations: 9.109 kB / 0.8497 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.4954, allocations: 8.656 kB / 0.8497 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.4956, allocations: 174.6 kB / 0.8499 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4957, allocations: 1.156 kB / 0.8499 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4957, allocations: 6.562 kB / 0.8499 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4957, allocations: 6.484 kB / 0.8499 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.4958, allocations: 71 kB / 0.8499 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/0.4965, allocations: 1.154 MB / 0.8511 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.4965, allocations: 170.9 kB / 0.8512 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.4966, allocations: 80.64 kB / 0.8513 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.4966, allocations: 79.22 kB / 0.8514 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.4966, allocations: 115.5 kB / 0.8515 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4967, allocations: 4 kB / 0.8515 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.674e-05/0.4967, allocations: 41.89 kB / 0.8515 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.4968, allocations: 179.4 kB / 0.8517 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.497, allocations: 250.4 kB / 0.8519 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.497, allocations: 29.64 kB / 0.852 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.4971, allocations: 142 kB / 0.8521 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.4971, allocations: 0 / 0.8521 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.4971, allocations: 19.72 kB / 0.8521 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.4972, allocations: 327 kB / 0.8524 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.4973, allocations: 13.27 kB / 0.8525 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-05/0.4973, allocations: 68.41 kB / 0.8525 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.4974, allocations: 51.36 kB / 0.8526 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4974, allocations: 0 / 0.8526 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001273/0.4975, allocations: 91.7 kB / 0.8527 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.4975, allocations: 5.75 kB / 0.8527 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4975, allocations: 6.562 kB / 0.8527 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.4975, allocations: 0 / 0.8527 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.4976, allocations: 11.91 kB / 0.8527 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4976, allocations: 0 / 0.8527 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.4977, allocations: 13.22 kB / 0.8527 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.4977, allocations: 2.688 kB / 0.8527 GB, free: 10.75 MB / 0.5762 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 9.408e-05/0.4978, allocations: 208.4 kB / 0.8529 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.4979, allocations: 124.5 kB / 0.853 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.539e-05/0.4979, allocations: 125.5 kB / 0.8531 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/0.498, allocations: 180.2 kB / 0.8533 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-05/0.498, allocations: 182.2 kB / 0.8535 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.235e-05/0.498, allocations: 180.4 kB / 0.8537 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.4983, allocations: 454.5 kB / 0.8541 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/0.4983, allocations: 112.9 kB / 0.8542 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.4983, allocations: 104.9 kB / 0.8543 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-05/0.4984, allocations: 182.9 kB / 0.8545 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.4984, allocations: 176.3 kB / 0.8546 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.132e-05/0.4985, allocations: 182.9 kB / 0.8548 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.095e-05/0.4985, allocations: 176.3 kB / 0.855 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.4986, allocations: 327.9 kB / 0.8553 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.4987, allocations: 203.1 kB / 0.8555 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.4988, allocations: 184.2 kB / 0.8557 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.4989, allocations: 103.7 kB / 0.8558 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.4989, allocations: 184.2 kB / 0.8559 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4989, allocations: 103.6 kB / 0.856 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001407/0.4991, allocations: 185 kB / 0.8562 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.4991, allocations: 0 / 0.8562 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002239/0.4993, allocations: 19.72 kB / 0.8562 GB, free: 7.055 MB / 0.5762 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.0002835/0.4996, allocations: 0.831 MB / 0.857 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.863e-05/0.4997, allocations: 21.03 kB / 0.8571 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4997, allocations: 3.938 kB / 0.8571 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4997, allocations: 0 / 0.8571 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.5002, allocations: 0.4986 MB / 0.8576 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.5017, allocations: 2.04 MB / 0.8595 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.5019, allocations: 0.7224 MB / 0.8602 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.28e-05/0.502, allocations: 23.94 kB / 0.8603 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.5021, allocations: 39.27 kB / 0.8603 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5021, allocations: 0 / 0.8603 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3214/0.8235, allocations: 3.842 MB / 0.8641 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/8.306, allocations: 6.438 kB / 0.8641 GB, free: 1.316 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)