Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_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.001022/0.001023, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001059/0.001059, allocations: 197 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 70.11 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2363, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6028/0.8392, allocations: 163.9 MB / 0.943 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004967/0.8442, allocations: 5.651 MB / 0.9485 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.8444, allocations: 8.281 kB / 0.9485 GB, free: 5.898 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0004684/0.8449, allocations: 73.53 kB / 0.9486 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.8451, allocations: 58.16 kB / 0.9486 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.8453, allocations: 28.69 kB / 0.9487 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.8455, allocations: 215.9 kB / 0.9489 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.8458, allocations: 95.12 kB / 0.949 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.846, allocations: 101.6 kB / 0.9491 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.8461, allocations: 76.83 kB / 0.9491 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.8462, allocations: 8.75 kB / 0.9491 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.8462, allocations: 9.844 kB / 0.9491 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.8462, allocations: 28.38 kB / 0.9492 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.8463, allocations: 69.03 kB / 0.9492 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.8465, allocations: 156.7 kB / 0.9494 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8466, allocations: 0 / 0.9494 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8466, allocations: 4 kB / 0.9494 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.8466, allocations: 0 / 0.9494 GB, free: 5.855 MB / 0.7325 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.0008722/0.8474, allocations: 441.7 kB / 0.9498 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.8475, allocations: 11.81 kB / 0.9498 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.505e-05/0.8476, allocations: 46.39 kB / 0.9499 GB, free: 21.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.8476, allocations: 15.69 kB / 0.9499 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.8479, allocations: 243 kB / 0.9501 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.8479, allocations: 12.86 kB / 0.9501 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.8479, allocations: 13.61 kB / 0.9501 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.8482, allocations: 172.3 kB / 0.9503 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8482, allocations: 0 / 0.9503 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.8482, allocations: 5.156 kB / 0.9503 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.8482, allocations: 3.406 kB / 0.9503 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.8483, allocations: 75.22 kB / 0.9504 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008766/0.8492, allocations: 1.153 MB / 0.9515 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.312e-05/0.8493, allocations: 169.1 kB / 0.9517 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.8493, allocations: 83.05 kB / 0.9517 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.8494, allocations: 79.73 kB / 0.9518 GB, free: 19.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.8494, allocations: 113.8 kB / 0.9519 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.8494, allocations: 0 / 0.9519 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.718e-05/0.8495, allocations: 43.39 kB / 0.952 GB, free: 19.58 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.8496, allocations: 183 kB / 0.9521 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.8498, allocations: 249.7 kB / 0.9524 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.8499, allocations: 33.27 kB / 0.9524 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.85, allocations: 129.4 kB / 0.9525 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.85, allocations: 4 kB / 0.9525 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.85, allocations: 20.94 kB / 0.9526 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.8501, allocations: 327.8 kB / 0.9529 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.8501, allocations: 10.7 kB / 0.9529 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.8502, allocations: 63.59 kB / 0.9529 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/0.8502, allocations: 56.12 kB / 0.953 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8503, allocations: 0 / 0.953 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001505/0.8504, allocations: 90.5 kB / 0.9531 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.8504, allocations: 10.25 kB / 0.9531 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8504, allocations: 1.078 kB / 0.9531 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8505, allocations: 0 / 0.9531 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.8505, allocations: 16.14 kB / 0.9531 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8505, allocations: 0.8906 kB / 0.9531 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.8506, allocations: 13.56 kB / 0.9531 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.8506, allocations: 3.438 kB / 0.9531 GB, free: 18.65 MB / 0.7481 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.0001511/0.8508, allocations: 202.9 kB / 0.9533 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.8509, allocations: 134.9 kB / 0.9535 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.8509, allocations: 117.3 kB / 0.9536 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.524e-05/0.851, allocations: 182.1 kB / 0.9537 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.868e-05/0.8511, allocations: 183.4 kB / 0.9539 GB, free: 17.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-05/0.8511, allocations: 179.7 kB / 0.9541 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.8514, allocations: 458.3 kB / 0.9545 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/0.8515, allocations: 105.6 kB / 0.9546 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.8515, allocations: 107.1 kB / 0.9547 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-05/0.8516, allocations: 176.8 kB / 0.9549 GB, free: 16.85 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.8516, allocations: 180.5 kB / 0.9551 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.384e-05/0.8517, allocations: 184 kB / 0.9552 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-05/0.8518, allocations: 187.2 kB / 0.9554 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.8519, allocations: 319.3 kB / 0.9557 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.852, allocations: 199.2 kB / 0.9559 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.8521, allocations: 183.4 kB / 0.9561 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.8522, allocations: 107.1 kB / 0.9562 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.8523, allocations: 186 kB / 0.9564 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.8523, allocations: 104.8 kB / 0.9565 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001654/0.8525, allocations: 184 kB / 0.9566 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8525, allocations: 0 / 0.9566 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002555/0.8528, allocations: 22.61 kB / 0.9567 GB, free: 15.13 MB / 0.7481 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.0003493/0.8531, allocations: 0.8236 MB / 0.9575 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.211e-05/0.8532, allocations: 24.17 kB / 0.9575 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8532, allocations: 1.344 kB / 0.9575 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.8532, allocations: 352 / 0.9575 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.8538, allocations: 0.5038 MB / 0.958 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.8558, allocations: 2.078 MB / 0.96 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.8561, allocations: 0.7236 MB / 0.9607 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.017e-05/0.8562, allocations: 19.31 kB / 0.9607 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.8562, allocations: 38.83 kB / 0.9608 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.8562, allocations: 0.5 kB / 0.9608 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.898, allocations: 3.739 MB / 0.9644 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.8983, allocations: 190.5 kB / 0.9646 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.74, allocations: 4.438 kB / 0.9646 GB, free: 10.99 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)