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.001454/0.001454, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001671/0.001671, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 282.9 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 89.22 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1343, allocations: 86.97 MB / 0.6797 GB, free: 1 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.4365/0.5709, allocations: 163.8 MB / 0.8397 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004213/0.5751, allocations: 5.653 MB / 0.8452 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.5753, allocations: 9.438 kB / 0.8453 GB, free: 14.68 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.0003722/0.5758, allocations: 84.17 kB / 0.8453 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.5759, allocations: 45.38 kB / 0.8454 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.576, allocations: 31.95 kB / 0.8454 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.5763, allocations: 217.2 kB / 0.8456 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.5765, allocations: 91.75 kB / 0.8457 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.5767, allocations: 104.9 kB / 0.8458 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.5768, allocations: 68.48 kB / 0.8459 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.5768, allocations: 13.56 kB / 0.8459 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.236e-05/0.5768, allocations: 11 kB / 0.8459 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.5769, allocations: 29.88 kB / 0.8459 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.577, allocations: 74.17 kB / 0.846 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.5771, allocations: 149.2 kB / 0.8461 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5771, allocations: 2.672 kB / 0.8461 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5771, allocations: 1.375 kB / 0.8461 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5771, allocations: 0 / 0.8461 GB, free: 14.47 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.0004995/0.5776, allocations: 447.5 kB / 0.8466 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.5777, allocations: 9.219 kB / 0.8466 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.5777, allocations: 44.98 kB / 0.8466 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.5778, allocations: 17.09 kB / 0.8466 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.578, allocations: 241.4 kB / 0.8469 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.578, allocations: 9.078 kB / 0.8469 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.578, allocations: 10.53 kB / 0.8469 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.5783, allocations: 177.2 kB / 0.8471 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5783, allocations: 1.344 kB / 0.8471 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5783, allocations: 5.531 kB / 0.8471 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.5783, allocations: 2.438 kB / 0.8471 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.5784, allocations: 72.81 kB / 0.8471 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007325/0.5792, allocations: 1.153 MB / 0.8483 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.557e-05/0.5792, allocations: 166.4 kB / 0.8484 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.5793, allocations: 88.06 kB / 0.8485 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5793, allocations: 80.56 kB / 0.8486 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.5793, allocations: 109.5 kB / 0.8487 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5793, allocations: 4 kB / 0.8487 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.28e-05/0.5794, allocations: 49.98 kB / 0.8487 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.5795, allocations: 178.1 kB / 0.8489 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.5797, allocations: 249.8 kB / 0.8491 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.5798, allocations: 27.7 kB / 0.8492 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.5799, allocations: 133.3 kB / 0.8493 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.5799, allocations: 2.531 kB / 0.8493 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.5799, allocations: 21 kB / 0.8493 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.58, allocations: 331.6 kB / 0.8496 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.58, allocations: 7.906 kB / 0.8496 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.5801, allocations: 64.69 kB / 0.8497 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/0.5801, allocations: 57.72 kB / 0.8498 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5802, allocations: 2.5 kB / 0.8498 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001385/0.5803, allocations: 85.44 kB / 0.8498 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5803, allocations: 7.984 kB / 0.8498 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5803, allocations: 5.281 kB / 0.8499 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5803, allocations: 6.438 kB / 0.8499 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.5804, allocations: 10.78 kB / 0.8499 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.5804, allocations: 1.062 kB / 0.8499 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/0.5805, allocations: 19.59 kB / 0.8499 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.5805, allocations: 4.781 kB / 0.8499 GB, free: 11.04 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 0.0001032/0.5806, allocations: 202.1 kB / 0.8501 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.5807, allocations: 119.6 kB / 0.8502 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.5807, allocations: 131.2 kB / 0.8503 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/0.5808, allocations: 176.3 kB / 0.8505 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-05/0.5808, allocations: 180.2 kB / 0.8507 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.424e-05/0.5809, allocations: 178.8 kB / 0.8508 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.5811, allocations: 452.7 kB / 0.8513 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.5812, allocations: 112.9 kB / 0.8514 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.5812, allocations: 106.5 kB / 0.8515 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.485e-05/0.5812, allocations: 180.2 kB / 0.8517 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.5813, allocations: 176.3 kB / 0.8518 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.273e-05/0.5814, allocations: 178.1 kB / 0.852 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.615e-05/0.5814, allocations: 186.1 kB / 0.8522 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.5815, allocations: 326.5 kB / 0.8525 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.5816, allocations: 201.5 kB / 0.8527 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.5817, allocations: 187 kB / 0.8528 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.5818, allocations: 101 kB / 0.8529 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.5819, allocations: 183.5 kB / 0.8531 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.5819, allocations: 106.3 kB / 0.8532 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001564/0.5821, allocations: 184 kB / 0.8534 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5821, allocations: 0 / 0.8534 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002395/0.5823, allocations: 20.06 kB / 0.8534 GB, free: 7.414 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.0003148/0.5826, allocations: 0.825 MB / 0.8542 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.822e-05/0.5827, allocations: 22.39 kB / 0.8542 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5827, allocations: 0 / 0.8542 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.5827, allocations: 1.312 kB / 0.8542 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.5833, allocations: 0.5095 MB / 0.8547 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.585, allocations: 2.065 MB / 0.8568 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.5852, allocations: 0.7228 MB / 0.8575 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.528e-05/0.5853, allocations: 23.42 kB / 0.8575 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.5853, allocations: 43.48 kB / 0.8575 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5853, allocations: 0 / 0.8575 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7564/1.342, allocations: 3.739 MB / 0.8612 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/1.342, allocations: 209.1 kB / 0.8614 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/3.025, allocations: 7.938 kB / 0.8614 GB, free: 1.547 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)